summaryrefslogtreecommitdiffstats
path: root/source/pam_smbpass
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2008-03-063-7/+3
| | | | Derrell
* Fix build for pam_smbpassAlexander Bokovoy2008-01-162-2/+2
| | | | Signed-off-by: Alexander Bokovoy <ab@samba.org>
* Fix pam_smbpass buildAlexander Bokovoy2007-12-131-6/+2
|
* Fix bug #3727 with patch from Steve Langasek <vorlon@debian.org>Jeremy Allison2007-12-123-1/+17
| | | | Jeremy.
* 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.
* Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison2007-11-212-89/+70
| | | | | return malloced strings. Jeremy.
* 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.
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-103-6/+3
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-104-4/+4
| | | | Jeremy.
* 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
* r23095: Support systems that have their PAM headers in /usr/include/pam.James Peach2007-10-104-0/+32
|
* 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.
* 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
* 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
* 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()
* 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......
* r13384: Adding in some more SuSE patchesGerald Carter2007-10-101-1/+1
| | | | | | * uninitialized-variables.diff * samba-smbadduser.diff * samba-implicit_decl.patch
* r13316: Let the carnage begin....Gerald Carter2007-10-103-8/+8
| | | | Sync with trunk as off r13315
* 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.)
* 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)
* r7886: Fix building with pam_smbpass.Jeremy Allison2007-10-101-14/+14
| | | | Jeremy.
* r7126: fixing paranoid malloc checker failuresGerald Carter2007-10-103-6/+5
|
* r75: patch from Cal Heldenbrand <calzplace@yahoo.com> for 'pam_smbpass migrate'Gerald Carter2007-10-101-3/+3
|
* r39: * importing .cvsignore filesGerald Carter2007-10-101-1/+0
| | | | * updateing WHATSNEW with vl's change
* BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change ↵Gerald Carter2004-03-181-1/+1
| | | | using pam_smbpass
* Ignore *.poTim Potter2003-07-111-0/+1
|
* 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.
* 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.
* Patch from VorlonJohn Terpstra2003-04-261-7/+1
|
* 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.
* Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.Andrew Bartlett2003-01-031-19/+0
| | | | Andrew Bartlett
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-3/+6
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-155-118/+128
|
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2002-07-141-0/+64
|\
| * compile fixes; needs testingGerald Carter2002-05-096-118/+192
|/
* updates from 2.2Simo Sorce2002-01-126-95/+141
|
* pam_smbpass updates from a.bokovoy@sam-solutions.netAndrew Tridgell2001-12-114-31/+4
|
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-1/+1
| | | | default, rather than in preprocessor macros.
* 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
* samba-bugs@samba.org -> samba@samba.orgAndrew Bartlett2001-10-261-1/+1
| | | | The rest of this is still broken however...
* Renamed inbuilt xstrdup to smb_xstrdup.Jeremy Allison2001-10-221-5/+5
| | | | Jeremy.
* add a comment to make the code more readableSimo Sorce2001-08-241-1/+1
|
* 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.
* 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.