"Access denied" error on Samba mount

Discussion in 'Server Operation' started by sambauser, Oct 15, 2007.

  1. sambauser

    sambauser New Member

    Hi,

    I am trying to mount a samba share on to a Windows 2003 server.

    When I do,
    devdb001:/ # mount -t cifs -o username=mysql,password=pass //10.141.52.15/linuxbak/mysql_db/devdb /media/devdb/
    retrying with upper case share name
    mount error 6 = No such device or address
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


    My smb.conf is,
    [global]
    workgroup = MY.COM
    map to guest = Bad User
    usershare allow guests = Yes
    valid users = root, mysql
    force user = mysql

    [homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    read only = No
    inherit acls = Yes
    browseable = No

    [profiles]
    comment = Network Profiles Service
    path = %H
    read only = No
    create mask = 0600
    directory mask = 0700
    store dos attributes = Yes

    [users]
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes

    [groups]
    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes

    [devdb]
    comment = Share for devdb001 on backup server
    path = /media/devdb
    write list = root, mysql
    read only = No
    create mask = 0600
    directory mask = 0700
    inherit acls = Yes


    The user mysql is added to the smbpasswd file.

    Also,
    devdb001:/ # smbclient -L 10.141.55.66 -U mysql
    Password:
    Domain=[DEVDB001] OS=[Unix] Server=[Samba 3.0.22-13.30-1290-SUSE-SLES10]

    Sharename Type Comment
    --------- ---- -------
    profiles Disk Network Profiles Service
    users Disk All users
    groups Disk All groups
    devdb Disk Share for devdb001 on backup server
    IPC$ IPC IPC Service (Samba 3.0.22-13.30-1290-SUSE-SLES10)
    ADMIN$ IPC IPC Service (Samba 3.0.22-13.30-1290-SUSE-SLES10)
    mysql Disk Home Directories
    Domain=[DEVDB001] OS=[Unix] Server=[Samba 3.0.22-13.30-1290-SUSE-SLES10]

    Server Comment
    --------- -------

    Workgroup Master
    --------- -------
    OVE-VICKI OVE-DC01
    OVE.COM DEVDB001
    OVE.LOCAL AMANDABACKUP

    Can someone tell me what I am doing wrong?

    Thanks.
     

Share This Page