Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

  1. #1
    Join Date
    Aug 2006
    Beans
    44

    [SOLVED] Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    I've spent a good few hours struggling to access my Ubuntu PC from a W2K3 machine. Prior to installing Lynx I had the same W2K3 machine accessing my home folder on Karmic using SAMBA.

    Whilst the Lynx PC is visible from W2K3 accessing any of the shares asks for a password and using the SAMBA user password results in an authentication error.

    Extract from /etc/samba/smb.conf
    Code:
    # Change this to the workgroup/NT-domain name your Samba server will part of
        workgroup = box
    
    [egd]
        path = /home/egd
    ;    available = yes
        writeable = yes
    ;    browseable = yes
        valid users = egd
    
    [HITACHI400GB]
        path = /media/HITACHI400GB
    ;    available = yes
        read only = no
    ;    browseable = yes
        public = yes
    
    [egd_backup]
        path = /media/egd_backup
    ;    available = yes
        writeable = yes
    ;    browseable = yes
        valid users = egd
    cat smbusers shows:
    Code:
    egd = egd
    Via Samba Server Configuration / Server Settings / Security, authentication mode is set to "User"

    SAMBA username/ pw were set using sudo smbpasswd -a egd
    Last edited by egd; May 3rd, 2010 at 06:30 AM.

  2. #2
    Join Date
    Aug 2006
    Beans
    44

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    I've been an Ubuntu user for the past 6 years and I've got to say this forum is the most pathetic part of the Ubuntu ecosystem: 83 views and not a single reply. Seems the broader community is either generally disinterested in helping others or otherwise has NFI. Guess it's back to Google, this forum is an absolute damned waste of time.
    Last edited by egd; May 3rd, 2010 at 06:35 AM.

  3. #3
    Join Date
    Aug 2006
    Beans
    44

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    For the benefit of others that may encounter the same problem it's solved by removing the semicolons ';' shown in the first post. For some reason the System/Administration/Samba GUI adds these, so use a text editor and manually make the requisite changes. When done, restart SAMBA as follows:
    Code:
    sudo restart smbd
    Last edited by egd; May 3rd, 2010 at 06:34 AM.

  4. #4
    Join Date
    Jul 2006
    Beans
    217

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    I'm having the same problem, but removing the semicolons did not work.
    I use samba to access a shared folder with my xbox (to view videos on my TV using XMBC). It used to work perfectly, now after upgrading to Lucid it asks for the password, but it does not work.

    Here is my old smb.conf

    Code:
    [SHARES]
    path = /home/luca/Shares
    comment = /home/luca/Shares
    guest ok = yes
    writable = yes
    public = yes
    only guest = yes
    guest account = nobody
    browsable = yes
    After reading your post I modified it this way:

    Code:
    [SHARES]
    path = /home/luca/Shares
    comment = /home/luca/Shares
    available = yes
    writable = yes
    browseable = yes
    public = yes
    But it still asks for the password.
    Any suggestion you might have would be very much appreciated.

  5. #5
    Join Date
    May 2008
    Beans
    40

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    try adding
    security = shares (or share)

    I am having difficulty with samba also and in my searching I think others were having the same problem as you and the above line I think helped.

    David

  6. #6
    Join Date
    Jun 2006
    Location
    Serbia
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    You could try adding:
    Code:
            map to guest = bad password
    in [global] part of smb.conf

  7. #7
    Join Date
    Jul 2006
    Beans
    217

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    @dnpate and zekica: I've already tried both your suggestions with no success.

  8. #8
    Join Date
    Aug 2007
    Beans
    8

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    LTS version with broken Samba network shares. Great work!

    ubuntu should release when it is stable enough. This is just a nightmare to always test and see that something is broken.

  9. #9
    Join Date
    Jul 2006
    Beans
    217

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    For the problem that I encountered, there is a solution HERE.
    It's no applicable to everyone, but if you are having problems with samba, check the thread and see if it might help.

  10. #10
    Join Date
    Aug 2007
    Beans
    8

    Re: Ubuntu 10.04 Lucid Lynx: SAMBA issues?

    Quote Originally Posted by Sciamano View Post
    For the problem that I encountered, there is a solution HERE.
    It's no applicable to everyone, but if you are having problems with samba, check the thread and see if it might help.
    Doesn't help with mine if the solution was to change fstab.

Page 1 of 3 123 LastLast

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
  •