HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
LDAP Integration Support
LDAP management Tools
Chapter 6146
-F specifies the profile directory.
-H specifies Samba account control bits.
-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
Specify the name of the new user. The user service data will be added to
the LDAP directory.
NOTE The -a option with the user name must be the last parameter. Every
parameter specified after the -a option will be ignored by the
smbldap-useradd.pl tool.
An Example
The following commands add the new user name “johnl” with the user id
“102” and group id “1005” to the Netscape Directory Server. Both
posixAccount and sambaAccount information for “johnl” will be added:
cd /opt/samba/LDAP/smbldap-tools
./smbldap-useradd.pl -u 102 -g 1005 -a johnl
The smbldap-usermod.pl Tool
You can use the smblcap-usermod.pl tool to modify the user entry in
the Netscape Directory Server. The posixAccount and/or sambaAccount
information can be modified in the directory depending on the tool option
that you specify.
Syntax
smbldap-usermod.pl [
options
]
username
where
options
can be any of the following:
-u modifies the User id (UID)
-o specifies that UID can be non unique