summaryrefslogtreecommitdiffstats
path: root/source3/lib/winbind_util.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Fix build --without-winbind by adding winbind_lookup_usersids dummyKai Blin2014-05-161-0/+8
| | | | | | | | | | When building without winbind lib/winbind_util.c was missing a dummy function for winbind_lookup_usersids() Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri May 16 17:19:18 CEST 2014 on sn-devel-104
* s3-lib: Add winbind_lookup_usersids().Andreas Schneider2014-02-051-0/+34
| | | | | | | Pair-Programmed-With: Guenther Deschner <gd@samba.org> Signed-off-by: Guenther Deschner <gd@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-5/+5
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* s3-winbind: try to fix the build on hosts w/o winbind support.Günther Deschner2011-03-301-1/+1
| | | | Guenther
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* lib/util/util_pw: share more code between lib/util/util_pw.c and ↵Günther Deschner2011-03-301-0/+1
| | | | | | source3/lib/username.c Guenther
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-23/+23
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* Fix some nonempty blank linesVolker Lendecke2009-08-071-13/+13
|
* s3: Fix a free of an uninitialized variable in winbind_get_sid_aliasesDan Sledz2009-03-191-1/+0
|
* Fix warning about missmatch of uint32_t and size_t.Jeremy Allison2009-02-171-1/+1
| | | | Jeremy.
* s3: Implement wbcGetSidAliasesDan Sledz2009-02-111-0/+84
| | | | | | * Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function.
* s3: Implement wbcGetpwsidDan Sledz2009-02-111-0/+47
| | | | | | | | * Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3.
* Fix crash in winbind clients: instead of talloc-based pointer we passed ↵Alexander Bokovoy2008-01-141-1/+1
| | | | | | address of a local variable. (This used to be commit a861ff20917eeca303e2d36de71cd8614e937d5f)
* use C99 bool return types (true & false).Gerald (Jerry) Carter2008-01-021-17/+17
| | | | (This used to be commit f22c9d6296c754d472e8eab51caa058f55ef370e)
* Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.Gerald (Jerry) Carter2008-01-021-7/+8
| | | | | | Follows existing convention that all returned memory should be freed with wbcFreeMemory() and not directly with free(). Noticed by Volker. Txs. (This used to be commit 39c2059f66ee9eb471a503b9c776807b91c2a8f8)
* tiny simplificationVolker Lendecke2007-12-231-4/+0
| | | | (This used to be commit 8bd248456205a82d57af21559a77a1030f4679b7)
* Compile fix: Correct use of wbcDomainInfo() after function signature change.Gerald (Jerry) Carter2007-12-211-4/+3
| | | | | | Also fixes a doxygen warngin about an undocumented parameter in the same function. (This used to be commit 290ab64e9e5fb2a28e14a5f344f22119d5304563)
* De-couple smbd from staticly linking against winbindd client files.Gerald (Jerry) Carter2007-12-211-0/+325
Implements a wrapper layer in winbind_util.c which are just stubs if compiled --without-winbind. When building with winbindd, it is now required to build the libwbclient DSO first (in the Makefile) and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the library PATH. (This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)