From: Andrew Bartlett Date: Sat, 15 Sep 2012 06:08:53 +0000 (-0700) Subject: docs: Remove reference to inetd startup, it is not recommended X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=commitdiff_plain;h=27359acf59cc7899e8de164f9311ef3b2b6db85a docs: Remove reference to inetd startup, it is not recommended --- diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml index ffedeb3d1d4..ac866a87455 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml @@ -267,82 +267,7 @@ gpg: BAD signature from Samba Distribution Verification Key - Starting from inetd.conf - - inetd - - - The following will be different if - you use NIS, NIS+, or LDAP to distribute services maps. - - - Look at your /etc/services. - What is defined at port 139/tcp? If nothing is defined, - then add a line like this: - - netbios-ssn 139/tcp - - Similarly for 137/udp, you should have an entry like: - - netbios-ns 137/udp - - - Next, edit your /etc/inetd.conf and add two lines like this: - -netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd -netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd - - - -/etc/inetd.conf - - The exact syntax of /etc/inetd.conf - varies between UNIXes. Look at the other entries in inetd.conf - for a guide. - - - - xinetd - Some distributions use xinetd instead of inetd. Consult the - xinetd manual for configuration information. - - - Some UNIXes already have entries like netbios_ns - (note the underscore) in /etc/services. - You must edit /etc/services or - /etc/inetd.conf to make them consistent. - - - - ifconfig - On many systems you may need to use the - option in &smb.conf; to specify - the IP address and netmask of your interfaces. Run - ifconfig as root if you do - not know what the broadcast is for your net. &nmbd; tries - to determine it at runtime, but fails on some UNIXes. - - - - Many UNIXes only accept around five parameters on the command - line in inetd.conf. This means you shouldn't - use spaces between the options and arguments, or you should use - a script and start the script from inetd. - - - - Restart inetd, perhaps just send it a HUP, - like this: -killall - -&rootprompt;killall -HUP inetd - - - - - - - Alternative: Starting &smbd; as a Daemon + Starting &smbd; as a Daemon daemon