Find the answer to your Linux question:
Results 1 to 2 of 2
samba issues I had Samba shares (a public folder and a printer) running fine on Jaunty 9.10, when upgraded to 10.04 it stopped working. I've tried several tips and following ...
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    2

    Question [SOLVED] Samba not working on Lucid Lynx 10.04

    samba issues

    I had Samba shares (a public folder and a printer) running fine on Jaunty 9.10, when upgraded to 10.04 it stopped working.

    I've tried several tips and following different threads to no avail.

    when I run smbclient -L localhost or else smbclient -L 127.0.0.1 I get:

    Code:
    session setup failed: NT_STATUS_NO_SUCH_DOMAIN
    when I run smbclient -L TKA I get:

    Code:
    Connection to TKA failed (Error NT_STATUS_CONNECTION_REFUSED)
    Now, when I browse the network, I see the TKANET group and my TKA box shows up.

    In ubuntu client with 10.04 I get a message stating the place can not be mounted and that it failed to obtain the sharing list from the server. (something like that, my client computer is in spanish). In winxp I got:

    \\TKA is not accessible. You might not have permissions to use this network resource. Contact the administrator of this server to find out if you have access permissions.

    The network path was not found.
    I installed samba4 but did't do any difference, so I uninstalled that. Reinstalled SAMBA and the config tool for samba several times. No difference.

    my smb.conf file is attached as txt file. I couldn't post directly because the forum editor detects some lines as links to other sites .

    ** any ideas to win this battle?
    Attached Files Attached Files

  2. #2
    Just Joined!
    Join Date
    May 2006
    Posts
    2

    Lightbulb Sharing my solution

    Just in case someone else is looking for this same issue... I completely uninstalled the whole samba and samba config tool from Synaptic and deleted the /etc/samba/smb.conf file (renamed it actually). Then reinstalled. Did nothing for me.

    Also tried using the backup, default smb.conf copy located at /usr/share/samba/smb.conf copying that to /etc/samba location. After restart, tried to use the samba tool to set up the shares. Nothing!.

    [SOLUTION]

    Got to one tutorial somewhere (can't post the link yet because of the forum rules ) and just used the authors suggested smb.conf Worked great. Just twaked it a little bit, as I am sharing a printer with samba too.

    Here is the final smb.conf (obviously with my setting when it comes to ip mask and shared folders names, but it might help someone else:

    Code:
    [global]
    	workgroup = tkanet
    ;	netbios name = tka
    	server string = TKA
    	security = share
    	encrypt passwords = no
    	guest ok = yes
    ;	guest account = nobody
    	load printers = yes
    	hosts allow = 192.168.7. 127.
    	interfaces = lo eth0
    
    [printers]
    	browseable = yes
    	path = /tmp
    	printable = yes
    	public = yes
    	ready only = yes
    	create mask = 0700
    	use client driver = yes
    	guest ok = yes
    
    [public]
    	path = /mnt/public
    	guest ok = yes
    	comment = TKA's Public
    ;	available = yes
    	writable = yes
    ;	browsable = yes
    	create mask = 0666
    only problem I have now is the cups starting after smbd issue already reported as a bug, so i need to restart the smbd service after every reboot otherwise my public shared folder shows up but my printer don't.

    Code:
    restart smbd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...