CVS update: samba/source/libsmb

abartlet at samba.org abartlet at samba.org
Fri May 24 00:02:16 EST 2002


Date:	Thu May 23 07:02:16 2002
Author:	abartlet

Update of /data/cvs/samba/source/libsmb
In directory va:/tmp/cvs-serv3014/libsmb

Modified Files:
	cli_dfs.c cli_lsarpc.c cli_netlogon.c cli_reg.c cli_samr.c 
	cli_spoolss.c cli_srvsvc.c cli_wkssvc.c cliconnect.c 
	pwd_cache.c 
Removed Files:
	cli_pipe_util.c 
Log Message:
Given Jeremy's positive response, and a lack of one from tpot, I'll commit
this:  

More code cleanup - this lot a bit more dodgy than the last:

The aim is to trim pwd_cache down to size.  Its overly complex, and a
pain to deal with.  With a header comment like this: 

'obfusticaion is planned'

I think it deserved to die (at least partly).

This was being done to allow 'cli_establish_connection' to die - its
functionality has been replaced by cli_full_connection(), which does
not duplicate code everywhere for creating names etc.

This also removes the little 'init' fucntions for the various pipes, 
becouse they were only used in one place, and even then it was dodgy.

(I've reworked smbcacls not to use anonymous connections any more, as
this will (should) fail with a 'restrict anonymous' PDC).

This allowed me to remove cli_pipe_util.c, which was calling 
cli_establish_connection.  

tpot:  I'm not sure what direction you were going with the client stuff,
and you may well have been wanting the init functions.  If thats the case,
give me a yell and I'll reimplement them against cli_full_connection.

Andrew Bartlett


Revisions:
cli_dfs.c		1.8 => 1.9
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_dfs.c?r1=1.8&r2=1.9
cli_lsarpc.c		1.44 => 1.45
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_lsarpc.c?r1=1.44&r2=1.45
cli_netlogon.c		1.20 => 1.21
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_netlogon.c?r1=1.20&r2=1.21
cli_reg.c		1.6 => 1.7
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_reg.c?r1=1.6&r2=1.7
cli_samr.c		1.28 => 1.29
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_samr.c?r1=1.28&r2=1.29
cli_spoolss.c		1.43 => 1.44
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_spoolss.c?r1=1.43&r2=1.44
cli_srvsvc.c		1.6 => 1.7
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_srvsvc.c?r1=1.6&r2=1.7
cli_wkssvc.c		1.2 => 1.3
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_wkssvc.c?r1=1.2&r2=1.3
cliconnect.c		1.73 => 1.74
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cliconnect.c?r1=1.73&r2=1.74
pwd_cache.c		1.24 => 1.25
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/pwd_cache.c?r1=1.24&r2=1.25
cli_pipe_util.c		1.3 => NONE
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_pipe_util.c?rev=1.3




More information about the samba-cvs mailing list