[Samba] Sambauser can't use his homeshare but other shares - smb.conf

Mario Constanti Mario.Constanti at x-cellent.com
Tue Oct 6 23:37:17 MDT 2009


Hi Dale,
Hi Samba-List,

i have tried your suggestion but it doesn't work.
I've got the same error.

My posix permissions on the filesystem are correct.
Here is my #ls -lha output:

root at mounteverest:/data/shares# ls -lah
total 53K
drwxr-xr-x 14 administrator root          4.0K 2009-10-01 09:40 .
drwxr-xr-x  4 root          root          4.0K 2009-09-19 09:32 ..
drwxr-x---  3 root          root          4.0K 2009-09-18 11:45 admin
drwxr-x---  4 root          root          4.0K 2009-09-19 09:07 backup
drwx------  3 administrator root          1.0K 2009-04-22 17:17 ebs
drwxr-s--- 24 administrator dir_home      4.0K 2009-10-01 11:30 home
drwxrws--- 25 administrator dir_nobackup  4.0K 2009-10-05 16:49 nobackup
drwxrws--- 11 administrator dir_public    4.0K 2009-03-17 08:20 public
drwxrws--- 19 administrator dir_security  4.0K 2007-05-19 08:06 security

administrator und the dir_*-Groups are from the Active Directory.

Here something from my logfile:

[2009/10/07 07:22:37, 3] smbd/password.c:register_vuid(304)
  User name: nobody     Real name: nobody
[2009/10/07 07:22:37, 3] smbd/password.c:register_vuid(325)
  UNIX uid 65534 is UNIX user nobody, and will be vuid 101
...
[2009/10/07 07:22:37, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/10/07 07:22:37, 3] smbd/service.c:make_connection_snum(1033)
  winxpnotebook (192.168.2.26) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 8613)

Any other ideas?




-----Ursprüngliche Nachricht-----
Von: Dale Schroeder [mailto:dale at BriannasSaladDressing.com] 
Gesendet: Dienstag, 6. Oktober 2009 15:32
An: Mario Constanti
Betreff: Re: [Samba] Sambauser can't use his homeshare but other shares - smb.conf

Mario,

I would try this in [homes]
1. Do not use the "force group" parameter.
2. Add valid users = EXAMPLE+%S

You shouldn't have to declare the path again because you already set it 
in "template homedir",
but you can leave it if desired.

Your other settings appear to be quite reasonable, and should not cause 
any problems.
I have assumed that your posix permissions are correct for EXAMPLE+mario and
EXAMPLE+dir_home to navigate the entire /data/shares/home path.

Dale



More information about the samba mailing list