summaryrefslogtreecommitdiffstats
path: root/source/passdb
Commit message (Collapse)AuthorAgeFilesLines
...
* The big character set handling changeover!Andrew Tridgell2001-07-041-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 Allison2001-06-251-44/+140
| | | | Jeremy.
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-251-1/+1
| | | | instead of a define
* Changes to use new genrand code that got missed while I was in Japan.Jeremy Allison2001-06-061-0/+29
| | | | Jeremy.
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-042-8/+8
|
* update from SimoGerald Carter2001-05-101-8/+8
|
* Fixed up the oldpw prompts. Made the matching case insensitive.Jeremy Allison2001-05-091-5/+24
| | | | Jeremy.
* very nasty bug !Jean-François Micouleau2001-05-091-1/+1
| | | | J.F.
* fixes to the group mapping code.Jean-François Micouleau2001-05-081-2/+2
| | | | | | Not ready yet. J.F.
* merge from 2.2 removing the 'domain XXX' parameters.Gerald Carter2001-05-071-16/+3
|
* Patch from Simo:Gerald Carter2001-05-072-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 Micouleau2001-05-043-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 SimoGerald Carter2001-05-042-213/+281
|
* Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison2001-05-021-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.
* Runtime check for broken PAM systems with no appdata_ptr support. ThisJeremy Allison2001-05-011-2/+22
| | | | | should eventually be an autoconf test with a #ifdef workaround. I *HATE* pam :-). Jeremy.
* Stop coredump on pam password change with pam_pwdb.so module on error.Jeremy Allison2001-05-011-1/+5
| | | | Jeremy.
* Added Andrew Bartlett's fixes to my changes to his original patch (at theJeremy Allison2001-05-012-3/+3
| | | | | court of king caractacus, was just passing by... :-). Jeremy.
* Allow pam code to compile on Solaris (which doesn't have ↵Jeremy Allison2001-05-011-0/+5
| | | | | | PAM_AUTHTOK_RECOVER_ERR). Jeremy.
* Fixing consts in pam code.Jeremy Allison2001-04-301-2/+2
| | | | Jeremy.
* Based on an original PAM patch by Andrew Bartlett, re-written by me toJeremy Allison2001-04-301-124/+417
| | | | | | | remove global static PAM variables, and to tidy up the PAM internals code. Now looks like the rest of Samba. Still needs testing. Jeremy.
* - fixed some compiler warningsAndrew Tridgell2001-04-281-2/+3
| | | | - fixed slprintf and vsprintf macros
* few cleanups to bring in line with 2.2Gerald Carter2001-04-281-2/+0
|
* converted the passdb smbpasswd implementation to using tallocGerald Carter2001-04-252-330/+324
| | | | | | | | | | | for memory allocation. This fixes a long standing seg fault (i knew i would get around to it one day :) ) Tested with NT4 and Win2k. Needs a little more testing with the "create the machine account on the fly" code for NT4. Simo, this is probably going to break the tdb passdb code. Can you look at that when you get a chance and see what you think?
* Added "obey pam restrictions" parameter - default to "off".Jeremy Allison2001-04-231-0/+17
| | | | | | | Only set this to "on" if you know you have your PAM set up correctly..... NB. Doesn't apply to plaintext password authentication, which must use pam when compiled in. Jeremy.
* Fix more free twice bugs.Jeremy Allison2001-04-231-2/+5
| | | | Jeremy.
* Fix for bug in code for pam_session failure - pam_end called twice.Jeremy Allison2001-04-231-12/+5
| | | | Jeremy.
* Added smb_ prefix to all Samba wrapper pam functions.Jeremy Allison2001-04-232-50/+48
| | | | | Fixed off by one bug using StrnCpy instead of strdup(). Jeremy.
* Commit of a modified version of Andrew Bartlett's patch that removes theJeremy Allison2001-04-222-99/+101
| | | | | | | | | | horrid utmp hostname parameter - now uses the client name instead. Also tidies up some of the unencrypted password checking when PAM is compiled in. FIXME ! An pam_accountcheck() is being called even when smb encrypted passwords are negotiated. Is this the correct thing to do when winbindd is running ! This needs *SEVERE* testing.... Jeremy.
* Oops. Typos.John Terpstra2001-04-201-2/+2
|
* Added error reporting to pam_session code.John Terpstra2001-04-191-0/+19
|
* merge from 2.2Andrew Tridgell2001-04-182-8/+4
|
* patch from Steve Langasek <vorlon@netexpress.net> to make sure weJeremy Allison2001-04-181-5/+11
| | | | | | don't use pam_setcred() if we haven't called pam_authenticate() Merge from 2.2 Jeremy.
* Updated with Andrew Bartlett patch.John Terpstra2001-04-131-3/+30
|
* Merged John's changes.Jeremy Allison2001-04-121-0/+2
| | | | Jeremy.
* Updating pampass from Samba-2.2 code tree. ===> JHTJohn Terpstra2001-04-111-139/+87
|
* passdb/pass_check.c: Ensure second check is done only if given username is ↵Jeremy Allison2001-04-101-62/+26
| | | | | | | all in caps. rpc_server/srv_srvsvc_nt.c: Added "CONFIGFILE" arg to scripts so path to smb.conf is given. Jeremy.
* Added JohnT and Andrew Bartlett's PAM changes.Jeremy Allison2001-04-102-134/+444
| | | | Jeremy.
* HEAD specific slprintf paranoia fixes.Jeremy Allison2001-04-082-11/+11
| | | | Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-081-3/+3
| | | | Jeremy.
* New POSIX ACL mapping code. Works with UNIX permissions, now for testingJeremy Allison2001-03-221-0/+6
| | | | | with real ACLs... Jeremy.
* Fix for crash when doing name lookup with a quoted string. Part ofJeremy Allison2001-03-201-1/+11
| | | | | | lookup_name was expecting to be able to write to the string. Changed lookup_name to use const. Jeremy.
* Added sys_dlopen/sys_dlsym/sys_dlclose.Jeremy Allison2001-03-191-3/+3
| | | | Jeremy.
* fixed unused variableAndrew Tridgell2001-03-181-1/+1
|
* patches from Simo. Couple of snity thingsGerald Carter2001-03-141-1/+3
|
* Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2001-03-113-18/+18
| | | | | system header files... Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-111-5/+0
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* Merged JF's fixes into HEAD. These are for string parsing and SAMR fixes.Jeremy Allison2001-03-023-6/+5
| | | | Jeremy.
* Merge of i18n fixes from appliance branch. Samba can now talk to a networkTim Potter2001-02-141-3/+10
| | | | | with a PDC that has international netbios name and domain name. There's still quite a bit of i18n stuff to fix though...
* add pam_setcred() call to pam_auth(). Patch was submited last Oct.Gerald Carter2001-02-081-0/+8
| | | | jerry
* Fixes for POSIX ACLS. ACL merge code.Jeremy Allison2001-01-151-2/+12
| | | | Jeremy.