samba ldap howto (1).pdf


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


Página 12356

Vista previa de texto


The SAMBA-2.2.4/LDAP PDC HOWTO
Olivier Lemaire
Revision : 1.24, generated June 7, 2002

This document is the property of IDEALX1 . Permission is granted to distribute this
document under the terms of the GNU Free Documentation License (http://www.gnu.org/
copyleft/fdl.html).

Contents
1 Introduction

4

2 Context of this Howto

5

3 Download & compile
3.1 OpenLDAP 2.0.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Samba 2.2.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 smbldap-tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7
7
8
8

4 Configuring OpenLDAP
4.1 Schemas . . . . . . . . . . .
4.2 Configuration . . . . . . . .
4.3 Initial entries . . . . . . . .
4.4 smbldap-tools configuration

.
.
.
.

9
10
10
11
11

5 Configuring Linux
5.1 pam ldap, nss ldap and nscd . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 /etc/ldap.conf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Test your system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12
12
13
13

6 Configuring Samba
6.1 Configuration .
6.2 Preparation . .
6.3 Initial entries .
6.4 Testing . . . .

15
15
17
17
18

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

7 Start-Stop servers
1

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

19

http://IDEALX.com/

1