HP CIFS Server 3.0f Administrator's Guide verison A.02.03

The smbldap-migrate-accounts.pl Tool
You can use the smbldap-migrate-accounts.pl tool to migrate the user accounts information in the
smbpasswd file to the Directory Server.
This tool can use the pwdump utility to migrate all the users from a Windows server to the HP CIFS Server
acting as a PDC. See "Migrating Users from a Windows Server to an HP CIFS Server as a PDC" for details.
Syntax
smbldap-migrate-accounts.pl [option]
where optioncan be any of the following:
-a processes only people
-c processes only computers
-w specifies the LDAP directory manager password
-A <opts> option string passed verbatim to smbldap-useradd for persons
-W <opts> option string passed verbatim to smbldap-useradd for computers
-C does not create it and log it to stdout if entry is not found
-U does not update it and log it to stdout if entry is not found
-? show help messages
An Example
The following commands migrate all "people" acccounts in the smbpasswd file to the Directory Server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-migrate-accounts.pl -a
Migrating Users from a Windows Server to an HP CIFS Server as a PDC
Use the following steps to migrate all the users from a Windows server to an HP CIFS Server acting as a
PDC:
1. Download pwdump.exe from the following web site to the Windows server:
http://de.samba/org/samba/ftp/pwdump/
2. Run pwdump.exe and create the dumpfile file that contains all users data.
pwdump.exe > <dumpfile>
3. Transfer the dumpfilefile created in step 2 to the HP CIFS server system acting as a PDC.
4. Run the following commands on the HP CIFS server system to migrate users data into your directory
server:
cd /opt/samba/LDAP3/smbldap-tools
./smbldap-migrate-accounts.pl <options> dumpfile
The smbldap-migrate-groups.pl Tool
You can use the smbldap-migrate-groups.pl tool to migrate the Windows NT groups information to
the Directory Server.
Syntax
smbldap-migrate-groups.pl [option]
where optioncan be any of the following:
-C does not create group if it does not exist
-U does not update group if it exists
102 LDAP Integration Support