summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient/wbc_sid.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin1-672/+0
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-10Move the doxygen comments of wbclient to the header file.Andreas Schneider1-53/+8
So that a developer who wants to use the wbclient api can read the documentation in the header file. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-03libwbclient: avoid usage talloc_init() in library codeStefan Metzmacher1-8/+4
talloc_init() is a compat function for the old samba3 non-hierachical talloc implementation. It enables the talloc null tracking which should never be done by library code. metze
2008-10-29wbcGetDisplayNameVolker Lendecke1-0/+44
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-10-21Fix two trivial typosVolker Lendecke1-2/+2
2008-09-27libwbclient: fix doxygen warnings.Günther Deschner1-3/+3
Guenther
2008-08-31Fix Coverity ID 589, dead codeVolker Lendecke1-0/+9
(This used to be commit 67c0835226e189deba5856710a1dea19ac5f30fd)
2008-07-30libwbclient: let wbcStringToSid handle the global NULL sid.Günther Deschner1-1/+1
Guenther (This used to be commit 09fed085bea9dae5bb8aacd986deed3d458e3574)
2008-07-22Fix various build warningsZach Loafman1-1/+1
This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
2008-07-17allow SID with 0 in subauthority to be converted properlyHerb Lewis1-1/+2
from string representation. (This used to be commit 23f338d1da96fd4ea3283bc96ca7d496b23bf854)
2008-06-27Fix an "invalid operation involving NULL pointer" found by the IBM checkerVolker Lendecke1-1/+5
Jerry, please check! Volker (This used to be commit eb6096a2d488d64cfa86e01be2a97e14e5773fe3)
2008-06-27Remove a strlen check that will never kick inVolker Lendecke1-2/+1
strlen(str)<2 will be caught by the explicit tests for str[0] and str[1] in the lines above this. Jerry, please check! Volker (This used to be commit 44a9e5b713c25ff2cc7215635a516f25359b045b)
2008-06-17Fix a segfault in wbcLookupRidsVolker Lendecke1-16/+21
The done: part could access uninitialized memory if intermediate BAIL_ON_WBC_ERROR fire. Jerry, please check! Thanks, Volker (cherry picked from commit 31f4c33dcc744e81be54389756378e25aa2bb75e) (This used to be commit 5b12d8aa510689114e5413be5afe6aeb6ec2d9db)
2008-06-17Fix a segfault in wbcLookupSidVolker Lendecke1-19/+29
If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain and *name have not been initialized yet. So the cleanup routine in the done: part of the routine (which did not check for domain!=NULL etc) would access uninitialized memory. Jerry, please check! Thanks, Volker (cherry picked from commit 3d7e0cc40b1992f4555807acec4f00450e30e2de) (This used to be commit ac5ba26bb0488c3fb95072d84898c02b72c5b819)
2008-06-17Replace a very unusual variable declaration by a more conventional oneVolker Lendecke1-1/+1
(This used to be commit 9c1f334af3111e93bb8dceb661e1bc5519aa94c6)
2008-05-23libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher1-1/+1
metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4) (This used to be commit e7dcbf56aef836e1b4be70b21064f65338221b5a)
2008-04-17Follow error code name convention in libwbclient.Gerald W. Carter1-5/+5
s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/ (This used to be commit d91ce012b0afb30cd22b373412d17de27c55ca86)
2008-03-28libwbclient: add wbcListUsers() and wbcListGroups()Stefan Metzmacher1-0/+142
metze (This used to be commit df127f0b40d36ea8ee605c24ea88558c7d40a7fe)
2008-03-28libwbclient: add wbcLookupUserSids()Stefan Metzmacher1-0/+82
metze (This used to be commit 38007a387a1f1b53877ef9ea518f83ecf026f4f3)
2008-01-29Fix uninitialized variablesVolker Lendecke1-5/+5
response.extra_data.data is not initialized on the first error path Found by the IBM checker (This used to be commit e9b3115c85e3d04eeaa04bfa71972d393272afca)
2008-01-24Fix missing error check that caused crash when winbindd not running.Jeremy Allison1-0/+1
Jeremy. (This used to be commit f5ca241e2c1adf2ae836fae33a4adac916f46416)
2008-01-03Some coding convention pedantism.Günther Deschner1-5/+5
Guenther (This used to be commit 338baf96cb957fa52e312d42fbf0fa227d7dafda)
2008-01-02Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.Gerald (Jerry) Carter1-18/+19
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)
2007-12-21Fix const warning.Jeremy Allison1-5/+8
Jeremy. (This used to be commit 5159f897ddaad1878fff629cc074dd71b2b3f4ab)
2007-12-21Add files for new LGPL libwbclient DSO implementing the Winbind client APIGerald (Jerry) Carter1-0/+420
(based on the winbind_struct_protocol.h). The API in incomplete, but sufficient to merge. See wbclienbt.h for the i interface functions. (This used to be commit 83d274b46078a9ace77edb822a0e336c79dcf40e)