# # smb.conf for rockyw10 - Samba Configuration File # # Comments - When, Who, What # 04/20/2007 by Joe Adams # Modified to join and authenticate through GS AD domain. # # 03/06/2006 by Joe Adams # Updated IP addresses for NGTOC IP changes. # # 02/09/2005 by Joe Adams # Updated for Active Directory. # # 09/12/2003 by Joe Adams # Added the ewstaging share to support the # copy_to_earthwhere_staging.pl script. This share # forces a specific user id so people wanting to copy # stuff to ewstaging dont have to be fully configured # on "library" for access to "writable". # # 04/14/2003 by Joe Adams # Added "interfaces" and "bind interfaces only" to try and # reduce the chance of smbd getting confused. I kept having # to restart Samba because of no response to PC connects. # smbclient was indicating nothing was listening for requests. # I hope to focus smbds attention on the correct interface # and not get confused by the gig interface direct connect # to the Linux box. # # 07/19/2001 by Joe Adams # Combined files from dime and sue2 to bring sue2 config # current for Samba version 2.2.1.a # # 04/22/2001 by Joe Adams # smb.conf presented at USGS GIS 2001 # These settings are an accumulation of # three or four years experience with Samba # in a variety of environments. [global] server string = Sun V440 - Samba %v netbios name = igskbthiussuec netbios aliases = suec workgroup = gs #workgroup = rmmc guest account = nobody # guest account = ewadmin username map = /usr/local/samba/lib/usermap browseable = yes max log size = 50 locking = yes log file = /usr/local/samba/var/logs/log.%m lock directory = /usr/local/samba/var/locks # share modes = yes # socket options = TCP_NODELAY socket options = SO_SNDBUF=1048576 SO_RCVBUF=1048576 # level2 oplocks = yes # host msdfs = yes # nt acl support = no max xmit = 65535 # Restrict access to RMMC 100 subnet. hosts allow = 136.177.100.0/255.255.254.0 136.177.96.0/255.255.255.0 136.177.98.0/255.255.255.224 136.177.99.0/255.255.255.0 #interfaces = 136.177.100.159 #bind interfaces only = yes #wins server = 136.177.101.13 #wins server = 136.177.100.122 wins server = 10.164.19.30 10.168.223.30 10.160.8.30 name resolve order = wins host lmhosts bcast #password server = 136.177.100.121 136.177.100.122 password server = igskahcidc01.gs.doi.net * security = ads #security = domain #password server = 136.177.101.13 #realm = rocky.local realm = gs.doi.net # security = user encrypt passwords = yes client ntlmv2 auth = yes winbind use default domain = yes # I switched to forced mask to ellimated a problem when a user # copied over files from the CDROM on a PC; the permissions would # be read-only. This forces everything to be writable. # create mask = 0775 # directory mask = 0775 force create mode = 0775 force directory mode = 2775 os level = 65 preferred master = no domain master = no local master = no wins support = no preserve case = yes short preserve case = yes load printers = no ; printing = aix ; printcap = /usr/local/samba/lib/printer-list ; print command = /usr/bin/lp -c -d%p %s ; /usr/bin/rm %s path = /tmp #[printers] # comment = Printers server by this system # public = yes # printable = yes # browseable = no [writable] comment = Login and Password required path = /usr/local/samba/samba_links read only = no public = no #write cache size = 1048576 [readonly] comment = Read-only access to data path = /usr/local/samba/samba_links read only = yes public = yes guest only = yes