summaryrefslogtreecommitdiffstats
path: root/source3/pam_smbpass
Commit message (Collapse)AuthorAgeFilesLines
* s3:pam_smbpass: explicitly use allow_warnings=TrueStefan Metzmacher2014-04-021-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* pam_smbpass: Wrap calls in talloc_stackframe() to avoid warnings about ↵Andrew Bartlett2014-04-023-1/+31
| | | | | | | | | | | | leaking memory Any code in source3 is permitted to use talloc_tos() at any point, so we must protect all the library interfaces against memory leaks this way. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:pam_smbpass change includesChristian Ambach2013-12-071-7/+4
| | | | | | | use the ones from libreplace instead of system ones Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* waf: Build pam_smbpass module only if enabled.Andreas Schneider2012-10-041-1/+2
|
* s3-waf: create a smbldap.so library.Günther Deschner2011-11-161-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 16 14:03:05 CET 2011 on sn-devel-104
* waf: install pam modules in PAMMODULESDIR.Günther Deschner2011-09-061-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Sep 6 11:09:45 CEST 2011 on sn-devel-104
* s3:pam_smbpass: use lp_load_client() in pam_smbpassMichael Adam2011-07-284-4/+1
|
* s3-waf: the passdb subsystem needs to be called pdbAndrew Tridgell2011-07-281-1/+1
| | | | | | | | | the 'pdb' name is builtin to the passdb module loading code as a fixed string. We need to call the subsystem pdb so that external passdb modules end up in bin/modules/pdb/ where they can be found by the Samba3 module loader Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-build allow_undefined_symbols=False is the default nowAndrew Bartlett2011-07-041-1/+0
|
* s3-build: Provide a run-time shim to work around duplicate symbolsAndrew Bartlett2011-06-211-1/+1
| | | | | | | | | | | | | | | | The become_root() and similar 'smbd' functions that are used widely in Samba libraries had 'dummy' copies in dummysmbd.c and dummyroot.c. These have been replaced by a runtime plugin mechanim, which ensures that standlone binaries still do nothing, while in smbd the correct function is used. This avoids having these as duplicate symbols in the smbd binary, which can cause unpredictable behaviour. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-build Don't allow undefined symbols in pam_smbpass.soAndrew Bartlett2011-05-311-0/+1
|
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-4/+4
|
* lib: make asn1_util a private libraryAndrew Tridgell2011-04-061-1/+1
| | | | | | | this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* lib/util: new merged debug systemAndrew Bartlett2011-03-011-1/+1
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* s3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).Günther Deschner2011-02-231-1/+1
| | | | Guenther
* s3-waf: move GROUPDB into libpassdb.so.Günther Deschner2011-02-231-1/+1
| | | | Guenther
* s3-waf: convert some subsystems into private librariesAndrew Tridgell2011-02-221-1/+1
| | | | | | | put some commonly used subsystems into private libraries to reduce the install size Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett2011-02-183-3/+3
| | | | | | | | | | When called from a library, we don't want to call this, as we may overwrite some of our calling program's context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
* s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell2011-02-181-1/+1
| | | | | | | | | | this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pam: share pam errors in a common location.Günther Deschner2011-02-082-1/+2
| | | | Guenther
* s3-waf: check for "WITH_PAM_MODULES" to determine pam_smbpass build.Günther Deschner2010-12-141-1/+1
| | | | Guenther
* s3-waf: fix pamsmbpass libwbclient dependency.Günther Deschner2010-12-141-1/+1
| | | | Guenther
* s3-waf: add pam_smbpass.Günther Deschner2010-09-281-0/+13
| | | | Guenther
* s3: Use asprintf where appropriateVolker Lendecke2010-09-223-16/+7
|
* s3: Fix pam_smbpass logging on FreeBSDVolker Lendecke2010-09-221-8/+6
|
* s3-passdb: include samr.h where needed.Günther Deschner2010-08-061-0/+2
| | | | Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-pam_smbpass: Remove obsolete signal type cast.Andreas Schneider2010-02-233-21/+21
|
* s3:pam_smbpass: fix build error on some Linux distrosBjörn Jacke2009-07-031-1/+1
| | | | This addresses bug #6459.
* s3:pam_smbpass: make smb_update_db() static.Michael Adam2009-05-291-1/+1
| | | | Michael
* s3: fix building of pam_smbpass.Bo Yang2009-05-291-0/+14
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3:pam_smbpass: don't call openlog() or closelog() from pam_smbpassBjörn Jacke2009-05-265-80/+104
| | | | | | | | | Patch from Steve Langasek with tiny fixes by me to make it apply to master. Also see Debian bug #434372 and bugzilla #4831. Calling openlog() or closelog() inside a pam module is not good as these functions are not stackable and no program won't re-do openlog() just because a pam module might have called closelog().
* s3-pamsmbpass: copy _pam_get_item and _pam_get_data from pam_winbind.Günther Deschner2009-05-254-15/+42
| | | | Guenther
* s3:fix build of the pam_smbpass shared moduleMichael Adam2009-04-271-0/+2
| | | | Michael
* Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.Jeremy Allison2008-07-021-8/+11
| | | | | | Reported by hongbing Zhang <hongbing.zhang@gmail.com>. Jeremy. (This used to be commit ade27d8baa03816b6f5f480096dfb90f3e231e6a)
* Reformat: Remove indentation of part of pam_smbpass/support.c by one tab.Michael Adam2008-03-101-102/+102
| | | | | | | | The first 120 lines of this source file were indented by one tab. Sorry, but I could not stand this.. Michael (This used to be commit 728723dea39b2e978bfc4162ef99e883f3647a4b)
* Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2008-03-063-7/+3
| | | | | Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
* Fix build for pam_smbpassAlexander Bokovoy2008-01-162-2/+2
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> (This used to be commit dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f)
* Fix pam_smbpass buildAlexander Bokovoy2007-12-131-6/+2
| | | | (This used to be commit fbc510f1717fe82338262c18c252d18987c55b5c)
* Fix bug #3727 with patch from Steve Langasek <vorlon@debian.org>Jeremy Allison2007-12-123-1/+17
| | | | | Jeremy. (This used to be commit 0723760ba47a465d2ff5a22a680f1b5196eca7d8)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-2/+2
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison2007-11-212-89/+70
| | | | | | return malloced strings. Jeremy. (This used to be commit f652fe2bdb7a3a36e83dcf4b08347543fdffb9f0)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-184-8/+8
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-103-6/+3
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-104-4/+4
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23121: Fix Bug #2727 and let pam_smbpass at least link and dlopen correctly ↵Günther Deschner2007-10-104-4/+4
| | | | | | | | | again. Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>. Guenther (This used to be commit ba956ab8e4097d46bbad12caf2fad6857f463618)
* r23095: Support systems that have their PAM headers in /usr/include/pam.James Peach2007-10-104-0/+32
| | | | (This used to be commit f1e8de4b576b3954d456cb64c02417908bab8da4)
* r16241: Fix Klocwork #106 and others like it.Jeremy Allison2007-10-102-145/+155
| | | | | | | | | | | | | | | Make 2 important changes. pdb_get_methods() returning NULL is a *fatal* error. Don't try and cope with it just call smb_panic. This removes a *lot* of pointless "if (!pdb)" handling code. Secondly, ensure that if samu_init() fails we *always* back out of a function. That way we are never in a situation where the pdb_XXX() functions need to start with a "if (sampass)" test - this was just bad design, not defensive programming. Jeremy. (This used to be commit a0d368197d6ae6777b7c2c3c6e970ab8ae7ca2ae)