1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/examples/LDAP
Jeremy Allison 7af1265368 r1809: Patch from Richard Renard <rrenard@idealx.com> to store
logon hours attributes in an LDAP database.
Jeremy.
(This used to be commit ac0fdf9503)
2007-10-10 10:52:21 -05:00
..
smbldap-tools fix case in objectclass name (not that it really matters); patch from Darren Chew <darrenc@vicscouts.asn.au> 2004-01-06 14:40:35 +00:00
convertSambaAccount added note about stripping comments from LDIF; bug 642 2003-11-05 04:17:21 +00:00
ldapsync.pl removing outdated scripts and adding comments about 'ldap password syc' 2003-08-28 16:38:59 +00:00
README updating README file after I removed some scripts 2003-08-29 16:56:59 +00:00
samba-nds.schema updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x 2003-09-05 04:09:25 +00:00
samba-schema-netscapeds4.x updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x 2003-09-05 04:09:25 +00:00
samba-schema-netscapeds5.x r223: According to Thomas Mueller, thomas.mueller@christ-wasser.de, the two lines 2007-10-10 10:51:14 -05:00
samba-schema.IBMSecureWay merging some changes from SAMBA_2_2 2002-05-08 15:37:14 +00:00
samba.schema r1809: Patch from Richard Renard <rrenard@idealx.com> to store 2007-10-10 10:52:21 -05:00
samba.schema.at.IBM-DS Fix whitespace to reduce diff from HEAD 2004-02-14 14:25:40 +00:00
samba.schema.oc.IBM-DS sync IBM Directory Server schema with openldap schema...add munged dial 2004-02-14 14:05:17 +00:00

!==
!== README File for various LDAP examples
!==
!== written by Gerald Carter <jerry@samba.org>
!==

OpenLDAP 2.x
------------

A sample schema file (samba.schema) has been included for use
with OpenLDAP 2.0.x.  The OIDs used in this file are owned by
the Samba team and generated from its own Enterprise number
of 7165 (as issued by IANA).

Copy the samba.schema file into your /etc/openldap/schema directory,
and add an include for it in the /etc/openldap/slapd.conf file.
Note that samba.schema relies upon the uid and uidNumber attributes
from the RFC2307 schema (i.e. nis.schema)

If you choose to import /etc/passwd, nis, or nisplus tables 
into ldap, you can use migration tools provided by PADL Software 
which are located at 

	http://www.padl.com/tools.html

It is not a requirement that a user's /etc/passwd account
is stored in LDAP for the samba.schema file to work (although
the whole point of storing smbpasswd in LDAP is to have a 
single location for user accounts, right?)

The padl tools will leave you with LDIF files which you can import
into OpenLDAP.  Before you can import them, you need to include
nis.schema and cosine.schema in your slapd.conf file.

You must restart the LDAP server for these new included schema files 
to become active.

SunOne/Netscape DS
------------------

The schema file has not been updated for the sambaSamAccount
objectclass.


Novell eDirectory
-----------------

The schema file has not been updated for the sambaSamAccount
objectclass.


smbldap-tools/
--------------

This is a collection of perl scripts (wrapped around the standard 
OpenLDAP command line tools) for managing Samba and posix accounts
in an LDAP directory.  See the README file included with the scripts
for more details.


ldapsync.pl 
-----------
For more information on these scripts, see

	http://www.mami.net/univr/tng-ldap/howto/


The ldapsync.pl script requires a small command (smbencrypt) 
for generating LanMan and NT password hashes which 
can be found at ftp://samba.org/pub/samba/contributed/

!==
!== end of README
!==