[Samba] Can't conect to share ? - Samba

This is a discussion on [Samba] Can't conect to share ? - Samba ; Hi to all here is my problem i have one very simple share [files] here is the permissions of directory fileserver data # ls /home/samba/data/ -la total 16 drwsrws--x 4 alan acct 4096 Apr 4 04:58 . drwxr-xr-x 3 alan ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [Samba] Can't conect to share ?

  1. [Samba] Can't conect to share ?

    Hi to all here is my problem
    i have one very simple share [files]
    here is the permissions of directory
    fileserver data # ls /home/samba/data/ -la
    total 16
    drwsrws--x 4 alan acct 4096 Apr 4 04:58 .
    drwxr-xr-x 3 alan users 4096 Apr 4 04:55 ..
    drwsrws-wx 2 alan acct 4096 Apr 4 04:58 alan
    drwsrws-wx 2 ldbl acct 4096 Apr 4 04:58 ldbl
    Here is samba version
    fileserver data # smbd -V
    Version 3.0.24
    Here is smb status
    Samba version 3.0.24
    PID Username Group Machine
    -------------------------------------------------------------------
    19035 ldbl acct nedelchev (192.168.0.100)

    Service pid machine Connected at
    -------------------------------------------------------
    IPC$ 19035 nedelchev Thu Apr 5 14:07:17 2007

    No locked files

    and here is mu smb.conf

    [global]
    workgroup = BTL
    show add printer wizard = No
    security = USER
    log level = 3
    [files]
    comment = Work area files
    path = /home/samba/data/%U
    valid users = %S
    read only = No

    I have group acct and user ldbl
    password is set fo user ldbl with passwd and smbpasswd.
    I'm login to samba server without problem with user ldbl .But when i try
    to open share files
    i must type user name and password again and i can't login.
    I fount this in log files

    Got user=[ldbl] domain=[NEDELCHEV] workstation=[NEDELCHEV] len1=24 len2=24
    check_ntlm_password: Checking password for unmapped user
    [NEDELCHEV]\[ldbl]@[NEDELCHEV] with the new password interface
    check_ntlm_password: mapped user is: [FILESERVER]\[ldbl]@[NEDELCHEV]
    check_ntlm_password: sam authentication for user [ldbl] succeeded
    check_ntlm_password: authentication for user [ldbl] -> [ldbl] ->
    [ldbl] succeeded
    User name: ldbl Real name:
    UNIX uid 1000 is UNIX user ldbl, and will be vuid 101
    Adding homes service for user 'ldbl' using home directory: '/home/ldbl'
    nedelchev (192.168.0.100) connect to service IPC$ initially as user
    ldbl (uid=1000, gid=440) (pid 19035)
    user 'ldbl' (from session setup) not permitted to access this share
    (files)
    user 'ldbl' (from session setup) not permitted to access this share
    (files)

    Can anybody give me some hint.

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

  2. Re: [Samba] Can't conect to share ?

    > [files]
    > comment = Work area files
    > path = /home/samba/data/%U
    > valid users = %S
    > read only = No


    You've set valid users to the name of the service, which is files
    in this case.

    I'm thinking it should be %U.
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  3. Re: [Samba] Can't conect to share ?

    On 4/5/07, Franz Strebel wrote:
    >
    > > [files]
    > > comment = Work area files
    > > path = /home/samba/data/%U
    > > valid users = %S
    > > read only = No

    >
    > You've set valid users to the name of the service, which is files
    > in this case.
    >
    > I'm thinking it should be %U.



    Yes thats right i solve 5 minutes after posting .
    Sorry for that it works with
    valid users = @acct
    and
    valid users = %U

    The example that i'm using it's wrong maybe.
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread