summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
* Allow authentication and memory credential refresh after password change ↵Jeremy Allison2008-07-071-7/+14
| | | | | | | from gdm/xdm. Patch from boyang <boyang@novell.com>. Jeremy. (This used to be commit 8cfc6afc7b4a6af9aea5f5a7cb5af7e3218c2d75)
* Fix an "invalid operation involving NULL pointer" found by the IBM checkerVolker Lendecke2008-06-271-1/+5
| | | | | | | Jerry, please check! Volker (This used to be commit eb6096a2d488d64cfa86e01be2a97e14e5773fe3)
* Remove a strlen check that will never kick inVolker Lendecke2008-06-271-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)
* Fix a segfault in wbcLookupRidsVolker Lendecke2008-06-171-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)
* Fix a segfault in wbcLookupSidVolker Lendecke2008-06-171-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)
* Replace a very unusual variable declaration by a more conventional oneVolker Lendecke2008-06-171-1/+1
| | | | (This used to be commit 9c1f334af3111e93bb8dceb661e1bc5519aa94c6)
* Fix a memleak in wbcAuthenticateUserEx()Volker Lendecke2008-06-171-0/+2
| | | | | (cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807) (This used to be commit 20110ee5f181168dc1cbc08b7c22820d68204960)
* Fix an uninitialized variable found by the IBM checkerVolker Lendecke2008-06-151-5/+5
| | | | | | | | | | | BAIL_ON_PTR_ERROR jumps to done: which will access extra_data before it's initialized. Stefan, please check! Volker (cherry picked from commit b59636f78d351ed6d52c4a9fdccdb7850388526c) (This used to be commit 5663587e5e4703f9e3ff6d78d1f3248053ccd4c0)
* Fix group parsing in libwbclient's copy_group_entry()Volker Lendecke2008-06-151-4/+6
| | | | | | | | | This (also) fixes a flaw pointed out by the IBM checker. When verifying that I found out that the parsing was not working as I would have expected it to. Jerry, please check! (cherry picked from commit c2c7790155ab02e1e351caf2bed192ce72913663) (This used to be commit 26c05a52b73763dad5ad0525dab6e20014c3f8d6)
* pam_winbind: Update cached creds during password change.Günther Deschner2008-06-111-0/+4
| | | | | | | Fix is from Bo Yang @ Novell. Thanks! (This used to be commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
* Fix the compile on NetBSD -- missing prototypesVolker Lendecke2008-06-091-0/+39
| | | | | (cherry picked from commit 11236d266e3703eb3aca4b96e2ed9da76614ec12) (This used to be commit d25408f83d03fae9d6b589b005db9a3af823e652)
* pam_winbind: fix pam_sm_chauthtok for storing modified cached creds.Günther Deschner2008-06-061-1/+16
| | | | | | | Thanks to Bo Yang for pointing this out. Guenther (This used to be commit 516a067016955938988ab37c777102a14b41e100)
* wbinfo: prompt for password when none has been given.Günther Deschner2008-05-271-1/+18
| | | | | Guenther (This used to be commit 7c1f36d84a4c5779ea86923be69e209d0c9c0943)
* libwbclient: fix typo.Günther Deschner2008-05-271-1/+1
| | | | | Guenther (This used to be commit 83c4a278dfefcef14a9640d319ddf5c7392cd16e)
* libwbclient: add wbcLibraryDetails()Stefan Metzmacher2008-05-232-0/+38
| | | | | | metze (cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f) (This used to be commit 196d9017627220786d8b726dc0d02e16e96c4c05)
* libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher2008-05-233-5/+5
| | | | | | metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4) (This used to be commit e7dcbf56aef836e1b4be70b21064f65338221b5a)
* Fix build warning.Günther Deschner2008-05-151-1/+0
| | | | | Guenther (This used to be commit e90a4ce3c24ab2a33e34da5a9052a3b3ec4db962)
* libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().coffeedude2008-05-134-3/+159
| | | | | | Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME ops. (This used to be commit cb5e8f60ac3313aec726c01687a040e6e0e42c10)
* wins: fix null pointer crash in nss_wins module.Günther Deschner2008-05-071-0/+3
| | | | | Guenther (This used to be commit 5bf47ebf0fb9f7d94ed36bce6bcaa31b508009bd)
* Mark a domain offline in the wbcDomainInfo structure using the domain_flags.Gerald W. Carter2008-04-233-24/+50
| | | | | | 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)
* Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXXGerald W. Carter2008-04-233-10/+10
| | | | | Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags. (This used to be commit 1cb2305fc96be0c190621f7c86c0476e4ea1fff7)
* libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam2008-04-203-4/+4
| | | | | | | | | | 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)
* libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam2008-04-203-4/+4
| | | | | | | | 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)
* Remove unused variable from wbcCheckTrustCredentials().Gerald W. Carter2008-04-171-1/+0
| | | | (This used to be commit fea52dc46048ff869299267f7596b93a8c5c8b3d)
* Convert "wbinfo -m" to use wbcListTrusts() API call.Gerald W. Carter2008-04-171-84/+50
| | | | (This used to be commit 2fbe8437efe232b6f53af6fafed5995fe7e26820)
* Add wbcListTrusts() API call to libwbclient.soGerald W. Carter2008-04-172-6/+238
| | | | (This used to be commit 5c454e77cf664fee65fcb03e5811764c92e73696)
* Follow error code name convention in libwbclient.Gerald W. Carter2008-04-174-14/+14
| | | | | s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/ (This used to be commit d91ce012b0afb30cd22b373412d17de27c55ca86)
* wbinfo: use wbcCheckTrustCredentials()Stefan Metzmacher2008-04-171-10/+12
| | | | | metze (This used to be commit 2cbe5a006a6df79c38f4aaa68d498cd6d5a34dba)
* libwbclient: add wbcCheckTrustCredentials()Stefan Metzmacher2008-04-172-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)
* wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-171-26/+16
| | | | | metze (This used to be commit a4f628d6c9e2a5761c048e268a29e1f5daae4180)
* libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-172-0/+87
| | | | | metze (This used to be commit 57ba71140fbf6b4a5a917fa3248fa76536be883b)
* nsswitch: remove unused nsswitch/wb_client.cStefan Metzmacher2008-04-111-96/+0
| | | | | metze (This used to be commit 2b236c7ace15b4408c31ed918b449d5a22e1769f)
* libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher2008-04-112-0/+157
| | | | | metze (This used to be commit 364e146805bb74b46da4d3c187e9a684d4b99a01)
* fix some extrasemi compile warningsBjörn Jacke2008-04-101-1/+1
| | | | (This used to be commit cbdb79b7a1044945e515a294f487e4c1a9c91be5)
* Fix an uninitialized variableVolker Lendecke2008-04-071-1/+1
| | | | (This used to be commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)
* wbinfo: make use of wbcGetGroups()Stefan Metzmacher2008-04-061-16/+12
| | | | | metze (This used to be commit c78f4dc043523842cf42f1a3fd4e8f3855518efa)
* libwbclient: add wbcGetGroups()Stefan Metzmacher2008-04-062-0/+64
| | | | | metze (This used to be commit 596d030b976102e7476a2460fce355914c4e8210)
* Fix a C++ warningVolker Lendecke2008-04-061-1/+1
| | | | (This used to be commit c274fe7d21badb42ca8d4d1115ae6bffdb19485f)
* Remove external refs to winbindd_fdVolker Lendecke2008-04-061-2/+0
| | | | (This used to be commit 18bf2b2028e64403a79b7cc06d3185a3e526d97d)
* wbcAllocateGid returns a gid_t, not a uid_tVolker Lendecke2008-04-062-2/+2
| | | | (This used to be commit 3130fb7b32285b8501f5ee8cbc62b478c09cccd3)
* Fix pam_winbind macros.Günther Deschner2008-04-032-14/+14
| | | | | Guenther (This used to be commit 37091859126167e84e55afe8a32025ac0f65065e)
* Use pwb_context in pam_winbind.Günther Deschner2008-04-031-391/+343
| | | | | Guenther (This used to be commit bf960f57e7adf09cdf096f2c72065ea1ff8b0daa)
* Add _pam_winbind_init/free_context.Günther Deschner2008-04-031-0/+39
| | | | | Guenther (This used to be commit d62676cf886d910334b3d6f7ce0147b75ef53aec)
* Add pwb_context to pam_winbind.h.Günther Deschner2008-04-031-0/+9
| | | | | Guenther (This used to be commit fe8acb064433b286938e0b572ca1faa8a54414b7)
* Make more functions in pam_winbind static.Günther Deschner2008-04-031-30/+30
| | | | | Guenther (This used to be commit ea2175ee0e6288ccb132e86b9dd0bf8a0e4169c9)
* wbinfo: use wbcLookupNames()Stefan Metzmacher2008-04-031-10/+20
| | | | | metze (This used to be commit 9d0e5a13215d4904084e81fde6098c70ee4d4636)
* wbinfo: use wbcLookupRids()Stefan Metzmacher2008-04-031-33/+40
| | | | | metze (This used to be commit 046b26b763b16362dd662a77b2434641bf583bc2)
* wbinfo: use wbcLookupSid()Stefan Metzmacher2008-04-031-12/+15
| | | | | metze (This used to be commit b917be4986bd55aeffae03b08cf476ea6302fa26)
* wbinfo: catch NULL domain string as in other placesStefan Metzmacher2008-04-031-1/+1
| | | | | metze (This used to be commit ff4611832a0b498b83590279a7153e606a4720f5)
* wbinfo: use wbcInterfaceDetails()Stefan Metzmacher2008-04-011-19/+25
| | | | | metze (This used to be commit ff87260f1268d190170608b0808c191ef8f3e942)