[Samba] Permission on homedrives..?

alex aoclarit at kiwi.dhs.org
Sun Mar 3 19:39:02 GMT 2002


Hi
I've got a samba PDC (samba 2.2.3a, RH 7.2, kernel 2.4.17, client is WinXP
pro).
I have a question about the homedrives-part in smb.conf.
Are the homedrive shares set up to allow access exclusively to the
appropriate user and no-one else ?
My smb.conf looks like that

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
   write list = @adm,alex
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user

I have a samba user called alex which I added to the Doamin adm group.
Now I wanna be able to see all user's homedrives when logged on as this user
but I can't.
When I log on to samba as alex and try to map to the homedrive of a user
called emily I get a logon prompt
and the log file says this :

[2002/03/03 18:54:10, 3] lib/access.c:check_access(310)
  check_access: no hostnames in host allow/deny list.
[2002/03/03 18:54:10, 2] lib/access.c:check_access(319)
  Allowed connection from  (192.168.0.2)
[2002/03/03 18:54:10, 2] smbd/service.c:make_connection(328)
  Invalid username/password for emily [alex]
[2002/03/03 18:54:10, 3] smbd/error.c:error_packet(99)
  error packet at smbd/reply.c(167) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD

and the Windows client complains :

\\server\share is not accessible. You might not have permission to use this
network resource. Contact the administrator..bla..bla
Multiple connections to a server or shared resource by the same user, using
more than one user name, are not allowed..ba.bla

smb.conf says :

domain admin group = @adm, at alex
admin users = root,alex

and whenever I use samba as alex the log says

[2002/03/03 19:20:05, 0] smbd/service.c:make_connection(381)
  alex logged in as admin user (root privileges)

doesn't this mean that I am the domain admin just like in an NT domain where
I can access all shares ?

I also made sure I have the right UNIX-permissions on /home/emily on the
samba box.

Any advice would be great.

Thx

Alex






More information about the samba mailing list