'make test' in Samba 3

Gerald (Jerry) Carter jerry at samba.org
Fri Aug 26 19:48:02 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Watson wrote:
> I want to submit the attached test before it gets too big.  
> 
> Only problem I'm having with it is that 'net rpc group' is returning a blank 
> string.  I have tried this manually and 'getent group' shows that the group 
> exists, and 'net rpc group delete' deletes the group, but 'net rpc group' 
> returns a blank string.
> 
> Am I misinterpreting the expected output from 'net rpc group'?

Don,

I know I already replied privately, but this is more for the
list.

The main thing I see that is a problem with the test is that
it assumes certain unix groups or users exist on the system.
'net rpc group add foo' means that either (a) foo has to exist
via getpwnam() or an 'add group script' is defined in smb.conf.

One alternative might be to grep users or groups from
/etc/{passwd,group} or maybe from the output of `id`




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

iD8DBQFDD3HyIR7qMdg1EfYRAmWoAJ9LjLZLAHWct0Y6U1ldHsFQw5jOkQCfWAFv
bXLxTLc/TX8rIgXSmOIF8SQ=
=SnXG
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list