installation
- apt-get install ldapscripts
config dateien
/etc/ldapscripts/ldapscripts.conf
...
SUFFIX="dc=linuggs,dc=de" # Global suffix
GSUFFIX="ou=groups" # Groups ou (just under $SUFFIX)
USUFFIX="ou=users" # Users ou (just under $SUFFIX)
MSUFFIX="ou=hosts" # Machines ou (just under $SUFFIX)
....
BINDDN="cn=admin,dc=linuggs,dc=de"
...
/etc/ldapscripts/ldapscripts.passwd
- echo -n "sysadm" > /etc/ldapscripts/ldapscripts.passwd
ldapaddgroup
Successfully added group it to LDAP
ldapadduser
Successfully added user thomas to LDAP
Successfully set password for user thomas
Successfully added user tina to LDAP
Successfully set password for user tina
ldapsetpasswd
Changing password for user uid=thomas,ou=users,dc=weyon,dc=de
New Password:
Retype New Password:
Successfully set password for user uid=thomas,ou=users,dc=weyon,dc=de