Announcement

Collapse
No announcement yet.

Configuring Samba: access error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Configuring Samba: access error

    Hi, i'm currently trying to configure samba so that i can access my home dir from a windows pc. i've installed all the necessary bits and my smb.conf file is as follows:

    --------------------------------------------------------------------
    [global]

    workgroup = 36frobisher

    server string = %h server (Samba, Ubuntu)

    wins support = yes

    dns proxy = no

    log file = /var/log/samba/log.%m

    max log size = 1000

    syslog = 0

    encrypt passwords = true

    obey pam restrictions = yes

    unix password sync = yes

    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

    pam password change = yes

    map to guest = bad user


    usershare allow guests = yes

    [homes]
    comment = Home Directories
    browseable = no

    create mask = 0700

    directory mask = 0700

    valid users = %S


    [printers]
    comment = All Printers
    browseable = no
    path = /var/spool/samba
    printable = yes
    guest ok = no
    read only = yes
    create mask = 0700

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    browseable = yes
    read only = yes
    guest ok = no

    ---------------------------------------------------------------

    After configuring this i have exectued the 'smbpasswd' binary and typed/retyped a password for the user.

    The problem is i'm getting an access error when i type in my username and password when i try to connect to the samba server from the windows machine. Also when i look at the 'samba' configuration in system settings there are still no users listed, leading me to believe i am doing something wrong when adding my user account to samba users.

    Can anybody help??

    Thanks
    Tom

    #2
    Re: Configuring Samba: access error

    Sounds like you are familiar with SAMBA, but ....

    Have you looked through Samba-3 by Example?

    It looks like you are missing the path = line in the [homes] section.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment

    Working...
    X