samba ldap howto.pdf

Vista previa de texto
The SAMBA-LDAP-PDC Howto
Revision : 1.24
[root@pdc-srv testsmbuser2]# smbldap-useradd.pl -a -m -c "John Doo" jdoo
adding new entry "uid=jdoo,ou=Users,dc=IDEALX,dc=org"
modifying entry "uid=jdoo,ou=Users,dc=IDEALX,dc=org"
modifying entry "uid=jdoo,ou=Users,dc=IDEALX,dc=org"
[root@pdc-srv testsmbuser2]# smbldap-passwd.pl jdoo
Changing password for jdoo
New password for user jdoo:
Retype new password for user jdoo:
all authentication tokens updated successfully
8.2.3
Setup an user password
You can use smbldap-passwd.pl as a replacement for the system command passwd and the
Samba command smbpasswd:
[root@pdc-srv testsmbuser2]# smbldap-passwd.pl jdoo
Changing password for jdoo
New password for user jdoo:
Retype new password for user jdoo:
all authentication tokens updated successfully
8.2.4
Delete a Posix user account
Just use the following smbldap-tools command:
[root@pdc-srv testsmbuser2]# smbldap-userdel.pl -r jdoo
In this example, we wanted to remove the user named ’jdoo’ and his home directory.
8.2.5
Delete a Samba user account
Exactly like for the deletion of an Unix account, just use smbldap-userdel.pl.
8.2.6
Modify an user account
TODO.
page 24/56
