Ldapscripts handling: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=installation= apt-get install ldapscripts =config dateien= ==/etc/ldapscripts/ldapscripts.conf== <pre> ... SUFFIX="dc=linuggs,dc=de" # Global suffix GSUFFIX="ou…“) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 22: | Zeile 22: | ||
Successfully added user thomas to LDAP | Successfully added user thomas to LDAP | ||
Successfully set password for user thomas | Successfully set password for user thomas | ||
| − | ldapadduser tina | + | ldapadduser tina it |
Successfully added user tina to LDAP | Successfully added user tina to LDAP | ||
Successfully set password for user tina | Successfully set password for user tina | ||
Version vom 8. Dezember 2014, 10:50 Uhr
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
ldapaddgroup it
Successfully added group it to LDAP
ldapadduser
ldapadduser thomas it
Successfully added user thomas to LDAP Successfully set password for user thomas
ldapadduser tina it
Successfully added user tina to LDAP Successfully set password for user tina