PDA

View Full Version : [ubuntu] SAMBA on 10.10



venik212
October 15th, 2010, 11:14 PM
I run a print server, and print on it remotely from another machine. After I upgraded from 10.04 to 10.10 (gnome) on both the client and the servber, the remote machine had no printers. I tried to restart SAMBA, and discovered that
sudo /etc/init.d/samba restart
did not work, although SAMBA was installed. I went to:
http://www.unixmen.com/linux-distributions/4-ubuntu/1203-how-to-install-and-configure-samba-in-ubuntu-1010-maverick-meerkat-via-gui-
and tried to follow that HOWTO, but when I click: System-->Adminitration-->SAMBA nothing happens: I see "Starting Samba" at the bottom of the screen, but that is all. At some point it actually asked me for a password, but then died.
CUPS does not work at all, so I cannot print remotely as I did before 10.10.
What is going on? Is 10.10 really ready to be used?
Thanks for any help.

luvshines
October 15th, 2010, 11:18 PM
I tried to restart SAMBA, and discovered that
sudo /etc/init.d/samba restart
did not work, although SAMBA was installed.
I see "Starting Samba" at the bottom of the screen, but that is all. At some point it actually asked me for a password, but then died.


You mean /etc/init.d/smbd, right ??
What does it say when you try to restart.

Also after you do a restart, see if it is running or not:

ps aux | grep smbd

venik212
October 16th, 2010, 11:37 AM
That worked. I note, however, that in the past I used to use
sudo /etc/init.d/samba restart
and that is what the HOWTO recommends as well. I guess Ubuntu is trying to keep us on our toes.
BTW-- CUPS is still broken, so I cannot print. When I try it, I get: Cannot connect to localhost.. etc.

luvshines
October 16th, 2010, 12:06 PM
BTW-- CUPS is still broken, so I cannot print. When I try it, I get: Cannot connect to localhost.. etc.

I haven't worked with printer on Samba.
But what does these commands say:

smbclient -L <server-ip> -U<username>%<userpasswd>
testparm -sp

venik212
October 17th, 2010, 06:42 PM
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.5.4]
tree connect failed: NT_STATUS_ACCESS_DENIED

luvshines
October 17th, 2010, 06:53 PM
Is it guest share or username/passwd protected ?