summaryrefslogtreecommitdiff
path: root/source4/winbind/idmap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-3/+3
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-1/+1
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-24s4:winbind Give more detail on the parameters when reporting idmap failureAndrew Bartlett1-1/+2
2010-05-24s4:winbind Change idmap API to match that used by the source3/ idmap subsystemAndrew Bartlett1-24/+26
This makes it much easier to write an idmap module that bridges the gap. We should finish the change to the new API, but for the moment this choke point works for the conversion. Andrew Bartlett
2010-05-24s4:winbind Change include guard so as not to conflict with idmap.h in source3Andrew Bartlett1-1/+1
2010-05-24s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett1-38/+16
Andrew Bartlett
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-4/+2
2010-02-11s4: Switch to S3-style id mapping data types.Kai Blin1-10/+18
2010-02-11s4 idmap: Make the sid_to_xid and xid_to_sid calls static.Kai Blin1-4/+8
Looking at the winbind interface, we should only be using the bulk conversion calls.
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-2/+2
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-10-20s4: ran minimal_includes.pl on source4/winbindAndrew Tridgell1-3/+0
2009-02-01shared: Move dom_sid_* utility functions to top levelKai Blin1-1/+1
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-9/+5
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-1/+2
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-14show what type of idmapping has failedAndrew Tridgell1-2/+2
(This used to be commit 8a222419528153b889cb1a7eae09a155f196b9b5)
2008-04-02idmap: Also store sid type in the idmap dbKai Blin1-71/+74
(This used to be commit 018eb64f038210279b90925e6a981c067aef4be9)
2008-03-18idmap: Map SIDs to unixids instead of uids/gidsKai Blin1-540/+182
(This used to be commit 73ac7c4a1ce937bddd3c52d048665cd0078c6aaa)
2008-02-21idmap: Handle SID->gidKai Blin1-2/+255
(This used to be commit 78d22a28eca4dd89f629dbe75287e9ac3940606b)
2008-02-21idmap: Handle SID->uidKai Blin1-2/+255
(This used to be commit 4037ca6b9cf14219b4a4475399a51db01c655da6)
2008-02-21idmap: Handle gid->SID mappingKai Blin1-3/+154
(This used to be commit 6f2d95030cd7b4b22d1b75d15b76881449eda697)
2008-02-21idmap: Handle uid->SID mappingKai Blin1-0/+415
(This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)