HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)
LDAP Integration Support
LDAP management Tools
Chapter 6 149
The smbldap-groupadd.pl Tool
You can use this tool to add a new group entry with the posixGourp
objectclass to your Netscape Directory Server.
Syntax
smbldap-groupadd.pl [
options
]
groupname
where
options
can be any of the following:
-a adds automatic group mapping entry
-g specifies Group id (GID)
-w specifies the LDAP directory manager password
-r specifies group RID
-s specifies group SID
-t specifies group type
-p prints the GID number to stdout
-? shows help messages
groupname
Specify the name of the group. The group data information will be added
to the LDAP directory.
An Example
The following commands add the new group name “group1” with the
group id “200” to the Netscape Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-groupadd.pl -g 200 group1
The smbldap-groupdel.pl Tool
You can use this tool to delete a group entry from the Netscape Directory
Server. This tool will delete the posixGroup information.
Syntax
smbldap-groupdel.pl [
option
]
groupname
where
option
can be the following:
-w specifies the LDAP directory manager password