www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

LDAP Admin user bind issue

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
Xenu



Joined: 28 Oct 2008
Posts: 4
Location: London UK

PostPosted: Tue Oct 28, 2008 4:36 pm    Post subject: LDAP Admin user bind issue Reply with quote

Hi,

I'm trying to log into my Zeroshell's LDAP server using phpldapadmin.
I need to alter the users to include an attribute our PGP server uses.
I was hoping to use just one LDAP server for the entire company but our PGP server requires me to add an inetorgperson attribute called EmployeeType to each account.

So, I tried to be able to alter the user attributes by using phpldapadmin but it rejects my username and password when using

uid=admin,ou=People,dc=mycompany,dc=co,dc=uk

as my login name and i know this is the correct DN.

I AM able to bind to the LDAP server anonymously, but thats read only so cannot alter the attributes of users.

Is the password for the admin user in the web interface the same as the admin users LDAP account password ? Is using phpldapadmin even possible (any tried it?)

If not, is there any way I can alter user attributes to include an attribute ?


Many thanks and keep up the good work, Zeroshell rocks - WPA2 Enterprise in 10 minutes!


Last edited by Xenu on Tue Oct 28, 2008 4:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
vmv4



Joined: 21 Sep 2007
Posts: 28

PostPosted: Tue Oct 28, 2008 4:58 pm    Post subject: Reply with quote

It is possible to connect using "cn=Manager,dc=mycompany,dc=co,dc=uk" and a password of admin user using LDAP browser. Not sure about phpLdapAdmin.

Last edited by vmv4 on Tue Oct 28, 2008 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Xenu



Joined: 28 Oct 2008
Posts: 4
Location: London UK

PostPosted: Tue Oct 28, 2008 5:01 pm    Post subject: Reply with quote

nope it rejects that as well... Sad

when i anonymously bind to LDAP with phpldapadmin and look at the admin user, it reports the DN correctly as

Distinguished Name: uid=admin,ou=People,dc=mycompany,dc=co,dc=uk



cheers
Back to top
View user's profile Send private message
vmv4



Joined: 21 Sep 2007
Posts: 28

PostPosted: Tue Oct 28, 2008 5:05 pm    Post subject: Reply with quote

ldapadmin works for me with provided above credentials.

Hope it helps
Back to top
View user's profile Send private message
Xenu



Joined: 28 Oct 2008
Posts: 4
Location: London UK

PostPosted: Tue Oct 28, 2008 5:09 pm    Post subject: Reply with quote

yes!!

that works for me thanks a million mate Very Happy

Yep i've added the attribute to the user and PGP works fine...

I cant thank you enough
Back to top
View user's profile Send private message
vmv4



Joined: 21 Sep 2007
Posts: 28

PostPosted: Tue Oct 28, 2008 5:26 pm    Post subject: Reply with quote

Glad to hear that. I'm not sure that your changes are persistent. Not whether they disappear after a reboot?
Best regards
Back to top
View user's profile Send private message
Xenu



Joined: 28 Oct 2008
Posts: 4
Location: London UK

PostPosted: Tue Oct 28, 2008 6:08 pm    Post subject: Reply with quote

I have just checked and rebooted the server, I can confirm the changes to LDAP are persistent.

Thank you again
Back to top
View user's profile Send private message
marcus@richters-it.de



Joined: 07 Mar 2012
Posts: 28

PostPosted: Mon Oct 12, 2015 7:17 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message
marcus@richters-it.de



Joined: 07 Mar 2012
Posts: 28

PostPosted: Mon Oct 12, 2015 7:21 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group