summaryrefslogtreecommitdiff
path: root/nsswitch/pam_winbind.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-19pam_winbind: match more return codes when wbcGetPwnam has failed.Günther Deschner1-0/+3
This is required to properly return PAM_USER_UNKNOWN in case winbind had a problem. Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed Sep 19 15:06:10 CEST 2012 on sn-devel-104
2012-09-12nsswitch: fix crash on null pam change pw responseLuca Lorenzetto1-1/+1
The function _pam_winbind_change_pwd crashes due to a null value passed to the function strcasecmp and denies to login via graphical login manager. Check for a null value before doing a strcasecmp. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1003296 Bug: https://bugzilla.samba.org/show_bug.cgi?id=9013 Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Sep 12 00:07:28 CEST 2012 on sn-devel-104
2012-04-24Fix pam_winbind build against newer iniparser librarySimo Sorce1-4/+4
iniparser_getstr is deprecated and has been removed in newer libraries available in Fedora. Use iniparse_getstring instead. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 24 02:56:10 CEST 2012 on sn-devel-104
2012-01-06s3: No value change, just use the correct enum valueVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 6 16:33:42 CET 2012 on sn-devel-104
2011-10-27nsswitch: Disable uid_wrapper in libwbclient.Andreas Schneider1-0/+2
This way we don't have to link against it in the autoconf build.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-01Remove a PATH_MAX.Jeremy Allison1-2/+3
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-2/+0
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-14/+14
2011-03-05pam_winbind: Use wbcSidToStringBufVolker Lendecke1-12/+3
2011-03-05nsswitch: wbcFreeMemory deals fine with NULLVolker Lendecke1-3/+1
2010-07-17pam_winbind: Fix shadowing a global on FreeBSDVolker Lendecke1-5/+5
FreeBSD defines a function pam_error()
2010-06-29s3-winbind: Make sure we crash if domain is really not found.Andreas Schneider1-1/+1
Found by clang-analyzer.
2010-03-06s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.Bo Yang1-1/+1
Signed-off-by: Bo Yang <boyang@samba.org>
2010-03-03nsswitch: libpam remove depedance on locale.h use directly LOCALEDIRMatthieu Patou1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-06pam_winbind: Remove a nested if-statement. Bo, please check!Volker Lendecke1-4/+2
2010-02-06pam_winbind: Use strchr instead of strstr for a single characterVolker Lendecke1-1/+1
2010-02-07s3: Fix malformed require_membership_of_sid.Bo Yang1-0/+12
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10s3: check for PAM_RADIO_TYPE.Bo Yang1-3/+1
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10s3: Fix build on non-linux platform.Bo Yang1-0/+8
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10s3: Give the user a chance to change password when password will expire soon.Bo Yang1-11/+109
Signed-off-by: Bo Yang <boyang@samba.org>
2009-11-14pam_winbind: fix a printf type mismatch warningBjörn Jacke1-2/+2
2009-10-24s3: Fix crash in pam_winbind, another reference to freed memory.Bo Yang1-3/+7
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-20s3: Don't fail authentication when one or some group of ↵Bo Yang1-2/+23
require-membership-of is invalid. Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-14Fix the build, missing ->.Jeremy Allison1-2/+2
Jeremy.
2009-10-15s3: Fix reference to freed memory in pam_winbind.Bo Yang1-2/+3
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-08winbind: adapt the new reject constants also thereMatthias Dieter Wallnöfer1-4/+4
Please note: in the past the value "0" was misinterpreted as other error. This isn't true. "0" means no error. Therefore a solution for this one has to found.
2009-09-16s3: Don't overwrite password in pam_winbind, subsequent pam modulesBo Yang1-4/+0
might use the old password and new password. Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-18s3: add failure check.Bo Yang1-1/+4
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-18s3: compile warning and upn handlingBo Yang1-13/+24
Signed-off-by: Bo Yang <boyang@samba.org>
2009-06-19s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.Günther Deschner1-1/+2
Based on patch from Blindauer Emmanuel <samba@mooby.net>. Guenther
2009-05-05s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.Günther Deschner1-1/+1
Patch from Blindauer Emmanuel <samba@mooby.net>. Guenther
2009-04-03s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.Günther Deschner1-0/+1
Patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
2009-04-03s3-nsswitch: Fix Bug #6238. Make sure logoff is bla bla.Günther Deschner1-2/+2
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
2009-01-19Avoid flooding of syslog with failing pam_putenv messages.Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Günther Deschner <gd@samba.org>
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin1-0/+3204
Don't move source4 files yet to not confuse git's rename tracking too much.