summaryrefslogtreecommitdiffstats
path: root/source/passdb/sampassdb.c
Commit message (Collapse)AuthorAgeFilesLines
* attempting to get nt5 wksta to join domain.Luke Leighton1999-11-161-15/+38
| | | | | | | | 1) had to fix samr "create user" and "set user info" (level 23). 2) had to fix netlogon enum trust domains 3) registry key needed \\ in it not \.
* use gecos field to fill the full_nameJean-François Micouleau1999-09-231-0/+9
| | | | | | don't overwrite backend values with defaults values. J.F.
* NULL pwdb_xxx_map_names() parameter can be passed here (which is a bugLuke Leighton1999-07-111-5/+6
| | | | anyway!)
* issues with pwdb_sam_map_names() and pwdb_smb_map_names() returning NULL.Luke Leighton1999-07-081-1/+8
| | | | found by Bertl <bs@vpnet.at>
* added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names()Luke Leighton1999-07-071-1/+4
|
* improving authentication code (tidyup).Luke Leighton1999-06-291-1/+0
|
* Jani Jaakkola's "getpwuid() / getpwnam()" hash-cache-hackLuke Leighton1999-05-061-1/+1
|
* "User Manager" - create user + change password now work.Luke Leighton1999-03-251-0/+42
| | | | | next problem: user group adding not supported so an "access denied" message is reported instead of "ok" when a new user is created.
* fixed issues with "Welcome to SAMBA Domain" for when admin user/pass isLuke Leighton1999-03-251-0/+147
| | | | | used to add workstation to domain. unix account db not modified: only SAM password db is used.
* SAM database "set user info".Luke Leighton1999-03-251-0/+14
| | | | | | | | | | | | | | | | | | | | | | | ---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers.
* Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton1999-03-031-1/+1
| | | | resolved.
* Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton1999-03-011-0/+2
| | | | Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999.
* pwdb_smb_to_sam was not returning NULL for nt name so thatLuke Leighton1999-02-091-8/+20
| | | | | | | | pwdb_sam_map_names() was using a "blank" static string instead of a NULL pointer for nt names. NULL means over-ride, so the nt name got left as "blank". this causes nt clients to terminate with extreme prejudice.
* Fixed a domain functionality problem where NT clients would startMatthew Chapman1999-02-011-30/+11
| | | | | | | | | | | endlessly repeating a network SAMLOGON (hoping it to change, hmmm...). ( Guess what I found in pwdb_init_sam... unix_to_nt_time(&user->logon_time, (time_t)-1); unix_to_nt_time(&user->logoff_time, (time_t)-1); unix_to_nt_time(&user->kickoff_time, (time_t)-1); ... )
* Fixed the "You password will expire in 0 days. Would you like toGerald Carter1999-01-131-1/+26
| | | | | | | | | | | | | | | change it now?" message when you login to a Samba Controlled domain. The fix is a hard coded 42 days from right now until you need to change you pasword again time (see passdb/sampassdb.c:pwdb_smb_to_sam()) Also fixed getsmbfilepwent() so that it will read in the last password change time correctly. * Related to this lib/util_pwdb.c:StrnCaseCmp() returns 0 if the strings match. Chouldn't this be the pther way? Oh well. I didn't change the return code as it was used in several other cases (see lib/util_pwdb.c:pwdb_get_last_set_time())
* trying to track down issues in get_home_dir().Luke Leighton1998-12-141-0/+4
|
* attempting to fix "domain user map" up, but it's a bit complicated.Luke Leighton1998-11-301-4/+13
| | | | | | | | | | | | | | | | | i may simply go for a response in the NetSamLogon returning the unix username, forcing the NT user to appear to be a unix user, however even that is fraught with implications. might just have to go the whole hog and do this tuple thing, "unix_name + nt_name" always associated together... issue with api_net_sam_logon, getsam21pwent() being called twice, the second time overwriting static buffer data (argh) so had to make a copy. noticed a nested "become_root()"/"unbecome_root()" which will have to be tracked down...
* "retired" two modules to preserve their cvs history.Luke Leighton1998-11-291-0/+515
added their replacements, added sam password database API modules