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 ...
- 05-21-2010 #1Just Joined!
- Join Date
- May 2006
- Posts
- 2
[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:
when I run smbclient -L TKA I get:Code:session setup failed: NT_STATUS_NO_SUCH_DOMAIN
Now, when I browse the network, I see the TKANET group and my TKA box shows up.Code:Connection to TKA failed (Error NT_STATUS_CONNECTION_REFUSED)
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:
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.\\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.
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?
- 05-23-2010 #2Just Joined!
- Join Date
- May 2006
- Posts
- 2
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:
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:[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
Code:restart smbd


