Simo Sorce
adbace20a2
Fix pam_winbind build against newer iniparser library
...
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-04-24 02:56:10 +02:00
Volker Lendecke
487c9d3b83
s3: No value change, just use the correct enum value
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 6 16:33:42 CET 2012 on sn-devel-104
2012-01-06 16:33:42 +01:00
Andreas Schneider
8682c32c1a
nsswitch: Disable uid_wrapper in libwbclient.
...
This way we don't have to link against it in the autoconf build.
2011-10-27 13:32:01 +02:00
Andrew Bartlett
ad0a07c531
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Jeremy Allison
388bba05cf
Remove a PATH_MAX.
2011-06-01 16:07:42 -07:00
Jeremy Allison
7d6ebe0de7
More const fixes. Remove CONST_DISCARD.
2011-05-06 01:44:07 +02:00
Jeremy Allison
e131c94ac1
More const fixes for compiler warnings from the waf build.
2011-05-05 23:56:07 +02:00
Volker Lendecke
e0fae3d494
pam_winbind: Use wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
Volker Lendecke
181b23ceed
nsswitch: wbcFreeMemory deals fine with NULL
2011-03-05 14:29:32 +01:00
Volker Lendecke
bd54969d9b
pam_winbind: Fix shadowing a global on FreeBSD
...
FreeBSD defines a function pam_error()
2010-07-17 21:48:35 +02:00
Andreas Schneider
f324036e76
s3-winbind: Make sure we crash if domain is really not found.
...
Found by clang-analyzer.
2010-06-29 11:12:12 +02:00
Bo Yang
ef0b4e4687
s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2010-03-06 01:53:13 +08:00
Matthieu Patou
db6781833d
nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03 09:22:38 +01:00
Volker Lendecke
65710dae84
pam_winbind: Remove a nested if-statement. Bo, please check!
2010-02-06 12:57:32 +01:00
Volker Lendecke
8cb6f7ec1b
pam_winbind: Use strchr instead of strstr for a single character
2010-02-06 12:57:32 +01:00
Bo Yang
913a9f4e42
s3: Fix malformed require_membership_of_sid.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-07 14:55:25 +08:00
Bo Yang
c7e3a2dc31
s3: check for PAM_RADIO_TYPE.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 19:29:24 +08:00
Bo Yang
b386c3311d
s3: Fix build on non-linux platform.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 17:22:25 +08:00
Bo Yang
f7723293a0
s3: Give the user a chance to change password when password will expire soon.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-10 14:38:28 +08:00
Björn Jacke
5377d5f894
pam_winbind: fix a printf type mismatch warning
2009-11-14 01:54:53 +01:00
Bo Yang
b9a3f1dd85
s3: Fix crash in pam_winbind, another reference to freed memory.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-24 09:36:23 +08:00
Bo Yang
31f1a36901
s3: Don't fail authentication when one or some group of require-membership-of is invalid.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-20 02:05:58 +08:00
Jeremy Allison
1c1a883bd0
Fix the build, missing ->.
...
Jeremy.
2009-10-14 12:36:02 -07:00
Bo Yang
8e91c40574
s3: Fix reference to freed memory in pam_winbind.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-15 04:31:26 +08:00
Matthias Dieter Wallnöfer
1e2f455b4a
winbind: adapt the new reject constants also there
...
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-10-08 11:01:22 +02:00
Bo Yang
89ed2af69d
s3: Don't overwrite password in pam_winbind, subsequent pam modules
...
might use the old password and new password.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-09-16 22:03:57 +08:00
Bo Yang
f394fa7766
s3: add failure check.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-18 14:12:26 +08:00
Bo Yang
b180fe34a7
s3: compile warning and upn handling
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-18 10:47:45 +08:00
Günther Deschner
5d40677a9b
s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.
...
Based on patch from Blindauer Emmanuel <samba@mooby.net>.
Guenther
2009-06-19 01:59:17 +02:00
Günther Deschner
290449aeae
s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.
...
Patch from Blindauer Emmanuel <samba@mooby.net>.
Guenther
2009-05-05 12:54:21 +02:00
Günther Deschner
43372b2740
s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.
...
Patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
2009-04-03 12:53:35 +02:00
Günther Deschner
09265bcff5
s3-nsswitch: Fix Bug #6238 . Make sure logoff is bla bla.
...
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
2009-04-03 09:57:53 +02:00
Andreas Schneider
aa79f76b0c
Avoid flooding of syslog with failing pam_putenv messages.
...
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Günther Deschner <gd@samba.org>
2009-01-19 16:49:35 +01:00
Kai Blin
6821d898d7
nsswitch: Move source3 files to top level dir.
...
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16 13:02:45 +01:00