Quoting Flávio Fonseca <[email protected]>:

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"?

By default windows uses the username that is logged on machine. You need to manually connect (map disk) and select correct username.

--
Eero,
RHCE

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to