Flávio Fonseca
2009-Oct-29  22:58 UTC
[Samba] Cant connect to samba share from windows xp with another user
Hi,
  I getting this problem since I updated my samba server for the one with 
opensuse 11.1.
  When I try to get to a share in the samba server, say \\sambaserver\apps, 
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 does allow me to log in.
  Here is my smb.conf share part:
[aplicativos]
        path = /home/SemBackup/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 the 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 ff password?
  Thanks for your attention.
-- 
att.,
Fl?vio Fonseca
Dark Penguin Inform?tica Ltda.
LPI 2 Certified
