Re: [Samba] Samba 3.0.0: "force user" not working

2003-10-14 Thread news . naag
It was foretold that on Tue, 14 Oct 2003 15:12:02 -0500, Gerald (Jerry) 
Carter <[EMAIL PROTECTED]> would mumble:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| Hi,
|
| a few days ago I upgraded to Samba 3.0.0.
| The upgrade worked flawlessly.
| I just wonder why the "force user" setting does no longer work like it
| should..
| This is an excerpt from my smb.conf-file:
|
| [200a3i]
| path = /home/www_200a3i/public_html
| valid users = peter, niklas
| admin users = peter
| force user = www_200a3i
| force group = www
|
| Usually one expects that these settings make samba use the user
| www_200a3i from /etc/passwd to create files / folders. But it doesn't,
| it uses root instead. However, the "force group" settings works just 
fine.

If you connect as peter, I would expect the admin user option
to take precendence.  If you connect as niklas, then I would
expect the 'force user' parameter to take effect.  Is this
not what you are seeing?
If not, then tell me how the current behavior differs from
2.2.


cheers, jerry
~ --
~ Hewlett-Packard- http://www.hp.com
~ SAMBA Team -- http://www.samba.org
~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~--John Cusack - "Grosse Point Blank" (1997)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/jFiSIR7qMdg1EfYRApTaAJoCXuCvdjuEZztEs4yNmAxYm1HXHgCg5GrS
Vr/gA3YQMLsVc9PgCO4M7o8=
=9vKo
-END PGP SIGNATURE-
Hi Jerry,

neither files / directories are created using the user peter, nor niklas. 
They are create using the user root.
The behavior in 2.2 was like this: when setting "force user = www_200a3i", 
then samba would actually create all files with the owner set to 
www_200a3i.
in 3.0.0, this only works with the "force group" setting. However, i would 
also like to change the owner, not only the group.

Greetings,
Peter
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.0: "force user" not working

2003-10-07 Thread news . naag
Hi,

a few days ago I upgraded to Samba 3.0.0.
The upgrade worked flawlessly.
I just wonder why the "force user" setting does no longer work like it 
should..
This is an excerpt from my smb.conf-file:

[200a3i]
path = /home/www_200a3i/public_html
valid users = peter, niklas
admin users = peter
force user = www_200a3i
force group = www
Usually one expects that these settings make samba use the user www_200a3i 
from /etc/passwd to create files / folders. But it doesn't, it uses root 
instead. However, the "force group" settings works just fine.

Any suggestions?



Greetings,
Peter Buecker
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba