- Smbldap-Tools
Smbldap-tools is a set of scripts designed to help integrate Samba and an LDAP directory. They target both users and administrators of
Linux systems although they also work on most Unix systems such as Solaris or AIX. 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 Red Hat under /usr/share/doc/samba-3.0.9/LDAP/smbldap-tools. By running this perldocat 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.plBy 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.
External links
* [https://gna.org/projects/smbldap-tools/ smbldap-tools]
* [http://samba.idealx.org/index.en.html Samba]
* [http://www.openldap.org/ Open LDAP]
Wikimedia Foundation. 2010.