HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
LDAP Integration Support
LDAP management Tools
Chapter 6148
cd /opt/samba/LDAP/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
Netscape Directory Server. This tool will delete both posixAccout and
sambaAccount information from the LDAP directory.
Syntax
smbldap-userdel.pl [
options
]
username
where
options
can be any of the following:
-r removes the home directory
-w specifies the LDAP directory manager password
-S use the /etc/opt/samba/smb.conf file to get LDAP
parameters
-Z use the secure SSL connection to the LDAP directory
server
-? 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
Netscape Directory Server:
cd /opt/samba/LDAP/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 Netscape Directory Server.
Syntax
smbldap-usershow.pl [
option
]
username