[Samba] Samba does not allow access to share with another user

Flávio Fonseca ff at darkpenguin.com.br
Thu Dec 3 01:25:00 MST 2009


Hi,

  I'm trying to get some help with this problem one more time.

  When I try to get to a share in the samba server, say 
\\sambaserver\aplicativos, and Im logged in the station with a user that has 
access to the share everything works fine.
  But when I log in with a user that does not have access to that share 
windows prompts me a user/password dialog box. I fill in a valid 
user/password samba doesn't allow me to access the share.

  Here is my smb.conf share part:

[aplicativos]
        path = /home/aplicativos
        valid users = ff 
        force group = users
        writeable = yes

  when I logged in a station with user "ff" I can access the share. But then I 
log in with user "visitantes", which does not have access permission, windows 
prompts for user/password. I fill in user "ff" and my password and windows 
denies access. In samba's log it shows it trying to log in with 
user "visitantes" and not with user "ff":

[2009/10/29 20:52:57,  1] smbd/service.c:close_cnum(1409)
  lfoinfo-tec (::ffff:10.2.1.5) closed connection to service netlogon
[2009/10/29 20:52:58,  2] smbd/service.c:make_connection_snum(740)
  user 'visitantes' (from session setup) not permitted to access this share 
(aplicativos)
[2009/10/29 20:53:00,  2] smbd/service.c:make_connection_snum(740)
  user 'visitantes' (from session setup) not permitted to access this share 
(aplicativos)
[2009/10/29 20:53:00,  2] smbd/service.c:make_connection_snum(740)
  user 'visitantes' (from session setup) not permitted to access this share 
(aplicativos)
[2009/10/29 20:53:07,  2] smbd/service.c:make_connection_snum(740)
  user 'visitantes' (from session setup) not permitted to access this share 
(aplicativos)
[2009/10/29 20:53:11,  2] smbd/service.c:make_connection_snum(740)


  If it can help: smbd version 3.2.7-11.4.1-2210-SUSE-CODE11 started.

  Why samba, or windows, is not trying to log in with user "ff"?

  Thanks for your attention.
-- 

att.,

Flávio Fonseca
Dark Penguin Informática Ltda.

LPI 2 Certified


More information about the samba mailing list