1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/examples/LDAP
Simo Sorce 045f5c2f89 Reserve an OID space for external projects
Some external, but somewhat related projects, benefit from being
able to use the Samba OID space instead of having to go through IANA.

Reserve 1.3.6.1.4.1.7165.655.x for external projects
And assign 1.3.6.1.4.1.7165.655.1.x to the GSS-NTLMSSP project.

Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Simo Sorce <idra@samba.org>
Autobuild-Date(master): Fri Oct 18 05:47:29 CEST 2013 on sn-devel-104
2013-10-18 05:47:29 +02:00
..
get_next_oid s3-examples: make get_next_oid exectuable. 2009-06-25 11:04:05 +02:00
ol-schema-migrate.pl
README Fix location of smbldap-tools 2008-06-02 10:55:32 +02:00
samba-nds.schema s3-ldap: Add Posix offset and encryption types to LDAP schema 2011-08-31 12:52:40 +02:00
samba-schema-FDS.ldif s3-ldap: Add Posix offset and encryption types to LDAP schema 2011-08-31 12:52:40 +02:00
samba-schema-netscapeds5.x.README s3/ldap: remove outdated netscape ds 5 schema file 2012-04-19 15:54:56 +02:00
samba-schema.IBMSecureWay Revert "examples/LDAP: remove overoutdated samba-schema.IBMSecureWay" 2011-03-01 23:43:50 +01:00
samba.ldif docs: remove whitespace in example samba.ldif (fix bug #8789) 2012-04-06 08:19:13 +02:00
samba.schema Reserve an OID space for external projects 2013-10-18 05:47:29 +02:00
samba.schema.at.IBM-DS s3-ldap: Add Posix offset and encryption types to LDAP schema 2011-08-31 12:52:40 +02:00
samba.schema.oc.IBM-DS s3-ldap: Add Posix offset and encryption types to LDAP schema 2011-08-31 12:52:40 +02: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.

Fedora Directory Server /
RedHat Directory Server /
Netscape Directory Server
-------------------------

An *updated* schema file has been provided, plus a very useful script from
Mike Jackson and Alyseo is available.
ol-schema-migrate.pl can be used to migrate OpenLDAP schema files to FDS
schema ldif files, it can also be used to validate the schema files to
make sure no duplicate OIDs or malformed entries are found.

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

The smbldap-tools have been removed from the samba svn
tree.  The latest version will continue to be included
in Samba releases.

The smbldap-tools package can be downloaded individually from
https://gna.org/projects/smbldap-tools/

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