HP CIFS Server 3.0f Administrator's Guide verison A.02.03
Specify the name of the group. The group data entry will be deleted from the LDAP directory.
An Example
The following commands delete the group name "group1" from the Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-groupdel.pl group1
The smbldap-groupshow.pl Tool
You can use this tool to view a group entry with the posixGroup information in the Directory Server.
Syntax
smbldap-groupshow.pl [option] groupname
where option can be any of the following:
-w specifies the LDAP directory manager password
-? shows help messages
groupname
Specify the name of the group. The group service data in the directory will be shown.
An Example
The following commands show the group name "group2" in the Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-groupshow.pl group2
The smbldap-useradd.pl Tool
You can use the smblcap-useradd.pl tool to add a new user to the Directory Server. The posixAccount
and/or sambaAccount information can be added to the directory depending on the tool option that you
specify.
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 optionscan 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
LDAP management Tools 99