summaryrefslogtreecommitdiffstats
path: root/source/lib/domain_namemap.c
Commit message (Collapse)AuthorAgeFilesLines
* Unicode conversion fix in Japanese environment from Motonobu TAKAHASHI.Jeremy Allison1999-12-131-0/+1317
| | | | Jeremy.
* 2nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1999-12-131-1315/+0
| | | | that were in the head branch but weren't in SAMBA_2_0
* ABOUT TIME!!!!!!!!Luke Leighton1999-12-081-2/+2
| | | | | | | | | | | | | | | damn, this one is bad. started, at least two days ago, to add an authentication mechanism to the smbd<->msrpc redirector/relay, such that sufficient unix / nt information could be transferred across the unix socket to do a become_user() on the other side of the socket. it is necessary that the msrpc daemon inherit the same unix and nt credentials as the smbd process from which it was spawned, until such time as the msrpc daemon receives an authentication request of its own, whereupon the msrpc daemon is responsible for authenticating the new credentials and doing yet another become_user() etc sequence.
* ok. *whew*. this is the first completed part of the restructure.Luke Leighton1999-11-241-2/+6
| | | | | | | | | | | | verified that lsaquery, lsalookupsids work, and found some bugs in the parameters of these commands :-) soo... we now have an lsa_* api that has the same arguments as the nt Lsa* api! cool! the only significant coding difference is the introduction of a user_credentials structure, containing user, domain, pass and ntlmssp flags.
* first stages of removing struct cli_state* and uint16 fnum from allLuke Leighton1999-11-241-11/+6
| | | | | | | | | msrpc client code. the intent is to hide / abstract / associate connection info behind policy handles. this makes the msrpc functions look more and more like their nt equivalents. who-hou!
* the dynamic memory alloc blood-fest goes on...Luke Leighton1999-10-211-1/+1
|
* BDC support.Luke Leighton1999-07-211-0/+2
|
* 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