I have a really basic samba question - maybe one of the folks that helped out earlier can shed some light on it for me.
Ive proeviously got Samba working just fine on Ubuntu 9.10. Ive upgradedto 10.4 and it all stopped working.
So Ive gone back to a baisc setup. But it still doesnt work ... by which I mean my windows machines which I can ping to and from Ubuntu/vnc to and from, ssh to and from, cant see my Ubunutu machine at all. Also when I go into the SAMBA accessories in the desktop, nothing happens at all (ie no menus/screens appear). No files at all get modified in /var/log/samba. There are no clues !
So here's what Ive tried :
- sudo apt-get samba install,tells me its already installed, latest version
- sudo apt-get remove samba, removes the package
- Sudo apt-get reinstalls it, but reports smbd stop/pre-start job failed to start
- sudo smbpasswd reports command not found
- smbd.conf file losted below.
So Im doing something very basic and wrong here ! Cananyoine tell me what it is please ?
# NetBIOS name resolution options
netbios name = DellD600
server string = Ubuntu
workgroup = mylan
# wins support = yes
log file = /var/log/samba.log %u
# Master browser options (related to name resolution)
local master = yes
domain master = yes
preferred master = yes
# Network security options
hosts allow = 192.168.1.0/24
interfaces = 127.0.0.1/8 192.168.1.0/24
# User security options
security = user
encrypt passwords = yes
obey pam restrictions = yes
username map = /etc/samba/smbusers # Only useful if mapping usernames
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n