summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient
AgeCommit message (Collapse)AuthorFilesLines
2008-05-27libwbclient: fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit 83c4a278dfefcef14a9640d319ddf5c7392cd16e)
2008-05-23libwbclient: add wbcLibraryDetails()Stefan Metzmacher2-0/+38
metze (cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f) (This used to be commit 196d9017627220786d8b726dc0d02e16e96c4c05)
2008-05-23libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher3-5/+5
metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4) (This used to be commit e7dcbf56aef836e1b4be70b21064f65338221b5a)
2008-05-15Fix build warning.Günther Deschner1-1/+0
Guenther (This used to be commit e90a4ce3c24ab2a33e34da5a9052a3b3ec4db962)
2008-05-13libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().coffeedude4-3/+159
Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME ops. (This used to be commit cb5e8f60ac3313aec726c01687a040e6e0e42c10)
2008-04-23Mark a domain offline in the wbcDomainInfo structure using the domain_flags.Gerald W. Carter2-1/+15
Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the domain is marked as offline by Winbind. (This used to be commit 59cfba2c3d6d4594f08cbe3b7295ab36a7cfb044)
2008-04-23Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXXGerald W. Carter2-7/+7
Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags. (This used to be commit 1cb2305fc96be0c190621f7c86c0476e4ea1fff7)
2008-04-20libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam2-3/+3
char ** Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael (This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
2008-04-20libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam2-3/+3
This fixes a compile warning and seems the correct thing to me as the returned data is talloc_strdup't, so not const anyways. Michael (This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
2008-04-17Remove unused variable from wbcCheckTrustCredentials().Gerald W. Carter1-1/+0
(This used to be commit fea52dc46048ff869299267f7596b93a8c5c8b3d)
2008-04-17Add wbcListTrusts() API call to libwbclient.soGerald W. Carter2-6/+238
(This used to be commit 5c454e77cf664fee65fcb03e5811764c92e73696)
2008-04-17Follow error code name convention in libwbclient.Gerald W. Carter4-14/+14
s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/ (This used to be commit d91ce012b0afb30cd22b373412d17de27c55ca86)
2008-04-17libwbclient: add wbcCheckTrustCredentials()Stefan Metzmacher2-0/+58
This only accepts NULL as domain for now, because winbindd doesn't support checking trust passwords as a domain controller. metze (This used to be commit c084ccd70f42ce29ce24565969a9f440dde254e1)
2008-04-17libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2-0/+87
metze (This used to be commit 57ba71140fbf6b4a5a917fa3248fa76536be883b)
2008-04-11libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher2-0/+157
metze (This used to be commit 364e146805bb74b46da4d3c187e9a684d4b99a01)
2008-04-10fix some extrasemi compile warningsBjörn Jacke1-1/+1
(This used to be commit cbdb79b7a1044945e515a294f487e4c1a9c91be5)
2008-04-06libwbclient: add wbcGetGroups()Stefan Metzmacher2-0/+64
metze (This used to be commit 596d030b976102e7476a2460fce355914c4e8210)
2008-04-06wbcAllocateGid returns a gid_t, not a uid_tVolker Lendecke2-2/+2
(This used to be commit 3130fb7b32285b8501f5ee8cbc62b478c09cccd3)
2008-04-01libwbclient: add wbcInterfaceDetails()Stefan Metzmacher2-0/+90
metze (This used to be commit fee3806326b9ba214e35868271e6481c0c8b9c4b)
2008-04-01libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macroStefan Metzmacher1-4/+5
metze (This used to be commit de2e8d5db93d32e5ebf04a2018a08f766eb9a233)
2008-03-28libwbclient: remove prototype of non existing wbcDomainSequenceNumbers()Stefan Metzmacher1-2/+0
metze (This used to be commit 7a4de23aa318bd24948e576a5582a5c74d335154)
2008-03-28libwbclient: add wbcListUsers() and wbcListGroups()Stefan Metzmacher2-0/+150
metze (This used to be commit df127f0b40d36ea8ee605c24ea88558c7d40a7fe)
2008-03-28libwbclient: add wbcLookupUserSids()Stefan Metzmacher2-0/+87
metze (This used to be commit 38007a387a1f1b53877ef9ea518f83ecf026f4f3)
2008-03-27libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).Michael Adam1-2/+1
I leave the more explicit error path in the "if (cmd == 0)" block. Michael (This used to be commit 2ae19b5fb89e0a992962af14a81b641bf13b7892)
2008-03-26Fix wbcAuthenticateUserEx().Günther Deschner1-1/+1
Guenther (This used to be commit 79f7a519f8f61a31d84467c5b5975cae13db1c29)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit d993b4c3cea6ead74ff1e031ee9a42f2aa39a9f1)
2008-02-15Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-37/+91
v3-2-test (This used to be commit 847874ca757ac8ca32082305c8caed5abc7fed1d)
2008-02-15libwbclient: let wbcAuthenticateUser() use wbcAuthenticateUserEx()Stefan Metzmacher1-21/+7
metze (This used to be commit 237c2e9738ae29ca7046d6f886d6f777a6206045)
2008-02-15libwbclient: implement WBC_AUTH_USER_LEVEL_PLAIN in wbcAuthenticateUserEx()Stefan Metzmacher1-4/+36
metze (This used to be commit 423f139fd37496db2e690f20399357496367ed7c)
2008-02-15libwbclient: wbcAuthenticateUserEx() be more strict regarding invalid parametersStefan Metzmacher1-12/+48
metze (This used to be commit 491ba9c0c9d479bc686c75242a3749f14d103fcd)
2008-02-14Fix "warning: 'cmd' may be used uninitialized in this function"Jeremy Allison1-0/+3
Jeremy. (This used to be commit 58b0f022ffce7fda531f6f8ea7392a963e8ec0c5)
2008-02-13libwbclient: add wbcAuthenticateUserEx() functionStefan Metzmacher3-1/+460
This function will be used by auth_winbind.c. metze (This used to be commit 72af96a320a97ce1a730d6e33d01950123d6a97c)
2008-02-11libwbclient: implement wbcErrorString()Stefan Metzmacher2-1/+35
metze (This used to be commit 97a8069075d820c43c17e761b1186d4f0b3c785d)
2008-01-30Fix build warning.Günther Deschner1-1/+0
Guenther (This used to be commit a3417be934e34af2525ddb731af288034d51432b)
2008-01-29Fix uninitialized variablesVolker Lendecke2-15/+15
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-29Allow NULL request and/or response pointers to be passed to ↵Gerald W. Carter1-5/+1
wbcRequestResponse(). This is a valid parameter set for things like setpwent() and ping(). (This used to be commit c1cdf6085329d55cf29ccc8c980fc853a03a695e)
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-21libwbclient: use the same style in each switch case for the error mappingStefan Metzmacher1-2/+2
metze (This used to be commit 0b85f7173d0770f8d9a0bac9e43355eb45bc181f)
2008-01-15libwbclient: move wbc_err.h into wbclient.h as we only install one headerStefan Metzmacher2-52/+26
This makes the installed wbclient.h header usable. metze (This used to be commit 7dd65599a15bf1d164fcfa554c8057d43c51eb6d)
2008-01-03Some coding convention pedantism.Günther Deschner5-17/+17
Guenther (This used to be commit 338baf96cb957fa52e312d42fbf0fa227d7dafda)
2008-01-02Fix some C++ warnings (patch was Volker's) - implicit case from void* to char*Gerald (Jerry) Carter1-2/+4
(This used to be commit 518168410c49ac25085714c73e76dcf358fc4b68)
2008-01-02Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.Gerald (Jerry) Carter2-22/+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-23Fix wbcAllocate[GU]idVolker Lendecke1-12/+14
wbcRequestResponse() returns a wbcErr, not NSS_STATUS (This used to be commit 1bbdbdef991408af07afaba7bc0b4da55f06aed8)
2007-12-23Fix wbcPing()Volker Lendecke1-1/+9
Without request and response, wbcRequestResponse() will always return WBC_ERR_INVALID_PARAM, so the ping will never reach winbind. (This used to be commit 9a24753d35a4b1a283a65c60088d82e4b80f14c8)
2007-12-21Fix const warning.Jeremy Allison1-5/+8
Jeremy. (This used to be commit 5159f897ddaad1878fff629cc074dd71b2b3f4ab)
2007-12-21Compile fix: Correct use of wbcDomainInfo() after function signature change.Gerald (Jerry) Carter1-1/+1
Also fixes a doxygen warngin about an undocumented parameter in the same function. (This used to be commit 290ab64e9e5fb2a28e14a5f344f22119d5304563)
2007-12-21Add files for new LGPL libwbclient DSO implementing the Winbind client APIGerald (Jerry) Carter12-0/+3000
(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)