You are not logged in.

#1 2011-03-17 20:29:57

xamindar
Member
Registered: 2010-08-07
Posts: 52

Samba will not authenticate any users

I can not get Samba on my Arch system to work correctly for some reason. I have added the users with smbpasswd but it still keeps saying the password is bad when I try to mount a share from another computer. Has anyone else had this problem in arch? Here is my config file as it currently is. Trying to keep it as simple as possible but things still are not working.

[global]
        server string = Backup and Multimedia server
        security = SHARE
        smb passwd file = /etc/samba/private/passdb.tdb
        passdb backend = smbpasswd
        load printers = No
        disable spoolss = Yes
        show add printer wizard = No
        write list = xamindar
        printing = bsd
        print command = lpr -r -P'%p' %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j
        map hidden = Yes
        map system = Yes

[backup]
        path = /mnt/user/backup

When I try to mount the backup share as user xamindar I get a permission denied (error 13) and in the samba log on the host it prints:

2011/03/17 13:29:17.785698,  1] smbd/service.c:678(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD

Any help would be greatly appreciated.

Offline

#2 2011-03-17 21:48:06

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: Samba will not authenticate any users

From smb.conf manpage:

Note that smbd ALWAYS uses a valid UNIX user to act on behalf of the client, even in security = share level security.

Do you have a matching UNIX user? 'username map' may be of interest, too.

Offline

#3 2011-03-18 13:15:43

xamindar
Member
Registered: 2010-08-07
Posts: 52

Re: Samba will not authenticate any users

Yes, the user "xamindar" is set up on that machine as well. I don't think smbpasswd will even let you add it to samba if it doesn't exist on the system.

Last edited by xamindar (2011-03-18 13:16:22)

Offline

Board footer

Powered by FluxBB