samba ldap howto (1).pdf


Vista previa del archivo PDF samba-ldap-howto-1.pdf


Página 1...6 7 891056

Vista previa de texto


The SAMBA-LDAP-PDC Howto

3.2

Revision : 1.24

Samba 2.2.4

Samba 2.2.4 is the last release of Samba2.2 branch (at the date of this Howto redaction, and
used by this Howto). To use it with LDAP, some patches must be added to the base release.
In this Howto, we used the RedHat RawHide package as a base (patches are already included,
thank’s to RedHat RawHide team), and rebuild the package for LDAP support :
• grab the samba-2.2.4-1.src.rpm from RawHide (ftp://ftp.redhat.com/pub/redhat/
linux/rawhide/SRPMS/SRPMS/samba-2.2.4-1.src.rpm),
• install it on you system (rpm -ivh samba-2.2.4-1.src.rpm),
• edit your /usr/src/redhat/SPECS/samba.spec to add the following configure options : –
with-acl-support –with-profile –disable-static –with-msdfs –with-ldapsam, by the way, edit
the Release tag to update it to ’2’ (Release: 2),
• build the RPMS (cd /usr/src/redhat/SPECS/ && rpm -ba samba.spec),
• then install the following RPMS : samba-common-2.2.4-2, samba-client-2.2.4-2 and
samba-2.2.4-2)
You’ll find those Samba packages already prepared in the SAMBA-LDAP projet page (see
http://samba.idealx.org/).
You will need to install the following packages:
samba-common-2.2.4-2
samba-client-2.2.4-2
samba-2.2.4-2

3.3

smbldap-tools

smbldap-tools is a package containing some useful scripts to manage users/groups when
you’re using LDAP as source of users/groups datas (for Unix and for Samba). We used those
scripts in this Howto to add/del/mod users and groups.
Those scripts are under packaging at June 7, 2002.
For now, just grab the smbldap-tools-0.7.tgz and detar/save the tools under : /usr/local/sbin/.
Alternatively, you can use the smbldap-tools RedHat package provided at http://samba.
idealx.org/dist/redhat/.

page 8/56