summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
* Fix Coverity ID 589, dead codeVolker Lendecke2008-08-311-0/+9
|
* wbinfo: add change-user-password command.Günther Deschner2008-08-291-1/+33
| | | | Guenther
* libwbclient: add wbcChangeUserPassword and wbcChangeUserPasswordEx.Günther Deschner2008-08-293-1/+350
| | | | Guenther
* Fix bug 4516, no IPv6 on Solaris 2.6.David Leonard2008-08-251-3/+22
|
* nss_winbind: When returning NSS_UNAVAIL, squash errno to ENOENTGerald (Jerry) Carter2008-08-201-2/+18
| | | | | | | | | | According to the GNU libc nss guide, we should always set errno to ENOENT when returning NSS_UNAVAIL. http://www.gnu.org/software/libtool/manual/libc/NSS-Modules-Interface.html#NSS-Modules-Interface At least the MQ Series message queing service that runs on WebSphere will fail if you return any other errno in this case.
* pam_winbind: some doxygen fixes.Günther Deschner2008-08-191-24/+12
| | | | Guenther
* wbinfo: use wbinfo_prompt_pass() everywhere.Günther Deschner2008-08-191-23/+16
| | | | Guenther
* wbinfo: add wbinfo_prompt_pass.Günther Deschner2008-08-191-0/+27
| | | | Guenther
* pam_winbind: use pam error string function to display result.Günther Deschner2008-08-191-1/+2
| | | | Guenther
* pam_winbind: add _pam_error_code_str().Günther Deschner2008-08-191-0/+72
| | | | Guenther
* pam_winbind: use integer constants.Günther Deschner2008-08-191-14/+14
| | | | Guenther
* build: fix some no previous prototype warnings.Günther Deschner2008-07-301-10/+10
| | | | Guenther
* libwbclient: let wbcStringToSid handle the global NULL sid.Günther Deschner2008-07-301-1/+1
| | | | Guenther
* Remove trailing withespace from wbinfo -m which breaks gdm auth.Andreas Schneider2008-07-241-4/+5
| | | | Signed-off-by: Andreas Schneider <anschneider@suse.de>
* Fix various build warningsZach Loafman2008-07-221-1/+1
| | | | | This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start.
* allow SID with 0 in subauthority to be converted properlyHerb Lewis2008-07-171-1/+2
| | | | from string representation.
* 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.
* Fix an "invalid operation involving NULL pointer" found by the IBM checkerVolker Lendecke2008-06-271-1/+5
| | | | | | Jerry, please check! Volker
* 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
* 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)
* 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)
* Replace a very unusual variable declaration by a more conventional oneVolker Lendecke2008-06-171-1/+1
|
* Fix a memleak in wbcAuthenticateUserEx()Volker Lendecke2008-06-171-0/+2
| | | | (cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807)
* 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)
* 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)
* pam_winbind: Update cached creds during password change.Günther Deschner2008-06-111-0/+4
| | | | | | Fix is from Bo Yang @ Novell. Thanks!
* Fix the compile on NetBSD -- missing prototypesVolker Lendecke2008-06-091-0/+39
| | | | (cherry picked from commit 11236d266e3703eb3aca4b96e2ed9da76614ec12)
* 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
* wbinfo: prompt for password when none has been given.Günther Deschner2008-05-271-1/+18
| | | | Guenther
* libwbclient: fix typo.Günther Deschner2008-05-271-1/+1
| | | | Guenther
* libwbclient: add wbcLibraryDetails()Stefan Metzmacher2008-05-232-0/+38
| | | | | metze (cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f)
* libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher2008-05-233-5/+5
| | | | | metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4)
* Fix build warning.Günther Deschner2008-05-151-1/+0
| | | | Guenther
* libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().coffeedude2008-05-134-3/+159
| | | | | Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME ops.
* wins: fix null pointer crash in nss_wins module.Günther Deschner2008-05-071-0/+3
| | | | Guenther
* 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.
* 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.
* 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
* 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
* Remove unused variable from wbcCheckTrustCredentials().Gerald W. Carter2008-04-171-1/+0
|
* Convert "wbinfo -m" to use wbcListTrusts() API call.Gerald W. Carter2008-04-171-84/+50
|
* Add wbcListTrusts() API call to libwbclient.soGerald W. Carter2008-04-172-6/+238
|
* Follow error code name convention in libwbclient.Gerald W. Carter2008-04-174-14/+14
| | | | s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/
* wbinfo: use wbcCheckTrustCredentials()Stefan Metzmacher2008-04-171-10/+12
| | | | metze
* 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
* wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-171-26/+16
| | | | metze
* libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-172-0/+87
| | | | metze
* nsswitch: remove unused nsswitch/wb_client.cStefan Metzmacher2008-04-111-96/+0
| | | | metze
* libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher2008-04-112-0/+157
| | | | metze
* fix some extrasemi compile warningsBjörn Jacke2008-04-101-1/+1
|