HP CIFS Server 3.0a Administrator's Guide version A.02.01

LDAP Integration Support
LDAP management Tools
Chapter 8 153
-C specifies the SMB home share, such as
\\PDC-SRC\homes
-D specifies the home drive letter associated with home
share, such as H:
-E specifies the script path (DOS script to execute on
login)
-F specifies the profile directory
-H specifies Samba account control bits
-N specifies the canonical name
-S specifies the surname
-? 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/LDAP3/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