Ldapscripts handling: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
=installation= | =installation= | ||
| − | + | *apt-get install ldapscripts | |
=config dateien= | =config dateien= | ||
==/etc/ldapscripts/ldapscripts.conf== | ==/etc/ldapscripts/ldapscripts.conf== | ||
| Zeile 14: | Zeile 14: | ||
</pre> | </pre> | ||
==/etc/ldapscripts/ldapscripts.passwd== | ==/etc/ldapscripts/ldapscripts.passwd== | ||
| − | echo -n "sysadm" > /etc/ldapscripts/ldapscripts.passwd | + | *echo -n "sysadm" > /etc/ldapscripts/ldapscripts.passwd |
=ldapaddgroup= | =ldapaddgroup= | ||
| − | ldapaddgroup it | + | *ldapaddgroup it |
Successfully added group it to LDAP | Successfully added group it to LDAP | ||
=ldapadduser= | =ldapadduser= | ||
| − | ldapadduser thomas it | + | *ldapadduser thomas it |
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 it | + | *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 | ||
=ldapsetpasswd= | =ldapsetpasswd= | ||
| − | ldapsetpasswd thomas | + | *ldapsetpasswd thomas |
| − | Changing password for user uid=thomas,ou=users,dc=weyon,dc=de | + | Changing password for user uid=thomas,ou=users,dc=weyon,dc=de |
| − | New Password: | + | New Password: |
| − | Retype New Password: | + | Retype New Password: |
| − | Successfully set password for user uid=thomas,ou=users,dc=weyon,dc=de | + | Successfully set password for user uid=thomas,ou=users,dc=weyon,dc=de |
Version vom 21. Oktober 2019, 09:32 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
ldapsetpasswd
- ldapsetpasswd thomas
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