smbldap-migrate - Migrate NT accounts to LDAP
smbldap-migrate [-a] [-w] [-A opts] [-W opts] [-C] [-U] [-?]
This command reads from stdin account entries as created by pwdump, a tool to dump an user database on NT. Depending of the options, some account entries may be output on stdout. All errors and informations are sent to stderr. -a process only people, ignore computers -w process only computers, ignore persons -A opts a string containing arguments to pass verbatim to smbldap-useradd when adding users, eg "-m -x". You don't have to specify -a in this string. -W opts a string containing arguments to pass verbatim to smbldap-useradd when adding computers, eg "-m -x". You don't have to specify -w in this string. -C if NT account not found in LDAP, don't create it and log it to stdout (default: create it) -U if NT account found in LDAP, don't update it and log it to stdout (default: update it) -? show the help message
To install Samba::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Samba::LDAP
CPAN shell
perl -MCPAN -e shell install Samba::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.