On Tue, Dec 29, 2009 at 10:06:58AM +0100, Hans de Faber wrote:
On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time.
Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd:
What you're looking for was SWAT which is still part of the package named samba. Bit it is disabled by default. See /etc/xinetd.d/swat But you have found this meanwhile.
[2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Where should I look for this problem, I can't find it.
Another question how should I start and stop Samba from the commandline. Its now started on bootup.
service nmb stop # halts the netbios name resolution service service nmb start # starts the service or: service nmb restart # (re)starts the service even if not running before or: service nmb try-restart # only restarts it if in operation. The same arguments (stop, start, restart, try-restart) are valid for the smb service. While the nmb service is optional to provide netbios name resolution mechanisms over TCP (an laternative to DNS) the smb service is the one you need if you like to share files and printers. To enable or disable a service to get started and stopped while boot and shutdown it's possible to use the chkconfig command line tool. YaST offers a graphical front end to manipulate the same service state. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany