summaryrefslogtreecommitdiff
path: root/nsswitch/pam_winbind.h
Commit message (Collapse)AuthorAgeFilesLines
* nsswitch: Add try_authtok option to pam_winbindMathieu Parent2018-10-021-0/+1
| | | | | | | | | | | | Same as the use_authtok option, except that if the new password is not valid, PAM will prompt for a password. Bug-Debian: https://bugs.debian.org/858923 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/570944 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* nsswitch: remove unused TALLOC_* defines in pam_winbind.hStefan Metzmacher2017-01-111-6/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* pam_winbind: Create and use a wbclient contextAndreas Schneider2016-03-251-0/+1
| | | | | | | | | | | | | | | | PAM sessions are long running. If we create a pam session a connection to winbind is established and only closed by the destructor of the libwbclient library. If we create a wbcContext, we will free it in the end of the PAM function being called and the socket will be closed. This decreases the amount of allocated 'winbindd_cli_state' structures in winbind for every logged in user. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Mar 25 17:45:24 CET 2016 on sn-devel-144
* Replace all uses of iniparser with tiniparser.Jeremy Allison2014-08-141-3/+2
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* nsswitch: fix a commentChristian Ambach2013-06-251-1/+1
| | | | | | | the beginning if is only ifdef LINUX now, not the long list this comment refers to Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* nsswitch/pam_winbind.h: fix licence/copyright.Günther Deschner2011-06-101-0/+48
| | | | Guenther
* nsswitch: libpam remove depedance on locale.h use directly LOCALEDIRMatthieu Patou2010-03-031-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* nsswitch: only define TALLOC_ZERO if neededStefan Metzmacher2009-03-161-0/+2
| | | | metze
* talloc: Change the two other definitions of TALLOC_FREE to match the primary ↵Tim Prouty2009-01-231-1/+1
| | | | | | | | version Eventually these two other definitions should be removed and all of the TALLOC macros should live in the same header. Until then, this patch eliminates some build warnings.
* Tweak with pam defines of older Linux versionsLars Müller2008-12-171-1/+8
| | | | | | | PAM_AUTHTOK_RECOVERY_ERR is not defined by older Linux versions (SUSE Linux Enterprise 9 and RedHat Enterprise 4). Patch suggested by Philipp Thomas <pth at suse dot de>.
* nsswitch: Move source3 files to top level dir.Kai Blin2008-12-161-0/+169
Don't move source4 files yet to not confuse git's rename tracking too much.