LDAP

From Antiflux Wiki

Revision as of 01:05, 11 January 2007 by Grant (Talk | contribs)
Jump to: navigation, search

Find a user by username

ldapsearch -x uid=«username»

Add a record

ldapadd -xW -D cn=admin,dc=antiflux,dc=org < «file.ldif»

Copy user from /etc/passwd to LDAP

sudo ldif-from-password «username» | ldapadd -xW -D cn=admin,dc=antiflux,dc=org

Personal tools