1# $Source: /home/user/PROJECT/WL-520gu-NewUI/src/router/samba/examples/LDAP/smbldap-tools/INSTALL,v $ 2# 3## How To Install SMBLDAP-TOOLS 4 5Quick & Dirty: 6=-=-=-=-=-=-=- 7 . Copy all those scripts in /usr/local/sbin/ 8 . Modify smbldap_conf.pm to match your configuration 9 . If not already done : "smbpasswd -w secret" to set up 10 the ldap admin password in secrets.tdb 11 . Either add /usr/local/sbin in $PERLLIB or run the scripts 12 from this directory, or make a symlink from /usr/local/sbin/*.pm 13 to /usr/lib/perl5/. 14 . to allow a domain admin to add user using "add user script" in smb.conf : 15 chmod 753 smbldap_conf.pm 16 chmod 750 smbldap-useradd.pl 17 chgrp 512 smbldap_conf.pm smbldap-useradd.pl (512 = 0x200 = Domain Admins) 18 Have your admin belong to this group 19 In smb.conf : domain admin group = " @"Domain Admins" " 20 21RedHat RPM: 22=-=-=-=-=-= 23Install smbldap-tools-0.7-1.i386.rpm 24Modify /usr/local/sbin/smbldap_conf.pm to match you configuration 25If not already done : "smbpasswd -w secret" to set up 26the ldap admin password in secrets.tdb 27 28# - The End 29