Announcement

Collapse
No announcement yet.

Unable to access Kubuntu share from other computers (Windows or Linux)

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

    Unable to access Kubuntu share from other computers (Windows or Linux)

    Running Kubuntu 7.10.

    I have set up a number of samba shares under Kubuntu. On other computers (one running Windows XP and the other running Xandros), I can see the folders I shared for Kubuntu cannot access them:

    1. For the windows machine: I get the following error message:

    \\kubuntu-hp\various is not accessible. You might not have permission to use this network resource. Contact the adminstrator of this server to find out if you have access permissions.

    The network path was not found.
    2. For the linux machine, I get the following error message:

    'Kubutnu-hp\data'
    Server Error: Share not found
    My smb.conf file is as follows:

    [global]
    workgroup = anderson
    server string=%h server (Kubuntu)
    dns proxy = no
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    security = share
    encrypt passwords = true
    passdb backend = tdbsam
    ldap delete dn=yes
    obey pam restrictions = yes
    invalid users = root
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* .
    client use spnego=no
    load printers = no
    printing=cups
    printcap name = cups
    socket options = tcp_nodelay
    dos filetimes=yes
    display charset=UTF8
    unix charset=UTF8
    wins server=10.0.0.3
    preserve case=yes
    case sensitive=no
    short preserve case=yes
    os level=20


    [kubuntu-home]
    browseable=yes
    path = /home/victor/
    case sensitive = no
    strict locking = no
    msdfs proxy = no
    guest ok = yes
    read only = no
    public=yes
    guest ok = yes

    [various]
    browseable=yes
    path = /home/victor/various/
    case sensitive = no
    strict locking = no
    msdfs proxy = no
    guest ok = yes
    read only = no
    public=yes

    [kdata]
    browseable=yes
    path = /media/sda3/data/
    case sensitive = no
    strict locking = no
    msdfs proxy = no
    guest ok = yes
    read only = no
    public=yes
    guest ok = yes
    I have looked at the various resources available on this site including:

    http://ubuntuforums.org/showthread.php?t=202605&highlight=accessing+ubuntu +shared+folders and and https://help.ubuntu.com/community/SettingUpSamba

    but nothing I have tried to do has helped. I would be grateful very assistance.

    Victor Warner

    #2
    Re: Unable to access Kubuntu share from other computers (Windows or Linux)

    Read though this and see if it helps. You do have to set the user name and password as told to me. Also, you have to map it on a Windows machine using the option of using different credentials.

    http://kubuntuforums.net/forums/inde...opic=3089406.0

    Comment


      #3
      Re: Unable to access Kubuntu share from other computers (Windows or Linux)

      Thank you for the reply and the link.

      Adding the user name and password for samba I had already done.

      Looking again at one of the pages I referenced in my original post I noticed that I had set

      security=share
      in smb.conf

      while in the referenced pages the security level was

      security=user
      With this change, I have been able to open the kubuntu folders from the Windows and other Linux machine.

      Victor Warner.

      Comment


        #4
        Re: Unable to access Kubuntu share from other computers (Windows or Linux)

        Glad to hear! Fought that battle for a while and was glad to have it resolved. Glad you do as well.

        Cheers!!

        Comment


          #5
          Re: Unable to access Kubuntu share from other computers (Windows or Linux)

          Hum...i was in a condition like you and have performed a lot of steps to obtain a perfect share.
          1) in the share description cancel 'guest=ok' and add the option 'valid users = xxxxxx' (change xxxxxx with your user name)
          2) with smbpasswd tool enable the user and add a password ('man smbpasswd' will explain how to do)

          When you try to access the share, input the password and all should be ok.

          RR

          Comment

          Working...
          X