There are many others.
Samba does not grant more access than the UNIX host allows through permissions.
UNIX "other" permissions map into the NT group EVERYONE.
There are many others.
hex value Meaning 00 workstation redirector 03 messenger service 1B DMB 1C DC 1D LMB 1E browser elections 20 file server
\\netbiosname\sharename
mount -wo remount /
cd /usr/src
tar -xjf samba-3.0.4.tar.bz2
cd samba-3.0.4
patch -Np1 -i ../samba-3.0.4-maintainer.patch &&
cd source &&
install -d /var/cache/samba &&
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/var/run \
--with-fhs \
--with-smbmount &&
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 &&
cp ../examples/smb.conf.default /etc/samba
echo "swat 901/tcp" >> /etc/services
cat > /etc/rc.d/init.d/samba << "EOF"
#!/bin/sh
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
logecho "Starting nmbd..."
loadproc /usr/sbin/nmbd -D
logecho "Starting smbd..."
loadproc /usr/sbin/smbd -D
;;
stop)
logecho "Stopping smbd..."
killproc /usr/sbin/smbd
logecho "Stopping nmbd..."
killproc /usr/sbin/nmbd
;;
reload)
logecho "Reloading smbd..."
reloadproc /usr/sbin/smbd
logecho "Reloading nmbd..."
reloadproc /usr/sbin/nmbd
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
statusproc /usr/sbin/nmbd
statusproc /usr/sbin/smbd
;;
*)
echo "Usage: $0 {start|stop|reload|restart|status}"
exit 1
;;
esac
EOF
chmod 754 /etc/rc.d/init.d/samba
mount -ro remount /
©2005, Kenneth R. Koehler. All Rights Reserved. This document may be freely reproduced provided that this copyright notice is included.
Please send comments or suggestions to the author.