"valid users = %S" not working ...

Gerald (Jerry) Carter jerry at samba.org
Thu Dec 11 15:44:46 GMT 2003

Hash: SHA1

C.Lee Taylor wrote:

|> Are you running winbindd ?  If you are the username is actually
|> DOMAIN\user which won't match.   You would need to do
|> something like 'valid users = %D+%S'.
|     Well spotted, but if the share is been created with just
| what us humans she as the username, why can't we have the
| "valid users" options expect the same thing ... other wise if
| I was running multiple auths, then I would have a problem
| with usernames without a domain.

You can always do 'valid users = %D+%S, %S' if you want.
The problem is that you are confusing Windows terminology
with what winbindd is doing.    Technical DOMAIN+foo is the
UNIX username.  The fact that the homes share for that user
gets create without the DOMAIN prefix is an inconsistency.

|     This is get me by for now, but I think this might cause
| problems later on.

I feel pretty strongly about not changing this after all
the 'winbind use default domain' pain I've suffered through
lately.  The username will always have to be specified as
DOMAIN+foo (using whatever separator character you wish of

- --
cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard            ------------------------- http://www.hp.com
~ SAMBA Team                 ---------------------- http://www.samba.org
~ GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
~ "If we're adding to the noise, turn off this song" --Switchfoot (2003))
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba-technical mailing list