Results 1 to 2 of 2

Thread: Problem with samba user config

  1. #1
    Join Date
    Nov 2011
    Beans
    6

    Problem with samba user config

    I have a samba share for user1 that works with "security = user" and user map file. User1 owns the share and is in the group users. Recently I added user2 who should be able to read the share of user1. So I set the group permission for users to read, added user2 to this group and created with
    Code:
    smbpasswd -ae user2
    a samba user2. I also mapped the samba username to the linux username in /etc/samba/smbusers.

    However, I cannot login with user2.

    This is the output from the log file when trying to connect with user2.

    Code:
    [2012/02/01 11:27:35.069105,  1] smbd/service.c:678(make_connection_snum)
      create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
    What to do?

  2. #2
    Join Date
    Nov 2011
    Beans
    6

    Re: Problem with samba user config

    Found the solution:
    During my extensive try and error journey I left by mistake the entry
    Code:
    valid users = user1
    in smb.conf. After adding user2 the problem was solved.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •