[Samba] "force user" of domain user fails in 3.0.23c

Bill Greene bill at rubgrp.com
Fri Nov 3 03:39:41 GMT 2006

Environment:  Fedora Core 5 with all updates, Samba 3.0.23c.

We have a share with a definition like:

        path = /home/D13/computerclub
        valid users = "D13\administrator" "D13\computerclub" "D13\cmueller"
        force user = "D13\computerclub"
        writeable = yes

This works in 3.0.23a.  In 3.0.23c, we get an error when trying to access
the share from Windows or from smbclient:

$ smbclient //wfserver/computerclub -U computerclub
Domain=[D13] OS=[Unix] Server=[Samba 3.0.23c-1.fc5]
tree connect failed: Call returned zero bytes (EOF)

The problem is associated with the "force user" statement - commenting
it out eliminates the problem.  Removing the domain prefix produces
(correctly) a "user not found" error, so it is related to a forced
user with a domain prefix.  Making it "force user = nobody" works.

I saw an earlier bug report about a segfault when a domain was used with
"force user", but that seemed unrelated.


-- bill

Bill Greene
The Rubicon Group
Oak Brook Illinois 60523

More information about the samba mailing list