summaryrefslogtreecommitdiffstats
path: root/source/lib/domain_namemap.c
Commit message (Collapse)AuthorAgeFilesLines
* code from bertl to allow remap of default built-in names to anything.Luke Leighton1999-07-141-21/+1
| | | | | parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at>
* Moved code that changes the pw_passwd entry (i.e shadow password andTim Potter1999-06-131-1/+1
| | | | | | | | 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.
* removal of the use of unistrn2 function: replace it with unistr2_to_strLuke Leighton1999-02-091-1/+1
| | | | which is more appropriate.
* fixed an uninitialized variable in lookupsmbgrpgid() andGerald Carter1999-01-131-0/+2
| | | | lookupsmbpwuid that was causing a SEGFAULT in smbd.
* adding start of remote lookup for domain member role.Luke Leighton1998-12-201-29/+125
|
* added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids.Luke Leighton1998-12-141-5/+40
|
* issues spotted by andrej: %s\\%s not %s\%sLuke Leighton1998-12-021-2/+2
|
* fix to domain_namemap (domain, ntname wrong way round oops)Luke Leighton1998-12-011-1/+1
| | | | stupid compile errors with file_rename() call just created.
* attempting to fix "domain user map" up, but it's a bit complicated.Luke Leighton1998-11-301-36/+52
| | | | | | | | | | | | | | | | | 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...
* - adding builtin[alias]db.Luke Leighton1998-11-301-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | - lib/sids.c: generate_sam_sid() modified to take a domain name: it now generates "DOMAIN_NAME.SID". reasons: 1) if you run multiple samba servers on the same machine under different netbios names as members of a domain, they won't all use the same SID, which is a _big_ mistake but it would happen _by default_. 2) we have (had) a problem with sid_to_string() and string_to_sid() which cause SIDs to be incorrectly read. one of the major reasons for *NOT* making this change was so as not to disrupt existing users. but as they will be anyway by this bug, we might as well go ahead. - passdb/smbpass.c: wanted to change the meaning of the name in the smbpasswd file to an "nt" name not a "unix" name. this is probably not a good idea: reverted this. - output formatting / bug-fixing in rpcclient query_useraliases code.
* "retired" two modules to preserve their cvs history.Luke Leighton1998-11-291-0/+1186
added their replacements, added sam password database API modules