HP CIFS Server 2.2i Administrator's Guide version A.01.11.01

LDAP Integration Support
LDAP management Tools
Chapter 6 145
Syntax
smbldap-useradd.pl [
options
]
username
where
options
can be any of the following:
-a specifies a Windows user. With this option, both
posixAccont and sambaAccount will be added to the
LDAP directory. Without this option, only posixAccount
information for the user will be added.
-W specifies a Windows workstation. With this option, both
posixAccount and sambaAccount will be added to the
LDAP directory. Without this option, only posixAccount
information will be added.
-x creates rid and primaryGroupID in hex number
instead of decimal number
-u specifies the User id (UID)
-g specifies the Group id (GID)
-n does not create a group
-d specifies the home directory
-s specifies the shell information
-m creates the home directory and copies /etc/skel
-k creates the skeleton directory used with -m option
-c gecos
-w specifies the LDAP directory manager password
-P invokes the smbldap-passwd.pl tool to add the user
password
-A can change the user password
-B must change the user password
-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)