HP CIFS Server 3.0f Administrator's Guide verison A.02.03
-J enables a user
-N specifies the canonical name
-P ends by invoking smbldap-passwd.pl
-? shows help messages
username
Specify the name of the user. The user information in the LDAP directory will be modified.
An Example
The following commands modify the user name "johnl" with the user id "200" in the Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-usermod.pl -u 200 johnl
The smbldap-userdel.pl Tool
You can use the smbldap-userdel.pl tool to delete a user entry in the Directory Server. This tool will
delete both posixAccout and sambaAccount information from the LDAP directory.
Syntax
smbldap-userdel.pl [options] username
where optionscan be any of the following:
-r removes the home directory
-w specifies the LDAP directory manager password
-? shows help messages
username
The name of the user entry. The user entry data will be deleted from the LDAP directory.
An Example
The following commands delete the user name "michael" from the Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-userdel.pl michael
The smbldap-usershow.pl Tool
You can use the smbldap-usershow.pl tool to show the user entry information in the Directory Server.
Syntax
smbldap-usershow.pl [option] username
where optioncan be any of the following:
-w specifies the LDAP directory manager password
-? shows help messages
username
Specify name of the user entry.
An Example
The following commands shows the user entry data of the user "johnl" in the Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-usershow.pl johnl
LDAP management Tools 101