Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a new interface pdb_set_plaintext_passwd() to the passdb. This simply | Andrew Bartlett | 2001-09-26 | 1 | -11/+26 | |
| | | | | | | | | interfaces to the existing set NT and LM functions, but ensures we always do it in the same way. This also allows for the possibility for the unix password sync code to be hidden behind the passdb interface as some stage. | |||||
* | We don't use a modified 'user' in any case, so don't modifiy it. | Andrew Bartlett | 2001-09-26 | 1 | -1/+1 | |
| | ||||||
* | Fixup passdb stuff to add new nisplus and ldap backends. | Jeremy Allison | 2001-09-25 | 5 | -296/+2824 | |
| | | | | Jeremy. | |||||
* | Don't segfault when deleting accounts not in /etc/passwd. The RID we want is | Andrew Bartlett | 2001-09-25 | 1 | -5/+2 | |
| | | | | | | the one in the sampass anyway. Andrew Bartlett | |||||
* | memory leak fixes .. | Simo Sorce | 2001-09-25 | 1 | -7/+21 | |
| | ||||||
* | Move pass_check.c over to NTSTATUS, allowing full NTSTATUS from PAM to wire! | Andrew Bartlett | 2001-09-20 | 1 | -80/+118 | |
| | | | | | Add the ability for swat to run in non-root-mode (ie non-root from inetd). - we still need some of the am_root() calls fixed however. | |||||
* | Use lp_private_dir() not magic on the lp_smb_passwd_file() output. | Andrew Bartlett | 2001-09-19 | 1 | -7/+2 | |
| | ||||||
* | Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c by | Andrew Bartlett | 2001-09-19 | 1 | -5/+6 | |
| | | | | | | | | | | | | | simply not doing Get_Pwnam() calls in pass_check.c We now make *one* sys_getpnam() call in cgi.c and we always call PAM no matter what it returns. We also no longer run the password cracker for these logins. The truly parinod will note the slight difference in call paths, in that we only call crypt for valid password structs (if not --with-pam). The truly parinoid don't run SWAT either, so I don't think this is an issue. Andrew Bartlett | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 5 | -34/+22 | |
| | ||||||
* | merges from 2.2 | Gerald Carter | 2001-09-14 | 1 | -2/+2 | |
| | ||||||
* | String length fix from Toomas Soome <tsoome@ut.ee> | Tim Potter | 2001-09-12 | 1 | -1/+1 | |
| | ||||||
* | passdb/smbpassfile ain't needed any more - it only provided migration from ↵ | Andrew Tridgell | 2001-09-10 | 1 | -297/+0 | |
| | | | | an ancient file format, not relevant for Samba 3.0 | |||||
* | got rid of USE_TDB_MMAP_FLAG as its not needed any more | Andrew Tridgell | 2001-09-06 | 2 | -8/+8 | |
| | ||||||
* | Started a cleanup of smbpasswd related stuff. I've created a new file | Tim Potter | 2001-09-06 | 5 | -143/+14 | |
| | | | | | | | | | | | | | | | | lib/smbpasswd.c which will contain routines related to manipulating smbpasswd entries. - renamed and moved pdb_{get,set}hexpwd() functions - renamed and moved pdb_{decode,encode}acct_ctrl() functions - started hiding references to the cruftalicious NEW_PW_FORMAT_SPACE_PADDED_LEN constant - started gradual rename of references to acct_ctrl to acb_info which is the nomenclature used in MSDN and header files There's still more work to be done. Currently there are several places where smbpasswd entries are iterated etc. Ideally this should all happen through the passdb system. | |||||
* | fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵ | Andrew Tridgell | 2001-09-05 | 1 | -3/+2 | |
| | | | | configure to get the new NTSTATUS stuff right | |||||
* | more warning fixes on solaris | Andrew Tridgell | 2001-09-05 | 1 | -1/+3 | |
| | ||||||
* | cope with pam being off | Andrew Tridgell | 2001-09-04 | 1 | -1/+1 | |
| | ||||||
* | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵ | Andrew Tridgell | 2001-09-04 | 2 | -18/+19 | |
| | | | | the client code still needs some work | |||||
* | changed the data format in the tdb, as the time fields were not | Simo Sorce | 2001-08-31 | 1 | -24/+29 | |
| | | | | | managed correctly. this mean you need to rebuild your passdb.tdb file. | |||||
* | Fixed silly typo. | Jeremy Allison | 2001-08-30 | 1 | -3/+3 | |
| | | | | Jeremy. | |||||
* | Fix from Paul Green to set correct lengths. | Jeremy Allison | 2001-08-30 | 1 | -3/+3 | |
| | | | | Jeremy. | |||||
* | converted another bunch of stuff to NTSTATUS | Andrew Tridgell | 2001-08-27 | 2 | -11/+11 | |
| | ||||||
* | get rid of compiler warnings | Herb Lewis | 2001-08-24 | 1 | -1/+1 | |
| | ||||||
* | merge from 2.2 | Gerald Carter | 2001-08-23 | 1 | -3/+14 | |
| | ||||||
* | Fixed typo in debug message. | Tim Potter | 2001-08-13 | 1 | -2/+2 | |
| | ||||||
* | this is a big global fix for the ptr = Realloc(ptr, size) bug. | Simo Sorce | 2001-08-12 | 1 | -7/+12 | |
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. | |||||
* | a few cleanups while mergeing the passdb code into 2.2 | Gerald Carter | 2001-08-09 | 1 | -3/+0 | |
| | ||||||
* | Change all realloc() statements to Realloc() (ecxept for tdb.c) | Simo Sorce | 2001-08-08 | 1 | -2/+2 | |
| | | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) | |||||
* | Added "use mmap" for HPUX. | Jeremy Allison | 2001-07-30 | 2 | -8/+8 | |
| | | | | Jeremy. | |||||
* | Fix case insensitive password change code. | Jeremy Allison | 2001-07-23 | 1 | -4/+2 | |
| | | | | | Fixed crash bug with un-zeroed talloced memory. Jeremy. | |||||
* | move the global_machine_password_needs_changing where we need it. | Simo Sorce | 2001-07-17 | 1 | -2/+0 | |
| | ||||||
* | Changed instances of TRUE, FALSE to True, False as some compilers don't | Tim Potter | 2001-07-12 | 1 | -1/+1 | |
| | | | | have the first set of symbols. | |||||
* | This removes unused paramaters from various authtication functions, and should | Andrew Bartlett | 2001-07-08 | 1 | -7/+2 | |
| | | | | | | | | | not change behaviour. This should make my later diffs smaller, where I actualy start cleaning up this mess... Andrew Bartlett | |||||
* | Password changing via PAM works now. DONT CHANGE THIS UNLESS YOU RE-TEST !!!!!! | Jeremy Allison | 2001-07-06 | 1 | -2/+19 | |
| | | | | Jeremy. | |||||
* | Wrapped dlerror() in the same way as the other dlxxx() calls. | Jeremy Allison | 2001-07-06 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵ | Andrew Tridgell | 2001-07-04 | 3 | -7/+7 | |
| | | | | can't redefine them. damn. | |||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 1 | -6/+1 | |
| | | | | | | | 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 Andrew's pam password change stuff. Needs some testing but looks good ! | Jeremy Allison | 2001-06-25 | 1 | -44/+140 | |
| | | | | Jeremy. | |||||
* | fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵ | Andrew Tridgell | 2001-06-25 | 1 | -1/+1 | |
| | | | | instead of a define | |||||
* | Changes to use new genrand code that got missed while I was in Japan. | Jeremy Allison | 2001-06-06 | 1 | -0/+29 | |
| | | | | Jeremy. | |||||
* | use LDSHFLAGS not -shared in several places | Andrew Tridgell | 2001-06-04 | 2 | -8/+8 | |
| | ||||||
* | update from Simo | Gerald Carter | 2001-05-10 | 1 | -8/+8 | |
| | ||||||
* | Fixed up the oldpw prompts. Made the matching case insensitive. | Jeremy Allison | 2001-05-09 | 1 | -5/+24 | |
| | | | | Jeremy. | |||||
* | very nasty bug ! | Jean-François Micouleau | 2001-05-09 | 1 | -1/+1 | |
| | | | | J.F. | |||||
* | fixes to the group mapping code. | Jean-François Micouleau | 2001-05-08 | 1 | -2/+2 | |
| | | | | | | Not ready yet. J.F. | |||||
* | merge from 2.2 removing the 'domain XXX' parameters. | Gerald Carter | 2001-05-07 | 1 | -16/+3 | |
| | ||||||
* | Patch from Simo: | Gerald Carter | 2001-05-07 | 2 | -24/+53 | |
| | | | | | | o sed 's/pdb_clear_sam/pdb_free_sam/g' o add pdb_reset_sam() o password changing should be ok now as well. | |||||
* | Big cleanup of passdb and backends. | Jean-François Micouleau | 2001-05-04 | 3 | -618/+434 | |
| | | | | | | | I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. | |||||
* | fixes from Simo | Gerald Carter | 2001-05-04 | 2 | -213/+281 | |
| | ||||||
* | Had to add a "pam password change" parameter (defaults to "off") and inlined | Jeremy Allison | 2001-05-02 | 1 | -10/+11 | |
| | | | | | | | | | | | the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy. |