summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_autorid.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-22s3:idmap: remove the params argument from the init functionMichael Adam1-2/+1
2011-03-18s3:autorid make sure we set the mapping status correct on early exitChristian Ambach1-0/+1
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 18 16:30:36 CET 2011 on sn-devel-104
2011-03-18idmap-autorid: Slightly simplify idmap_autorid_get_domainrangeVolker Lendecke1-8/+3
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Slightly simplify idmap_autorid_get_domainrangeVolker Lendecke1-2/+1
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an unused variableVolker Lendecke1-11/+0
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Use talloc_tos() in idmap_autorid_id_to_sidVolker Lendecke1-5/+6
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an else branchVolker Lendecke1-10/+11
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an unused variableVolker Lendecke1-11/+0
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an unused parameterVolker Lendecke1-3/+2
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Use talloc_tos() in idmap_autorid_sids_to_unixidsVolker Lendecke1-8/+12
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Not necessary to talloc domaincfgVolker Lendecke1-14/+8
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Not necessary to talloc domainsidVolker Lendecke1-9/+8
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-06s3: Remove close_fn from idmap_methodsVolker Lendecke1-7/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
2011-02-23s3: Fix 64-bit errorsVolker Lendecke1-4/+8
Casting those variables will lead to sscanf believing that it sees pointers to unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory it should not overwrite. Assigning the vars later is okay, there we get automatic type conversion. C can be nasty ... Christian, please check!
2011-02-23s3: Fix an uninitialized variable useVolker Lendecke1-1/+2
The "goto error;" lead to the invalid talloc_free. Christian, please check!
2011-02-23s3:idmap:autorid prevent fatal configuration changesChristian Ambach1-2/+112
as the autorid module relies on a stable minimum uid/gid value and rangesize, it now saves the values used at first successful start and refuses to work if these values get changed in smb.conf later. Changing the values after the first mapping was done will result in unpredictable behaviour. Another check covers the maximum uid value. If this gets decreased later and domain range mappings already exist that would result in uid values higher than the new uid value, initialization will be aborted
2010-11-08s3: Fix an uninitialized variableVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Nov 8 13:22:06 UTC 2010 on sn-devel-104
2010-11-08s3:idmap: add a new ID mapping module autoridChristian Ambach1-0/+471
This is an initial implementation of the idmap_autorid module. It works similar to the idmap_rid module but requires less configuration. It will automatically pick ranges for each domain, so you do not have to bother any more about adding an idmap configuration for all of the domains in the forest. This is very easy to use and to configure and much more deterministic and faster than idmap_tdb, the typical choice of Samba users up to now.