summaryrefslogtreecommitdiffstats
path: root/source/include/idmap.h
Commit message (Collapse)AuthorAgeFilesLines
* idmap rewriteVolker Lendecke2008-08-121-6/+2
|
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell2007-10-101-2/+2
| | | | not GNU Library General Public License
* r23794: convert more code from LGPLv2+ to LGPLv3+Andrew Tridgell2007-10-101-5/+3
|
* r22390: Patchset sent to samba-technical to address the winbindGerald Carter2007-10-101-0/+6
| | | | | | | | | | | | | | | | | | | | loop when allocating a new id for a SID: auth_util.patch Revert create_local_token() to the 3.0.24 codebase idmap_type.patch Have the caller fillin the id_map.xid.type field when resolving a SID so that if we allocate a new id, we know what type to use winbindd_api.patch Remove the WINBINDD_SIDS_TO_XIDS calls from the public winbindd interface for the 3.0.25 release idmap_rid.patch Cleanup the idmap_rid backend to not call back into winbindd to resolve the SID in order to verify it's type.
* r22343: Commit to 3_0 as well after adapting the patch.Simo Sorce2007-10-101-1/+3
| | | | (tdb_delete_bystring instead of tdb_delete is used here)
* r20951: Remove the DOM_SID field in the struct idmap_domain and bounceGerald Carter2007-10-101-1/+0
| | | | | | | | | | | | | | domain SID lookups through the struct winbindd_domain *domain_list by searching by name. Refactor the order lookup when searching for the correct idmap_domain to a single function and remove the requirement that the default domain be listed first in the config file. I would still like to make the idmap_domain array a linked list and remove the existing code which makes use of indexes into the list. Basic testing with tdb pans out ok.
* r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce2007-10-101-13/+33
| | | | Simo.
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-15/+15
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r13316: Let the carnage begin....Gerald Carter2007-10-101-1/+3
| | | | Sync with trunk as off r13315
* r8093: Next round. Now it compiles with --enable-socket-wrapper.Volker Lendecke2007-10-101-1/+1
| | | | Volker
* r7415: * big change -- volker's new async winbindd from trunkGerald Carter2007-10-101-0/+1
|
* Update my copyrights according to my agreement with IBMJim McDonough2003-08-011-1/+1
|
* Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough2003-08-011-1/+1
|
* moving more code around.Gerald Carter2003-07-111-0/+1
| | | | | | | | | | | | | | | | | * move rid allocation into IDMAP. See comments in _api_samr_create_user() * add winbind delete user/group functions I'm checking this in to sync up with everyone. But I'm going to split the add a separate winbindd_allocate_rid() function for systems that have an 'add user script' but need idmap to give them a RID. Life would be so much simplier without 'enable rid algorithm'. The current RID allocation is horrible due to this one fact. Tested idmap_tdb but not idmap_ldap yet. Will do that tomorrow. Nothing has changed in the way a samba domain is represented, stored, or search in the directory so things should be ok with previous installations. going to bed now.
* Large set of changes to add UNIX account/group managementGerald Carter2003-07-091-1/+2
| | | | to winbindd. See README.idmap-and-winbind-changes for details.
* Merge of Volkers patch to make the logic clearer (with my mod).Jeremy Allison2003-06-301-1/+0
| | | | Jeremy.
* Add include guards around idmap.h, change ID_NOMAP to ID_QUERY_ONLYJeremy Allison2003-06-261-3/+5
| | | | | | and ID_CACHE to ID_CACHE_SAVE. Added locking around tdb writes & deletes for multi-process access. Jeremy.
* * break out more common code used between pdb_ldap and idmap_ldapGerald Carter2003-06-061-1/+1
| | | | | | | | | | * remove 'winbind uid' and 'winbind gid' parameters (replaced by current idmap parameter) * create the sambaUnixIdPool entries automatically in the 'ldap idmap suffix' * add new 'ldap idmap suffix' and 'ldap group suffix' parametrer * "idmap backend = ldap" now accepts 'ldap:ldap://server/' format (parameters are passed to idmap init() function
* Add smb_register_idmap(). Based on a patch from metzeJelmer Vernooij2003-05-291-0/+3
|
* And finally IDMAP in 3_0Simo Sorce2003-05-121-9/+3
| | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo.
* Add new files needed for VFS fixes.Alexander Bokovoy2003-05-111-3/+4
| | | | | | 1. idmap.h is used for unid_t only, agreed by Simo 2. sysquotas.h is used to add quota support to VFS layer and is needed for future NT quota commit 3. vfs_macros.h provides convenient macros to access VFS API.
* fix commitSimo Sorce2003-04-061-1/+1
|
* This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on theSimo Sorce2003-04-061-1/+1
| | | | | | | | | | | | | | first run if idmap.tdb is not found, and then eventually convert it to the new format. This is done to unify winbind and idmap databases and to make a backup of winbindd_idmap.tdb in case you want to downgrade (of course it will not be updated). This is needed because idmap.tdb contains also local mappings, not only foreign domains mappings. Added some other fixes/improvements Simo.
* THE Idmap patch :-)Simo Sorce2003-04-021-1/+1
| | | | | | | | | | | | | | | | | | | includes a --with-idmap=no switch to disable idmap usage if you find problems. cosmetic fixes and param aliases to separate winbind from idamp roles. A temporarily remote idmap winbind compatibility backend. As I have time I will further change code to not call directly winbind (partly done but not tested) and a specilized module will be built in place for the current glue hack. The patch has been tested locally in my limited time, the patch is simple and clear and should not reserve problems, if any just disable it. As usual, comments and fisex are welcome :-) Simo.
* more on idmapSimo Sorce2003-03-081-9/+15
| | | | | | | | two layers structure with - local tdb cache - remote idmap repository compiles
* some more codeSimo Sorce2003-03-081-0/+1
| | | | (not tested yet)
* initial work for the new idmpa interfaceSimo Sorce2003-03-071-0/+49