CVS update: samba/source/rpc_pipes

Luke Leighton lkcl at
Thu Nov 13 04:07:29 EST 1997

Date:	Thursday November 13, 1997 @ 4:07
Author:	lkcl

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

Modified Files:
	lsaparse.c ntclientnet.c ntclientpipe.c smbparse.c 
Log Message:

First commit to BRANCH_NTDOM.  the -DNTDOMAIN stuff was getting risky...

Makefile :

	put "# " in front of FLAGS1 = -O.  i can now put FLAGS1 = -g -g in

	added nterr.o

byteorder.h :

	typecasting the data from unsigned to signed: the DEBUG printf was
	sign extending signed numbers...

client.c :

	do_nt_login() takes the destination ip address as an extra argument.

clientgen.c :

	use cli_error() instead of direct reading of the smb_rcls SMB field.
	you can enable 32 bit error codes, and detect them properly.
	cli_state sec_mode is a bit-field.  made some #defines.

	changed cli_state "desthost" parameter to "called_netbios_name".
	added "calling_netbios_name".  added called_name_type and
	calling_name_type to cli_session_request().  documented microsoft's
	arse-farmer method of turning fully-qualified DNS names into
	NetBIOS names, and put a #ifdef around it which is always enabled.

includes.h ntdomain.h :

	ntdomain stuff was getting a bit big...

nmbsync.c :

	cli_session_request takes full netbios name, source and destination.

ntclient.c :

	workstation trust account session establishment - client side.

	NETLOGON Logon Control2 testing - client side

	Net Server Password Set - client side

nterr.c :

	decoding of NT_STATUS_xxxxxx error messages.  very basic at the moment.

password.c reply.c pwd_validate.c server.c :

	moved the password server code out into pwd_validate.c.  

	not sure what to do in reply.c for "workstation trust accounts".
	deny all IPC$ access at the moment for all accounts ending in $.

smbencrypt.c :

	added SMBOWF and SMBNTOWF functions.

smberr.c :

	modified to report 32 bit errors if they are enabled.

rpc_pipes/lsaparse.c rpc_pipes/ntclientnet.c :

	added LSA Query Logon Control2.

rpc_pipes/ntclientpipe.c :

	errors in and experimentation with rpc bind / bind ack stuff, to
	an NT server not just to a samba server (wow!).

rpc_pipes/smbparse.c :

	oops!  there is an extra byte "reserved" just after the opnum.
	this didn't actually matter unless the memory was uninitialised,
	because the rpc header is 4-byte aligned!

More information about the samba-cvs mailing list