summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/support.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28s3:pam_smbpass: use lp_load_client() in pam_smbpassMichael Adam1-1/+1
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-4/+4
2010-09-22s3: Use asprintf where appropriateVolker Lendecke1-4/+1
2010-09-22s3: Fix pam_smbpass logging on FreeBSDVolker Lendecke1-8/+6
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2009-07-03s3:pam_smbpass: fix build error on some Linux distrosBjörn Jacke1-1/+1
This addresses bug #6459.
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 Jacke1-38/+64
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 Deschner1-9/+29
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)
2007-12-13Fix pam_smbpass buildAlexander Bokovoy1-6/+2
(This used to be commit fbc510f1717fe82338262c18c252d18987c55b5c)
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-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r15477: Committing parts of the patch Timur has submitted for bug 2961, as ↵Volker Lendecke1-4/+4
agreed upon on irc. Thanks, Volker (This used to be commit 51b415d2306f8244d7449756e4fa873adfc8fbe7)
2007-10-10r13576: This is the beginnings of moving the SAM_ACCOUNT data structureGerald Carter1-2/+2
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-10r13316: Let the carnage begin....Gerald Carter1-1/+1
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-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 Carter1-4/+3
(This used to be commit b01026674fddb4179a7f002c13f5e341eaaa0a1c)
2003-06-22Found out a good number of NT_STATUS_IS_ERR used the wrong way.Simo Sorce1-1/+1
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)
2003-05-12And finally IDMAP in 3_0Simo Sorce1-22/+20
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)
2003-01-03Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.Andrew Bartlett1-19/+0
Andrew Bartlett (This used to be commit c9994ab7bb0ea96e1a2ddf78935306a7b8507f25)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-107/+115
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-12updates from 2.2Simo Sorce1-35/+59
(This used to be commit 398b4ff0d40d89b3e96d481807f85f15b7a7966a)
2001-12-11pam_smbpass updates from a.bokovoy@sam-solutions.netAndrew Tridgell1-28/+1
(This used to be commit 016e203a2c5286d8b48ab3eff0226affc203deaf)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-1/+1
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-22Renamed inbuilt xstrdup to smb_xstrdup.Jeremy Allison1-5/+5
Jeremy. (This used to be commit cf99f9361370c521f28dcced008cbfec9fc38de5)
2001-04-24Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.John Terpstra1-0/+651
Note: Still have to add build stuff - not ready yet. (This used to be commit 1de7022f98b64b15503aaf48c8d729789fc49781)