CVS update: samba/source/rpc_pipes

Luke Leighton lkcl at samba.anu.edu.au
Wed Jan 7 03:34:07 EST 1998


Date:	Wednesday January 7, 1998 @ 3:34
Author:	lkcl

Update of /data/cvs/samba/source/rpc_pipes
In directory samba:/tmp/cvs-serv14925/rpc_pipes

Modified Files:
      Tag: BRANCH_NTDOM
	lsaparse.c ntclientlsa.c pipe_hnd.c pipenetlog.c pipentlsa.c 
	pipesamr.c pipeutil.c rpc_dce.h rpc_lsa.h rpc_misc.h 
	samrparse.c smbparse.c 
Added Files:
      Tag: BRANCH_NTDOM
	pipesrvutil.c rpcparse.c 
Log Message:

Issues
------

1) sub-division of rpc code to make it more suitable as a client-side library.

2) bug-fixing to get domain logins working again

3) doing "lsa lookup sids" which is needed in order to access other people's files.


Modified / Added Files
----------------------

Makefile rpc_pipes/pipesrvutil.c rpc_pipes/rpcparse.c :

	splitting rpc_pipes/pipeutil.c into misc (pipeutil.c) and server (pipesrvutil.c).
	splitting rpc_pipes/smbparse.c into misc (smbparse.c) and dce/rpc (rpcparse.c).

pipes.c rpc_pipes/pipe_hnd.c :

	oops, was passing the unix uid instead of the (local) smb vuid to the
	open_rpc_pipe_hnd() function.  this made get_user_struct(vuid) fail.  oops.

smb.h :

	moved the rpc PIPE_xxx string defines into... rpc_pipes/rpc_misc.h, i think.

rpc_pipes/lsaparse.c rpc_pipes/pipentlsa.c :

	fixing "lsa lookup sids"

rpc_pipes/pipenetlog.c :

	oh, dear.  the credentials are used as 16 bytes, but only the first
	8 are actually created in cred_session_key().  using the malloc/mem_man.c
	code it very kindly initialises all uninitialised memory to 0x45454545 so
	this bug was easy to spot.  easier....

rpc_pipes/pipesamr.c :

	moved the lookup_group_rid(), lookup_alias_rid(), lookup_user_rid() functions
	into rpc_pipes/pipesrvutil.c and then created lookup_xxxx_name() equivalents
	too.

	these functions will be used in both the pipesamr.c and pipentlsa.c calls,
	which stupidly _both_ have "lookup name" and "lookup rid/sid" calls.  the
	syntax is slightly different in each case, but the info returned is not.
	god, why did m... never mind.

rpc_pipes/rpc_misc.h rpc_pipes/smbparse.c :

	created a LOOKUP_LEVEL structure, for info levels / switch values.




More information about the samba-cvs mailing list