CVS update: samba/source
lkcl at samba.anu.edu.au
Thu Nov 13 04:07:28 EST 1997
Date: Thursday November 13, 1997 @ 4:07
Update of /data/cvs/samba/source
In directory samba:/tmp/cvs-serv14598
Makefile byteorder.h client.c clientgen.c includes.h nmbsync.c
ntclient.c nterr.c password.c proto.h reply.c server.c smb.h
smbencrypt.c smberr.c smbpass.c torture.c
First commit to BRANCH_NTDOM. the -DNTDOMAIN stuff was getting risky...
put "# " in front of FLAGS1 = -O. i can now put FLAGS1 = -g -g in
typecasting the data from unsigned to signed: the DEBUG printf was
sign extending signed numbers...
do_nt_login() takes the destination ip address as an extra argument.
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...
cli_session_request takes full netbios name, source and destination.
workstation trust account session establishment - client side.
NETLOGON Logon Control2 testing - client side
Net Server Password Set - client side
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 $.
added SMBOWF and SMBNTOWF functions.
modified to report 32 bit errors if they are enabled.
rpc_pipes/lsaparse.c rpc_pipes/ntclientnet.c :
added LSA Query Logon Control2.
errors in and experimentation with rpc bind / bind ack stuff, to
an NT server not just to a samba server (wow!).
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