diff --git a/server/other/samba3/samba3-config.xml b/server/other/samba3/samba3-config.xml index ba6124e450..08bb00bd05 100644 --- a/server/other/samba3/samba3-config.xml +++ b/server/other/samba3/samba3-config.xml @@ -1,43 +1,35 @@ Configuring <application>Samba</application> -Because of the infinate number of possible uses for -Samba, configuration is well beyond the scope -of the BLFS book. In fact, many complete books have been written on -this topic alone. The included documentation, a popular book published by -O'Reilly, can be viewed by pointing your web browser to: -file:///usr/share/samba/swat/using_samba/toc.html - - - -The built in SWAT (Samba Web Administration Tool) utility -can be used for the very basic of configurations. However, before -using SWAT, you must do a little configuration. - -Add the swat entry to /etc/serviceswith the +Add the swat entry to /etc/services with the following command: echo "swat 901/tcp" >> /etc/services If inetd is used, the following command will add the swat entry to /etc/inetd.conf: + echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \ >> /etc/inetd.conf -If xinetd is used, the following command will add the swat entry -to /etc/xinetd.conf: +If xinetd is used, the following command will +add the swat entry to /etc/xinetd.conf: + cat >> /etc/xinetd.conf << "EOF" service swat { @@ -52,8 +44,7 @@ service swat EOF SWAT can be launched by pointing your web -browser to: - +browser to . For your convenience, boot scripts have been provided for Samba. There are two included in the @@ -66,9 +57,12 @@ daemon, used for providing Windows domain services to Linux clients. Install the samba script with the following command: + make install-samba If you also need the winbind script: + make install-winbind + diff --git a/server/other/samba3/samba3-desc.xml b/server/other/samba3/samba3-desc.xml index 106f0509d0..533e5d5c41 100644 --- a/server/other/samba3/samba3-desc.xml +++ b/server/other/samba3/samba3-desc.xml @@ -5,7 +5,7 @@ make_smbcodepage, make_unicodemap, mount.smbfs, -net +net, nmbd, nmblookup, rpcclient, @@ -53,8 +53,8 @@ lists. smbclient is a SMB/CIFS access utility, similar to FTP. smbcontrol -smbcontrol is used to control running smbd -, nmbd and winbindd +smbcontrol is used to control running smbd, +nmbd and winbindd daemons. smbd smbd is the main @@ -82,4 +82,3 @@ daemon. winbindd winbindd resolves names from NT servers. - diff --git a/server/other/samba3/samba3-exp.xml b/server/other/samba3/samba3-exp.xml index e4166cd2c9..d4ef19f5c6 100644 --- a/server/other/samba3/samba3-exp.xml +++ b/server/other/samba3/samba3-exp.xml @@ -20,16 +20,22 @@ compliant with the Filesystem Hierarchy Standard : Orders the creation of an extra binary for use by the mount command so that mounting remote -SMB (windows) shares becomes no more complex than mounting +SMB (Windows) shares becomes no more complex than mounting remote NFS shares. install -m755 nsswitch/libnss_win{s,bind}.so /lib: The nss libs are not installed by default. If you intend to use winbindd for domain auth, and/or WINS name resolution, -you need these libraries +you need these libraries. ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 and ln -sf libnss_wins.so /lib/libnss_wins.so.2: These symlinks are required by glibc to use the nss libs. +cp ../examples/smb.conf.default /etc/samba: +This copies a default smb.conf into +/etc/samba. This sample configuration will not +work unless edited for your site, and renamed +smb.conf. + diff --git a/server/other/samba3/samba3-inst.xml b/server/other/samba3/samba3-inst.xml index 2f31134438..97fa9ffba2 100644 --- a/server/other/samba3/samba3-inst.xml +++ b/server/other/samba3/samba3-inst.xml @@ -17,9 +17,11 @@ make && make install && install -m755 nsswitch/libnss_win{s,bind}.so /lib && ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 && -ln -sf libnss_wins.so /lib/libnss_wins.so.2 +ln -sf libnss_wins.so /lib/libnss_wins.so.2 && +cp ../examples/smb.conf.default /etc/samba -Note: You may want to run configure with the +You may want to run configure with the --help parameter. There may be other parameters - needed to take advantage of the optional dependencies. +needed to take advantage of the optional dependencies. + diff --git a/server/other/samba3/samba3-intro.xml b/server/other/samba3/samba3-intro.xml index 01599ee8bd..fc4b2f453f 100644 --- a/server/other/samba3/samba3-intro.xml +++ b/server/other/samba3/samba3-intro.xml @@ -15,15 +15,16 @@ Windows networking to Linux clients. -<application>Samba</application> Dependencies +<application>Samba</application> dependencies Optional -, -, + +, , , , - or . + or +