From 27aef6855f1543547b8190f06fd264d1b52a558d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 6 Apr 2003 18:42:44 +0000 Subject: Regenerate docs (This used to be commit 5a2aaa3d5b039776314067aee953921e7865dc4d) --- docs/htmldocs/passdb.html | 136 +++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 92 deletions(-) (limited to 'docs/htmldocs/passdb.html') diff --git a/docs/htmldocs/passdb.html b/docs/htmldocs/passdb.html index 8a7c26b640..127a748189 100644 --- a/docs/htmldocs/passdb.html +++ b/docs/htmldocs/passdb.html @@ -80,7 +80,7 @@ CLASS="SECT1" >

3.1. Introduction

3.2. Important Notes About Security

3.2.1. Advantages of SMB Encryption

Encrypted password support allows auto-matic share +>Encrypted password support allows automatic share (resource) reconnects.

3.2.2. Advantages of non-encrypted passwords

3.3. The smbpasswd Command

3.4. Plain text

3.5. TDB

3.6. LDAP

3.6.1. Introduction

3.6.2. Introduction

3.6.3. Supported LDAP Servers

samba-patches@samba.org and jerry@samba.org.

3.6.4. Schema and Relationship to the RFC 2307 posixAccount

jerry@samba.org

3.6.5. Configuring Samba with LDAP

3.6.5.1. OpenLDAP configuration

root# cp samba.schema /etc/openldap/schema/cp samba.schema /etc/openldap/schema/

Next, include the

3.6.5.2. Configuring Samba

3.6.6. Accounts and Groups management

3.6.7. Security and sambaAccount

3.6.8. LDAP specials attributes for sambaAccounts

3.6.9. Example LDIF Entries for a sambaAccount

3.7. MySQL

3.7.1. Building

To build the plugin, run make bin/pdb_mysql.so -in the source/ directory of samba distribution.

Next, copy pdb_mysql.so to any location you want. I -strongly recommend installing it in $PREFIX/lib or /usr/lib/samba/

3.7.2. Creating the database3.7.1. Creating the database

You either can set up your own table and specify the field names to pdb_mysql (see below @@ -1403,8 +1382,8 @@ CLASS="SECT2" >

3.7.3. Configuring3.7.2. Configuring

This plugin lacks some good documentation, but here is some short info:

:
passdb backend = [other-plugins] plugin:/location/to/pdb_mysql.so:identifier [other-plugins]
passdb backend = [other-plugins] mysql:identifier [other-plugins]

The identifier can be any string you like, as long as it doesn't collide with @@ -1514,8 +1493,8 @@ CLASS="SECT2" >

3.7.4. Using plaintext passwords or encrypted password3.7.3. Using plaintext passwords or encrypted password

I strongly discourage the use of plaintext passwords, however, you can use them:

3.7.5. Getting non-column data from the table3.7.4. Getting non-column data from the table

It is possible to have not all data in the database and making some 'constant'.

3.8. Passdb XML plugin3.8. XML

3.8.1. Building

This module requires libxml2 to be installed.

To build pdb_xml, run: make bin/pdb_xml.so in -the directory source/.

3.8.2. Usage

The usage of pdb_xml is pretty straightforward. To export data, use: -pdbedit -e plugin:/usr/lib/samba/pdb_xml.so:filenamepdbedit -e xml:filename (where filename is the name of the file to put the data in)

To import data, use: -pdbedit -i plugin:/usr/lib/samba/pdb_xml.so:filename -e current-pdbpdbedit -i xml:filename -e current-pdb Where filename is the name to read the data from and current-pdb to put it in.