Smbldap-Tools

From Wikipedia, the free encyclopedia

Smbldap-tools is a set of scripts designed to help integrate Samba and a LDAP directory. They target both users and administrators of Linux systems. Users can change their password in a way similar to the standard “passwd” command. Administrators can perform user and group management command line actions and synchronise Samba account management consistently.

These tools are written in perl, and found in Redhat under /usr/share/doc/samba-3.0.9/LDAP/smbldap-tools. By running this perldoc <scripl name> at the command prompt one can find out about the usage of these commands, which are simple and straight forward.

Commands are as follows.

smbldap-groupadd.pl smbldap-migrate-accounts.pl smbldap-useradd.pl smbldap-groupdel.pl smbldap-migrate-groups.pl smbldap-userdel.pl smbldap-groupmod.pl smbldap-passwd.pl smbldap-usermod.pl smbldap-groupshow.pl smbldap-populate.pl smbldap-usershow.pl

By using these one can set up a Samba/LDAP domain controller easily. To set up tools, copy smblda* to /usr/local/sbin and set the write permissions, and edit the file called smbldap_conf.pm accordingly.

[edit] External links