CVS update: samba/source/smbd

tridge at samba.org tridge at samba.org
Sat Jun 23 01:14:46 EST 2001


Date:	Fri Jun 22 08:14:45 2001
Author:	tridge

Update of /home/cvs/samba/source/smbd
In directory va:/tmp/cvs-serv27814/smbd

Modified Files:
	server.c 
Log Message:
added the ability to test smbd safely as an ordinary user. The way it works is 
that libsmb/ creates a local tcp socket then launches smbd as a subprocess
attached to that socket. smbd thinks it is being launched from inetd.

to use it do the following:

- compile with -DSMB_REGRESSION_TEST
- run like this (also works with smbtorture etc)
    export SMBD_TEST=1
    export LIBSMB_PROG=bin/smbd
    smbclient //server/share -Uuser%pass

obviously you need to setup a smb.conf etc. Using --prefix to configure
is useful.

The aim of all this stuff is to add a decent set of regression tests
to the build farm, so we know if smbd actually runs correctly on all the
platforms, not just builds. We can run smbtorture, masktest, locktest etc,
plus a bunch of smbclient scripts and any new tests we write.

This doesn't help much with nmbd (at least not yet) but its a good start.



Revisions:
server.c		1.324 => 1.325
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/server.c?r1=1.324&r2=1.325




More information about the samba-cvs mailing list