summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass
AgeCommit message (Collapse)AuthorFilesLines
2011-03-30s3-passdb: add passdb.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-01lib/util: new merged debug systemAndrew Bartlett1-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
2011-02-23s3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).Günther Deschner1-1/+1
Guenther
2011-02-23s3-waf: move GROUPDB into libpassdb.so.Günther Deschner1-1/+1
Guenther
2011-02-22s3-waf: convert some subsystems into private librariesAndrew Tridgell1-1/+1
put some commonly used subsystems into private libraries to reduce the install size Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett3-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
2011-02-18s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell1-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>
2011-02-08pam: share pam errors in a common location.Günther Deschner2-1/+2
Guenther
2010-12-14s3-waf: check for "WITH_PAM_MODULES" to determine pam_smbpass build.Günther Deschner1-1/+1
Guenther
2010-12-14s3-waf: fix pamsmbpass libwbclient dependency.Günther Deschner1-1/+1
Guenther
2010-09-28s3-waf: add pam_smbpass.Günther Deschner1-0/+13
Guenther
2010-09-22s3: Use asprintf where appropriateVolker Lendecke3-16/+7
2010-09-22s3: Fix pam_smbpass logging on FreeBSDVolker Lendecke1-8/+6
2010-08-06s3-passdb: include samr.h where needed.Günther Deschner1-0/+2
Guenther
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-02-23s3-pam_smbpass: Remove obsolete signal type cast.Andreas Schneider3-21/+21
2009-07-03s3:pam_smbpass: fix build error on some Linux distrosBjörn Jacke1-1/+1
This addresses bug #6459.
2009-05-29s3:pam_smbpass: make smb_update_db() static.Michael Adam1-1/+1
Michael
2009-05-29s3: fix building of pam_smbpass.Bo Yang1-0/+14
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-26s3:pam_smbpass: don't call openlog() or closelog() from pam_smbpassBjörn Jacke5-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().
2009-05-25s3-pamsmbpass: copy _pam_get_item and _pam_get_data from pam_winbind.Günther Deschner4-15/+42
Guenther
2009-04-27s3:fix build of the pam_smbpass shared moduleMichael Adam1-0/+2
Michael
2008-07-02Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.Jeremy Allison1-8/+11
Reported by hongbing Zhang <hongbing.zhang@gmail.com>. Jeremy. (This used to be commit ade27d8baa03816b6f5f480096dfb90f3e231e6a)
2008-03-10Reformat: Remove indentation of part of pam_smbpass/support.c by one tab.Michael Adam1-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)
2008-03-06Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman3-7/+3
Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
2008-01-16Fix build for pam_smbpassAlexander Bokovoy2-2/+2
Signed-off-by: Alexander Bokovoy <ab@samba.org> (This used to be commit dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f)
2007-12-13Fix pam_smbpass buildAlexander Bokovoy1-6/+2
(This used to be commit fbc510f1717fe82338262c18c252d18987c55b5c)
2007-12-12Fix bug #3727 with patch from Steve Langasek <vorlon@debian.org>Jeremy Allison3-1/+17
Jeremy. (This used to be commit 0723760ba47a465d2ff5a22a680f1b5196eca7d8)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-2/+2
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-11-21Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison2-89/+70
return malloced strings. Jeremy. (This used to be commit f652fe2bdb7a3a36e83dcf4b08347543fdffb9f0)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison4-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)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell3-6/+3
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison4-4/+4
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23121: Fix Bug #2727 and let pam_smbpass at least link and dlopen correctly ↵Günther Deschner4-4/+4
again. Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>. Guenther (This used to be commit ba956ab8e4097d46bbad12caf2fad6857f463618)
2007-10-10r23095: Support systems that have their PAM headers in /usr/include/pam.James Peach4-0/+32
(This used to be commit f1e8de4b576b3954d456cb64c02417908bab8da4)
2007-10-10r16241: Fix Klocwork #106 and others like it.Jeremy Allison2-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)
2007-10-10r15477: Committing parts of the patch Timur has submitted for bug 2961, as ↵Volker Lendecke2-8/+4
agreed upon on irc. Thanks, Volker (This used to be commit 51b415d2306f8244d7449756e4fa873adfc8fbe7)
2007-10-10r14577: BUG Fixes:Gerald Carter3-1/+7
* Add back in the import/export support to pdbedit * Fix segv in pam_smbpass * Cleanup some error paths in pdb_tdb and pdb_interface (This used to be commit df53d64910fbb96eb810102e986b3c337d54c463)
2007-10-10r13590: * replace all pdb_init_sam[_talloc]() calls with samu_new()Gerald Carter3-8/+9
* replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix() (This used to be commit 6f1afa4acc93a07d0ee9940822d7715acaae634f)
2007-10-10r13576: This is the beginnings of moving the SAM_ACCOUNT data structureGerald Carter5-24/+24
to make full use of the new talloc() interface. Discussed with Volker and Jeremy. * remove the internal mem_ctx and simply use the talloc() structure as the context. * replace the internal free_fn() with a talloc_destructor() function * remove the unnecessary private nested structure * rename SAM_ACCOUNT to 'struct samu' to indicate the current an upcoming changes. Groups will most likely be replaced with a 'struct samg' in the future. Note that there are now passbd API changes. And for the most part, the wrapper functions remain the same. While this code has been tested on tdb and ldap based Samba PDC's as well as Samba member servers, there are probably still some bugs. The code also needs more testing under valgrind to ensure it's not leaking memory. But it's a start...... (This used to be commit 19b7593972480540283c5bf02c02e5ecd8d2c3f0)
2007-10-10r13384: Adding in some more SuSE patchesGerald Carter1-1/+1
* uninitialized-variables.diff * samba-smbadduser.diff * samba-implicit_decl.patch (This used to be commit 064338c6f5644d1ceddf341d4ba5619a3d68ffa7)
2007-10-10r13316: Let the carnage begin....Gerald Carter3-8/+8
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-4/+5
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r7886: Fix building with pam_smbpass.Jeremy Allison1-14/+14
Jeremy. (This used to be commit 22a796fe012e212f7744f0d63a8512e6942a5324)
2007-10-10r7126: fixing paranoid malloc checker failuresGerald Carter3-6/+5
(This used to be commit b01026674fddb4179a7f002c13f5e341eaaa0a1c)
2007-10-10r75: patch from Cal Heldenbrand <calzplace@yahoo.com> for 'pam_smbpass migrate'Gerald Carter1-3/+3
(This used to be commit 673c3f8bc0343cce293bacbf0773212b53182d1d)
2007-10-10r39: * importing .cvsignore filesGerald Carter1-1/+0
* updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2004-03-18BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change ↵Gerald Carter1-1/+1
using pam_smbpass (This used to be commit f21182e24fe440b0cec57baf52cfbe6e07d6c7b7)