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

Gerald (Jerry) Carter jerry at samba.org
Tue Oct 14 20:12:02 GMT 2003

Hash: SHA1

news.naag at gmx.net 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

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)

Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list