svn commit: samba r3145 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/sam trunk/source trunk/source/sam

gd at samba.org gd at samba.org
Sat Oct 23 13:23:57 GMT 2004


Author: gd
Date: 2004-10-23 13:23:54 +0000 (Sat, 23 Oct 2004)
New Revision: 3145

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=3145&nolog=1

Log:
Add experimental idmap_rid-Plugin.

Written by Sumit Bose <sbose at suse.de> and myself a while ago.

idmap_rid does a direct, static mapping between RIDs and UIDs/GIDs using
the idmap-range as offset. It does thus allow to have a unified mapping
over several winbindd-systems without having the need of a central
LDAP-Server (and all related dependencies and problems this solution can
bring).

Compile:
./configure --with-shared-modules=idmap_rid

Usage:
        idmap backend = idmap_rid

idmp_rid does even allow you to have multiple mappings (for trusted
domains). This is a rather problemtic feature and will be turned off by
default rather soon. The problem is that ranges can quickly overlap when
not measured with caution.

        idmap backend = idmap_rid:"MYDOMAIN=1000-9999 OTHER=10000-19999"

Will valgrind idmap_rid later today and fix a couple of things.

Guenther


Added:
   branches/SAMBA_3_0/source/sam/idmap_rid.c
   trunk/source/sam/idmap_rid.c
Modified:
   branches/SAMBA_3_0/source/Makefile.in
   branches/SAMBA_3_0/source/configure.in
   trunk/source/Makefile.in
   trunk/source/configure.in


Changeset:
Sorry, the patch is too large (1097 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=3145&nolog=1


More information about the samba-cvs mailing list