Using useradd for LDAP user account!
21 Jan
2005
21 Jan
'05
18:47
I read the useradd man page and saw the '-D' argument for binding to LDAP. I am trying to use it to add user accounts to our LDAP server but it doesn't do anything! The man page states that if you use '-D' it should ask for the LDAP password and it doesn't, it creates the account locally on the server (not in LDAP). Maybe I am using the incorrect settings, here is the actual command that I used: useradd -D cn=admin,dc=example,dc=edu \ -c "Some User" -d /home/students/username \ -g students -s /bin/bash username Thanks in advance.
7304
Age (days ago)
7304
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kennie J. Cruz Gutierrez