summaryrefslogtreecommitdiff
path: root/source3/lsaparse.c
AgeCommit message (Collapse)AuthorFilesLines
1997-10-27added LSA_Q_CLOSE and LSA_R_CLOSE (also to smb.h). implemented in smbclient.Luke Leighton1-0/+58
updated Query Info Policy to report domain name and domain sid for info levels 3 and 5. fixed bug in dom_sid_to_string (idauths decoded wrong). fixed bug in DOM_SID: subauths are 32 bit not 16. (This used to be commit 2f3cca23e2465ca6a3a31fda005af1fd74f6af92)
1997-10-27added LSA Query Info Policy.Luke Leighton1-0/+14
fixed a problem with byte ordering (doing an SIVAL of the setup parameters which was _also_ being done in the creation of the SMB header. oops). (This used to be commit 541fb82895008cc30477019cdcafed9fdbbeac43)
1997-10-27added LSA Open Policy query and response processing to smbclientLuke Leighton1-0/+35
(This used to be commit 16cc27852bf54999db4b0a3665b0743d9fe0e74a)
1997-10-25added correct client-side credential generation / checking to the LSA SAMLuke Leighton1-1/+1
Logon query. i think i even got the client-side checking of the response credentials right! (This used to be commit f14c111835e18e361468cc6a1666a02654afe743)
1997-10-25Makefile :Luke Leighton1-0/+18
adding bits for new nt domain code byteorder.h : trying to get macros right, and not to crash on SUNOS5... client.c : added #ifdef NTDOMAIN, and created do_nt_login() function. don't want to have to recompile client.c unless absolutely necessary. credentials.c : moved deal_with_creds() [possibly inappropriately] into credentials.c ipc.c reply.c server.c uid.c : attempting to make (un)become_root() functions calleable from smbclient. this is a little tricky: smbclient might have to be another setuid root program, immediately setuid'ing to non-root, so that we can reset-uid to root to get at the smbpasswd file. or, have a secure pipe mechanism to smbd to grab smbpasswd entries. or the like. smbdes.c smbencrypt.c : created a function to generate lm and nt owf hashes. lsaparse.c ntclient.c smbparse.c : added nt client LSA_AUTH2 code. it works, too! pipenetlog.c pipentlsa.c pipesrvsvc.c : simplification. code-shuffling. getting that damn offset right for the opcode in RPC_HDR. smb.h : changed dcinfo xxx_creds to DOM_CRED structures instead of DOM_CHAL. we might need to store the server times as well. proto.h : the usual. (This used to be commit 82436a3d99d4bdce249ce9ff27fd2ca4b2447e07)
1997-10-22Makefile client.c :Luke Leighton1-1/+22
adding start of undocumented options to do NT domain logons, client-side. starting with LSA_REQCHAL. the code here happily crashes smbd: i'll investigate this further... :-) smbparse.c pipeutil.c lsaparse.c : moved some of the common make_xxxx() functions out of pipeutil.c so that the make_xxxx and (smb/lsa)_io_xxxx functions now sit together. makes sense, really... added a make_q_req_chal() function. restructured make_rpc_reply() and called it make_rpc_hdr(). created functions create_rpc_reply() and create_rpc_response(). pipenetlog.c pipentlsa.c pipesrvsvc.c calling new create_rpc_reply() function instead of old make_rpc_reply(). proto.h : usual. smb.h: added enum for RPC_PACKET_TYPE (This used to be commit b88ee3e16c6b671069f53ca2e9c5694ec8b1c030)
1997-10-17pipenetlog.c lsaparse.c smb.h :Luke Leighton1-58/+58
SAM logon sorting. too many buffer pointers. added in the missing switch value (value of 3). dealing with the buffer pointers to the user info structure in a slightly different way. (This used to be commit 7993e17c9a1edddae6407d3f12790c461def705a)
1997-10-13another alignment of client challenge: this one in lsa_io_q_auth_2().Luke Leighton1-1/+2
there are going to be a few of these... (This used to be commit 3db1fe79c300f17d087c85c7e768a8d11c0f7661)
1997-10-13lsa_io_r_req_chal() - challenge is not 4-byte aligned after the unicodeLuke Leighton1-1/+3
strings. (This used to be commit 717bcd6e3457f355583b4508d1f4edc9a52650df)
1997-10-13byteorder.h :Luke Leighton1-29/+29
debugging output wasn't (still isn't) perfect. credentials.c lsaparse.c smbparse.c : added DEBUG strings. pipes.c : lost some changes, to do with setup of RPC headers. arg. (This used to be commit 9fdd697d17b68293bb95fd68f44c24f0f5b97f5f)
1997-10-12getting somewhere.Luke Leighton1-49/+51
ipc.c : removed srvsvc pipe reference: have to do that. pipes.c lsaparse.c smbparse.c : more debugging info. looks a bit like netmon output. (This used to be commit e02aa88e25ae6d4da7953aaff04ff2ae9a656d05)
1997-10-12ipc.c:Luke Leighton1-4/+4
debugging info. found that data = NULL because of short packet length indicated from the ntlsaRPC pipe _royally_ stuffs NT's packet handling. maybe this should go down as a service denial bug to the ntbugtraq list. pipes.c lsaparse.c smbparse.c : added more debug stuff. added length of header to data_len in MSRPC fragment_length field (0x18 bytes short) which caused the above bug from NT 4.0. oops. (This used to be commit a6f8de6815e0b85bb23b302980730501ac0b87e5)
1997-10-12added debugging macros (suitable eventually for use in tcpdump, hopefully)Luke Leighton1-71/+127
(This used to be commit 946d73cf838976b905550288cac3aea7c43959f6)
1997-10-10ipc.c :Luke Leighton1-1/+1
#if NTDOMAIN call to api_netlogRPC #endif lsaparse.c : renamed lsa_io_q_auth2 to lsa_io_q_auth_2. pipes.c : added api_lsa_reply_auth_2() and api_netlogRPC. proto.h : the usual. (This used to be commit e2e1979b6215080593728942d414a273505877df)
1997-10-08loadparm.c proto.h:Luke Leighton1-0/+2
added lp_domainsid() lsaparse.c smb.h: debugging structures and parsing functions pipes.c: finally got to the functions that will go into the RPC switch statement. (This used to be commit d15aed8a9c58a7cc90befaee2d5a2752708f9327)
1997-10-08updating lsaparse.c and smbparse.c in line with changes to pipes.c and smb.hLuke Leighton1-9/+8
from yesterday. (This used to be commit 0b7049fae25957851a7f33d2bd500d8ecefc1ad5)
1997-10-07locking.c: Added fix for race condition in slow share mode code.Jeremy Allison1-0/+2
lsaparse.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS. pipes.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS. server.c: Fixed last known oplock race condition. smb.h: Re-removed USE_OPLOCK defines - someone checked in an old version. smbparse.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS. Jeremy (jallison@whistle.com) (This used to be commit 1e1366ddc5542283a37debdf830ca139bbade1b0)
1997-10-07pipes.c:Luke Leighton1-1/+4
more static unused functions in pipes.c for the LSA RPC stream. smb.h: corrections and altercations over the documentation lsaparse.c: reflecting alterations in LSA structures... (This used to be commit bef12478d212a950578843d6d4dece1f153bfd25)
1997-10-07pipes.c:Luke Leighton1-0/+14
some routines to create LSA RPC packets. none of them are used. lsaparse.c: smbparse.c: smb.h: more tidy-up. (This used to be commit b37e21273e81b875876e8e8ddf6804714044ffd8)
1997-10-06lsaparse.c smb.h: added 32 bit "return status" to the response structures.Luke Leighton1-92/+54
(This used to be commit 5bc75c6c626251dc8ba04ff4a83e81b92d93d2d6)
1997-10-06Makefile: added lsaparse.c and smbparse.cLuke Leighton1-1/+386
lsaparse.c, smbparse.c, smb.h: more functions / structures. proto.h: the usual. (This used to be commit a1c718728c46ebf8916af8985b4dae4d099f4ec2)
1997-10-05updating lsa and smb parsing routines and structures.Luke Leighton1-1/+14
(This used to be commit 2f722fe289051558dbe77aeb0a830bb3ded10a83)
1997-10-05processes LSA queries and responses to/from RPC data stream into structures.Luke Leighton1-0/+88
(This used to be commit 369f7d41d6ff6d2b9b8c1e0cac99d0f0d03410b0)