summaryrefslogtreecommitdiffstats
path: root/source/lsarpcd
Commit message (Collapse)AuthorAgeFilesLines
* rpcclient registry commands.Luke Leighton1998-11-101-1/+1
|
* set netlogon negotiation flags to 0x1ff, not to what the client requests.Luke Leighton1998-10-231-9/+10
| | | | this is 0x4000 01ff on NT4 SP4, and 0x0000 01ff on pre-NT4 SP4.
* bug fix in lsa_trans_names.Luke Leighton1998-10-221-1/+3
| | | | | well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does decimal not hexadecimal oops.
* domain aliases added a bit better: does local aliases if you queryLuke Leighton1998-10-211-4/+4
| | | | | for sid S-1-5-20 and does (nothing at the moment) if you query for your own sid.
* bug-fixing against:Luke Leighton1998-10-151-0/+42
| | | | | | | | | | | | | | | | | | AS/U: it returns dce/rpc "first" and "last" bits _clear_ in a bind/ack response, when they should be set in a (small) packet. they also, in the bind/ack do not set a secondary address string at all, so we can't check against that... Win95: client-side dce/rpc code is a bit odd. it does a "WaitNamedPipeState" and has slightly different pipe-naming (\PIPE\LANMAN is joined by \PIPE\SRVSVC, \PIPE\WINREG etc whereas nt just has \PIPE\LANMAN and \PIPE\). Win95-USRMGR.EXE: added LsaOpenPolicy (renamed existing to LsaOpenPolicy2). added SamrConnect (renamed existing to SamrConnect2).
* lsa_lookup_sids command added. severe debugging needed on lookup_sidsLuke Leighton1998-09-301-60/+85
| | | | | | | | | code. added "quality of service" capability to lsa_open_policy code. different lsa_open_policy queries are *not* dealt with in the server code. answers like "0xC000 0022" - access denied - will have to be made to lsa_lookup_sids calls when a "quality of service" request is *not* specified in the lsa_open_policy call.
* Got very strict about the differences and uses ofJeremy Allison1998-09-291-30/+40
| | | | | | | uid_t, gid_t and vuid. Added sys_getgroups() to get around the int * return problem. Set correct datatypes for all uid, gid and vuid variables. Jeremy.
* use a separate ZERO_ARRAY() macro instead of ZERO_STRUCT() forAndrew Tridgell1998-08-261-1/+1
| | | | arrays. This prevents (harmless) warnings from some compilers
* Changed ASSERT macros to SMB_ASSERT macros as some systems alreadyJeremy Allison1998-08-241-4/+4
| | | | | have an ASSERT macro defined. Jeremy.
* added ASSERT() and ASSERT_ARRAY() macros and sprinkled them liberallyAndrew Tridgell1998-08-221-0/+8
| | | | in the rpc code.
* use ZERO_STRUCT() to initialise lots of structures.Andrew Tridgell1998-08-211-1/+30
| | | | | Luke, you need to do something similar in the rest of the rpc code. Have fun!
* De-coupled the mapping of a Windows to UNIX username from the Get_PwnamJeremy Allison1998-06-101-1/+12
| | | | | | | | | | | | username case conversion wrapper. It is now (very) explicit where we are mapping between an incoming Windows username, and when we are doing a UNIX password entry lookup, which may change the case of the given username. This makes things *much* clearer (IMHO:-) and will ease the adding of the 'groupname map' parameter, and the addition of the special 'jeremy' mode for Samba where unix users will not be needed. (We must think of a better name for it :-). Jeremy.
* more warnings, from Tim WindersLuke Leighton1998-05-241-1/+1
|
* - renamed some of the passdb.c functions: they have a prefix pdb_ on themLuke Leighton1998-05-181-1/+1
| | | | | - split smbpass.c "password file lock" routines into smbpassfile.c: moved trust account routines into smbpassfile.c as well
* Fixed dce/rpc to use global_machine_sid (auto generated in server.c ifJeremy Allison1998-05-141-10/+4
| | | | | not present in smb.conf). Jeremy.
* chgpasswd.c: Added comments to #ifdefsJeremy Allison1998-05-141-32/+43
| | | | | | | | | | | | | | | | | | | | | ipc.c: Caused samba password changing not to be done if UNIX password changing requested and not successful. util.c: Added string_to_sid() and sid_to_string() functions. lib/rpc/client/cli_samr.c: lib/rpc/include/rpc_misc.h: lib/rpc/parse/parse_lsa.c: lib/rpc/parse/parse_misc.c: lib/rpc/parse/parse_net.c: lib/rpc/parse/parse_samr.c: lib/rpc/server/srv_lsa.c: lib/rpc/server/srv_lsa_hnd.c: lib/rpc/server/srv_netlog.c: lib/rpc/server/srv_samr.c: lib/rpc/server/srv_util.c: Changes so that instead of passing SIDs around as char *, they are converted to DOM_SID at the earliest opportunity, and passed around as that. Also added dynamic memory allocation of group sids. Preparing to auto-generate machine sid. Jeremy.
* "For I have laboured mightily on Luke's code, and hath brokenJeremy Allison1998-03-111-0/+444
all I saw" - the book of Jeremy, chapter 1 :-). So here is the mega-merge of the NTDOM branch server code. It doesn't include the new client side pieces, we'll look at that later. This should give the same functionality, server wise, as the NTDOM branch does, only merged into the main branch. Any fixes to domain controler functionality should be added to the main branch, not the NTDOM branch. This code compiles without warnings on gcc2.8, but will need further testing before we are sure all the working functionality of the NTDOM server branch has been correctly carried over. I hereby declare the server side of the NTDOM branch dead (and all who sail in her :-). Jeremy.