Dear fellows,
I have installed FreeBSD 9.0 LTS on VirtualBox on my I7-3930 with Windows 7 Professinal 64 and after pkg_add-ing Gnome and KDE, I tried to start Samba according to FreeBSD's handbook Chapter 30.9. After some "not found" messages I have donne
[CMD=]pkg_add -r samba34[/CMD]
After that I edited /usr/local/etc/smb.conf with my workgroup and with a public share, put nmbd_enable="YES" and smbd_enable="YES" in /etc/rc.conf, restarted and tried
[CMD=]/usr/local/etc/rc.d/samba start[/CMD]
with the result
BTW: I get plenty of the first two lines on boot also.
I searched with those expressions on Google and on your forums without finding anything relevant.
Looking on samba.org I tried
[CMD=]/usr/local/sbin/nmbd -D[/CMD]
and
[CMD=]/usr/local/sbin/smbd -D[/CMD]
which worked great, being able to access the public share both from the host Windows 7 and my wife's Windows XP.
I believe that the /usr/local/etc/rc.d/samba script tries to locate smbd and nmbd somwhere else from where they are, but I don't know where to put them. Can anyone give me any hint? Or any other advice on what to do not to have to start samba daemons manually?!?
I have installed FreeBSD 9.0 LTS on VirtualBox on my I7-3930 with Windows 7 Professinal 64 and after pkg_add-ing Gnome and KDE, I tried to start Samba according to FreeBSD's handbook Chapter 30.9. After some "not found" messages I have donne
[CMD=]pkg_add -r samba34[/CMD]
After that I edited /usr/local/etc/smb.conf with my workgroup and with a public share, put nmbd_enable="YES" and smbd_enable="YES" in /etc/rc.conf, restarted and tried
[CMD=]/usr/local/etc/rc.d/samba start[/CMD]
with the result
Code:
/etc/rc.conf: nmbd_enable: not found
/etc/rc.conf: smbd_enable: not found
Removing stale Samba tdb files: donne
I searched with those expressions on Google and on your forums without finding anything relevant.
Looking on samba.org I tried
[CMD=]/usr/local/sbin/nmbd -D[/CMD]
and
[CMD=]/usr/local/sbin/smbd -D[/CMD]
which worked great, being able to access the public share both from the host Windows 7 and my wife's Windows XP.
I believe that the /usr/local/etc/rc.d/samba script tries to locate smbd and nmbd somwhere else from where they are, but I don't know where to put them. Can anyone give me any hint? Or any other advice on what to do not to have to start samba daemons manually?!?