summaryrefslogtreecommitdiffstats
path: root/source3/pam_smbpass
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* r15477: Committing parts of the patch Timur has submitted for bug 2961, as ↵Volker Lendecke2007-10-102-8/+4
| | | | | | | | | | | agreed upon on irc. Thanks, Volker (This used to be commit 51b415d2306f8244d7449756e4fa873adfc8fbe7)
* r14577: BUG Fixes:Gerald Carter2007-10-103-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)
* r13590: * replace all pdb_init_sam[_talloc]() calls with samu_new()Gerald Carter2007-10-103-8/+9
| | | | | * replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix() (This used to be commit 6f1afa4acc93a07d0ee9940822d7715acaae634f)
* r13576: This is the beginnings of moving the SAM_ACCOUNT data structureGerald Carter2007-10-105-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)
* r13384: Adding in some more SuSE patchesGerald Carter2007-10-101-1/+1
| | | | | | | * uninitialized-variables.diff * samba-smbadduser.diff * samba-implicit_decl.patch (This used to be commit 064338c6f5644d1ceddf341d4ba5619a3d68ffa7)
* r13316: Let the carnage begin....Gerald Carter2007-10-103-8/+8
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-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)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-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)
* r7886: Fix building with pam_smbpass.Jeremy Allison2007-10-101-14/+14
| | | | | Jeremy. (This used to be commit 22a796fe012e212f7744f0d63a8512e6942a5324)
* r7126: fixing paranoid malloc checker failuresGerald Carter2007-10-103-6/+5
| | | | (This used to be commit b01026674fddb4179a7f002c13f5e341eaaa0a1c)
* r75: patch from Cal Heldenbrand <calzplace@yahoo.com> for 'pam_smbpass migrate'Gerald Carter2007-10-101-3/+3
| | | | (This used to be commit 673c3f8bc0343cce293bacbf0773212b53182d1d)
* r39: * importing .cvsignore filesGerald Carter2007-10-101-1/+0
| | | | | * updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
* BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change ↵Gerald Carter2004-03-181-1/+1
| | | | | | using pam_smbpass (This used to be commit f21182e24fe440b0cec57baf52cfbe6e07d6c7b7)
* Ignore *.poTim Potter2003-07-111-0/+1
| | | | (This used to be commit bc4af3bdb163bd5c570dcb88cf48780b6ed66f9f)
* Found out a good number of NT_STATUS_IS_ERR used the wrong way.Simo Sorce2003-06-222-2/+2
| | | | | | | | | | | | As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK This patch will cure the problem. Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is used correctly, but I'm not 100% sure, coders should check the use of NT_STATUS_IS_ERR() in samba is ok now. Simo. (This used to be commit c501e84d412563eb3f674f76038ec48c2b458687)
* And finally IDMAP in 3_0Simo Sorce2003-05-122-29/+34
| | | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
* Patch from VorlonJohn Terpstra2003-04-261-7/+1
| | | | (This used to be commit 837bc15a54665baddec4a68938c3f60e17757700)
* Patch from Steve Langasek <vorlon@netexpress.net>John Terpstra2003-04-083-58/+85
| | | | | | | | | | | | | | | | fix up two issues in pam_smbpass. The first, more important issue is adding support for the (apparently new) LOCAL_SET_PASSWORD flag to local_password_change(), without which pam_smbpass is a complete and utter no-op. The second, lesser issue is that with the advent of ldapsam, it's possible for pam_smbpass to generate a SIGPIPE that isn't handled by the calling application. The most basic signal wrapping is put in place to prevent this. Beyond that, the only thing in the patch is a bit of reformatting to make pam_smb_passwd.c look a bit more like the rest of the code in CVS. More of that later, I'm sure. (This used to be commit 1aecda300e0b44c133fe0cd2bafb166621dbc17a)
* Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.Andrew Bartlett2003-01-031-19/+0
| | | | | Andrew Bartlett (This used to be commit c9994ab7bb0ea96e1a2ddf78935306a7b8507f25)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-3/+6
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-155-118/+128
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2002-07-141-0/+64
|\ | | | | | | used to be commit b8d39651fb90ef170055735412417239a63afc5d)
| * compile fixes; needs testingGerald Carter2002-05-096-118/+192
|/ | | | (This used to be commit a3f68a963c0dc5ba5e8601633e9b532fa32145cd)
* updates from 2.2Simo Sorce2002-01-126-95/+141
| | | | (This used to be commit 398b4ff0d40d89b3e96d481807f85f15b7a7966a)
* pam_smbpass updates from a.bokovoy@sam-solutions.netAndrew Tridgell2001-12-114-31/+4
| | | | (This used to be commit 016e203a2c5286d8b48ab3eff0226affc203deaf)
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-1/+1
| | | | | default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
* Fix up smbpasswd -e/-d so that it doesn't change the password under you anyAndrew Bartlett2001-10-302-3/+3
| | | | | | | | | | | | | | more. (Previously it set them to 'XXXX' or similar when only the flags were being changed - a bug I must have introduced when I reworked the passdb end of things a few weeks back.) Adds a new local flag: LOCAL_SET_PASSWORD to specify that the password is actually to be changed. Andrew Bartlett (This used to be commit cea6b6cb228c7e1f0c2d45951590e0d8fb8b315c)
* samba-bugs@samba.org -> samba@samba.orgAndrew Bartlett2001-10-261-1/+1
| | | | | The rest of this is still broken however... (This used to be commit 6cce6350caf034bdf6e5b6417e762bebc3dd97c8)
* Renamed inbuilt xstrdup to smb_xstrdup.Jeremy Allison2001-10-221-5/+5
| | | | | Jeremy. (This used to be commit cf99f9361370c521f28dcced008cbfec9fc38de5)
* add a comment to make the code more readableSimo Sorce2001-08-241-1/+1
| | | | (This used to be commit d6a33722168c64eb948c52e303cfb1cd4cfda7f9)
* The big character set handling changeover!Andrew Tridgell2001-07-043-3/+0
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.John Terpstra2001-04-2414-0/+1668
Note: Still have to add build stuff - not ready yet. (This used to be commit 1de7022f98b64b15503aaf48c8d729789fc49781)