summaryrefslogtreecommitdiff
path: root/examples/LDAP/smbldap-tools/INSTALL
blob: d5ca07826f4fc3d5bf2c816a0eb2ec131555be6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## How To Install SMBLDAP-TOOLS

Quick & Dirty:
=-=-=-=-=-=-=-
 . Copy all those scripts in /usr/local/sbin/
 . Modify smbldap_conf.pm to match your configuration
 . If not already done : "smbpasswd -w secret" to set up
   the ldap admin password in secrets.tdb
 . Either add /usr/local/sbin in $PERLLIB or run the scripts
   from this directory, or make a symlink from /usr/local/sbin/*.pm
   to /usr/lib/perl5/.
 . to allow a domain admin to add user using "add user script" in smb.conf :
   chmod 753 smbldap_conf.pm
   chmod 750 smbldap-useradd.pl
   chgrp 512 smbldap_conf.pm smbldap-useradd.pl (512 = 0x200 = Domain Admins)
   Have your admin belong to this group
   In smb.conf : domain admin group = " @"Domain Admins" "

RedHat RPM:
=-=-=-=-=-=
Install smbldap-tools-0.7-1.i386.rpm
Modify /usr/local/sbin/smbldap_conf.pm to match you configuration
If not already done : "smbpasswd -w secret" to set up
the ldap admin password in secrets.tdb

# - The End