HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)
LDAP Integration Support
LDAP management Tools
Chapter 6 157
-w specified the LDAP directory manager password
Migrating Groups from a Windows Server to an HP CIFS Server
as a PDC
Use the following steps to migrate all the groups from a Windows server
to an HP CIFS Server acting as a PDC:
Step 1. Run the net group command on the Windows server and create the file
that contains groups data:
net group <groupname> > <groupdump>
Step 2. Transfer the groupdump file created in step 1 to the HP CIFS server
system acting as a PDC.
Step 3. Run the following commands on the HP CIFS server system to migrate
groups data into your directory server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-migrate-groups.pl < groupdump
The smbldap-passwd.pl Tool
You can use the smbldap-passwd.pl tool to add or modify both samba
password and posix password of the user to the Netscape Directory
Server.
Syntax
smbldap-passwd.pl [
option
]
username
where
option
can be any of the following:
-w specified the LDAP directory manager password
-? shows help messages
username
Specify the name of the user entry. The password of the user will be
added or modified in the LDAP directory.
An Example
The following commands add or modify both samba password and posix
password of the user name “johnl” to the Netscape Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-passwd.pl johnl