HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)
LDAP Integration Support
LDAP management Tools
Chapter 6 151
NOTE If you specify the tool option, -a or -W, the sambaAccount information
can be added to the LDAP directory in addition to posixAccount
information. Without specifying the tool option, -a or -W, only
posixAccount information can be added.
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