'make test' in Samba 3

Gerald (Jerry) Carter jerry at samba.org
Fri Aug 26 20:13:53 GMT 2005

Hash: SHA1

Don Watson wrote:

> At the top of the script are lines to add the following to smb.conf:
> 	add user script
> 	delete user script
> 	add group script
> 	delete user script

But 'make test' is not necessarily run as root.  So if smbd
is not run as root, how can you actually create users and groups?
Regardless of whether or not we could create new unix accounts,
I don't think we should here.  Mostly because that is too
invasive to the host system IMO.  Especially when we turn
these tests on in the build farm.

> I think this solves the problem concerning the existence of 
> the groups and  users, and also cleans them up after the test
> is finished.  I still haven't  figured out the problem
> with 'rpc group'.

svn up.  I just fixed a bug in our group code.

cheers, jerry
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba-technical mailing list