Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | check to see if copy_passwd_struct() ever receives its own internal | Luke Leighton | 1999-07-16 | 1 | -0/+7 |
| | | | | buffer as an argument :-) :-) | ||||
* | code from bertl to allow remap of default built-in names to anything. | Luke Leighton | 1999-07-14 | 3 | -48/+262 |
| | | | | | parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at> | ||||
* | renamed getfilepwent() and endfilepwent() to getfileent() and endfileent() | Luke Leighton | 1999-07-13 | 1 | -8/+7 |
| | | | | | | as they are generic "file line-by-line" reading routines. lines with "#" at the front are ignored (as comments). this code started out as the password file reading code. | ||||
* | allow safe_strcpy() to pass 0 for max length of string, resulting in no | Luke Leighton | 1999-07-08 | 1 | -0/+5 |
| | | | | effect. | ||||
* | use of dos_mkdir() in generate_sam_sid() should be unix mkdir | Luke Leighton | 1999-07-07 | 1 | -1/+1 |
| | |||||
* | added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names() | Luke Leighton | 1999-07-07 | 1 | -1/+1 |
| | |||||
* | using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam(). | Luke Leighton | 1999-07-06 | 2 | -114/+20 |
| | | | | | | made sure that hashed_getpwnam() has the copy-passwd-struct-wrapper around it, too. TODO: replace all calls of getpwnam() with sys_getpwnam(). | ||||
* | added jeremy's sys_getpwnam() and sys_getpwuid() routines from 2_0 tree. | Luke Leighton | 1999-07-06 | 1 | -0/+57 |
| | |||||
* | patch from michael stockman <pgmtekn-micke@algonet.se> to provide a static | Luke Leighton | 1999-07-06 | 1 | -15/+25 |
| | | | | | | struct passwd in _Get_Pwnam(). _Get_Pwnam() is responsible for malloc/ freeing the string pointers to this struct passwd, NOT the callers of _Get_Pwnam(). | ||||
* | improving authentication code (tidyup). | Luke Leighton | 1999-06-29 | 2 | -5/+6 |
| | |||||
* | #ifdef'd out hashed_getpwnam. | Luke Leighton | 1999-06-24 | 1 | -0/+4 |
| | |||||
* | Moved code that changes the pw_passwd entry (i.e shadow password and | Tim Potter | 1999-06-13 | 3 | -8/+90 |
| | | | | | | | | weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug. Note that the Get_Pwnam() function now returns a const struct passwd * as a hint to other developers not to change entries in the struct passwd. | ||||
* | had to move day display names into lib/util, to get rpctorture to compile. | Luke Leighton | 1999-05-07 | 1 | -0/+2 |
| | |||||
* | clean-up of cache-getpw-hash code needed (make proto showed up loads | Luke Leighton | 1999-05-06 | 1 | -12/+13 |
| | | | | of functions that should be static). | ||||
* | Jani Jaakkola's "getpwuid() / getpwnam()" hash-cache-hack | Luke Leighton | 1999-05-06 | 2 | -14/+271 |
| | |||||
* | md5 and hmac_md5 | Luke Leighton | 1999-04-30 | 2 | -0/+434 |
| | |||||
* | use /dev/urandom not /dev/random in head branch. | Andrew Tridgell | 1999-04-28 | 1 | -6/+9 |
| | | | | | also got rid of /tmp time based random source. I saw a system with a huge number of files in /tmp and logging in was taking a _long_ time. | ||||
* | Fix compile warning in nametouid(). | Tim Potter | 1999-04-12 | 1 | -1/+1 |
| | |||||
* | Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A | Matthew Chapman | 1999-04-08 | 1 | -2/+3 |
| | | | | | BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. | ||||
* | #ifdef'ed out functions obsoleted by VFS: | Tim Potter | 1999-04-04 | 1 | -4/+14 |
| | | | | | | | | dos_opendir dos_readdirname dos_file_exist Added warning comments to dos_mkdir() as it's used in client code. | ||||
* | * client/client.c (dir_total): use SMB_BIG_UINT | Alexandre Oliva | 1999-03-25 | 1 | -2/+26 |
| | | | | | | * client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> | ||||
* | SAM database "set user info". | Luke Leighton | 1999-03-25 | 1 | -2/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | ---------------------------- - 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. | ||||
* | Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent half | Matthew Chapman | 1999-03-23 | 1 | -4/+4 |
| | | | | an hour tracking it down in HEAD so I'm going to commit it here as well. | ||||
* | Beau Kuiper: provided patch so that passwords could only be changed by | Luke Leighton | 1999-03-19 | 1 | -0/+2 |
| | | | | | | root if the ACB_PWLOCK bit is set (on a per-user basis). he also added an extra smbpasswd option so that this bit can be modified from command-line. | ||||
* | Stefan Walter: spotted *p_group == NULL which should be p_group == ↵ | Luke Leighton | 1999-03-12 | 1 | -2/+14 |
| | | | | NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL. | ||||
* | mods to allow inter-domain trust accounts to be added to SAM database | Luke Leighton | 1999-03-09 | 1 | -30/+36 |
| | | | | using smbpasswd command. | ||||
* | added jeremy's new c++-like code for parsing of security descriptors. | Luke Leighton | 1999-02-23 | 1 | -0/+20 |
| | |||||
* | bitmap to strings | Luke Leighton | 1999-02-16 | 1 | -0/+70 |
| | |||||
* | Always null-terminate strings. | Matthew Chapman | 1999-02-15 | 1 | -16/+33 |
| | |||||
* | const cast issues. [p.s - tidy work, matt!] | Luke Leighton | 1999-02-12 | 1 | -16/+31 |
| | |||||
* | UNICODE cleanup (see lib/util_unistr.c). | Matthew Chapman | 1999-02-12 | 1 | -196/+114 |
| | | | | | | No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size). | ||||
* | UNICODE issues. | Luke Leighton | 1999-02-11 | 1 | -7/+7 |
| | |||||
* | the UNICODE issue... | Luke Leighton | 1999-02-11 | 1 | -1/+27 |
| | |||||
* | use jeremy's versions of the UNICODE routines. | Luke Leighton | 1999-02-10 | 1 | -38/+50 |
| | |||||
* | Having Well-known Domain Groups ("Domain Admins/Guests/Users") returned | Luke Leighton | 1999-02-09 | 1 | -1/+1 |
| | | | | | under SID_NAME_ENUM 0x5 instead of 0x2 (Well-known group instead of Domain Group) was making it impossible to view these groups from USRMGR.EXE. | ||||
* | removal of the use of unistrn2 function: replace it with unistr2_to_str | Luke Leighton | 1999-02-09 | 1 | -1/+1 |
| | | | | which is more appropriate. | ||||
* | UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL() | Luke Leighton | 1999-02-08 | 1 | -6/+6 |
| | |||||
* | cache unix groups so that two-level getgrent calls don't occur. | Luke Leighton | 1999-02-03 | 2 | -0/+72 |
| | |||||
* | Added init_nt_time function which initialises an NTTIME to -1. | Matthew Chapman | 1999-02-01 | 1 | -7/+9 |
| | |||||
* | fixed an uninitialized variable in lookupsmbgrpgid() and | Gerald Carter | 1999-01-13 | 2 | -1/+3 |
| | | | | lookupsmbpwuid that was causing a SEGFAULT in smbd. | ||||
* | adding start of remote lookup for domain member role. | Luke Leighton | 1998-12-20 | 1 | -29/+125 |
| | |||||
* | A while back, Andrew and I talked about making the debug parsing code a | Christopher R. Hertel | 1998-12-16 | 1 | -1/+159 |
| | | | | | | | | | | | | | | better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)----- | ||||
* | added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids. | Luke Leighton | 1998-12-14 | 1 | -5/+40 |
| | |||||
* | trying to track down issues in get_home_dir(). | Luke Leighton | 1998-12-14 | 1 | -4/+8 |
| | |||||
* | oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ. | Luke Leighton | 1998-12-09 | 2 | -16/+15 |
| | |||||
* | need to initialise global_myworkgroup | Luke Leighton | 1998-12-09 | 1 | -1/+14 |
| | |||||
* | Adding George's Mac extension code. | Jeremy Allison | 1998-12-08 | 1 | -0/+140 |
| | | | | Jeremy. | ||||
* | fixed warnings (and potential errors) due to integer overflow when | Andrew Tridgell | 1998-12-07 | 1 | -2/+3 |
| | | | | creating locking masks | ||||
* | first attempt at making unix setuid/setgid code that is independent of | Luke Leighton | 1998-12-07 | 1 | -0/+303 |
| | | | | cnums and snums. | ||||
* | removed nt_pipe_fnum from struct cli_state. need to be able to call | Luke Leighton | 1998-12-07 | 1 | -6/+7 |
| | | | | | | LsaLookupSids etc from within SamrQueryAliasMembers, for example. fnum is now a parameter to client functions. thanks to mike black for starting the ball rolling. |