From owner-freebsd-questions Wed Mar 27 18:59:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web20004.mail.yahoo.com (web20004.mail.yahoo.com [216.136.225.49]) by hub.freebsd.org (Postfix) with SMTP id EEEDE37B417 for ; Wed, 27 Mar 2002 18:59:18 -0800 (PST) Message-ID: <20020328025918.74997.qmail@web20004.mail.yahoo.com> Received: from [12.4.161.107] by web20004.mail.yahoo.com via HTTP; Wed, 27 Mar 2002 18:59:18 PST Date: Wed, 27 Mar 2002 18:59:18 -0800 (PST) From: nathan mace Subject: Samba and NT Domains To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-72177003-1017284358=:72915" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0-72177003-1017284358=:72915 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have a freebsd server running Samba. it has successfully joined a NT-4 domain. i didn't configure it to join, it just *did*. so i'm assuming one or more of the default settings allow this. how/what can i change so that this doesn't happen? smb.conf is the conf file for samba, the samba file is the output of running "testparm" on that conf file. all i need to know is, is there a setting i can add to the conf file so that the smbd and nmbd deamons do not, and will not try to join a domain? if there is not some simple setting i can add to the conf files, what can i do? thanks please cc me any replies nathan __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ --0-72177003-1017284358=:72915 Content-Type: text/plain; name=samba Content-Description: samba Content-Disposition: inline; filename=samba Script started on Fri Jan 10 18:29:54 1997 bash-2.05$ testparm /usr/local/etc/smb.conf Load smb config files from /usr/local/etc/smb.conf Processing section "[DVD Drive]" Processing section "[Everybody]" Processing section "[freespace]" Processing section "[ss]" Processing section "[nathan]" Loaded services file OK. WARNING: You have some share names that are longer than 8 chars These may give errors while browsing or may not be accessible to some older clients Press enter to see a dump of your service definitions # Global parameters [global] coding system = client code page = 850 code page directory = /usr/local/etc/codepages workgroup = STUDENTS netbios name = netbios aliases = netbios scope = server string = chong interfaces = xl0 bind interfaces only = No security = USER encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 6 map to guest = Never null passwords = No obey pam restrictions = No password server = smb passwd file = /usr/local/private/smbpasswd root directory = pam password change = No passwd program = /usr/bin/passwd passwd chat = *\n*ew\spassword* %n\n *ew\spassword* %n\n *updating\sthe\sdatabase...\npasswd:\sdone\n passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = No lanman auth = Yes use rhosts = No log level = 2 syslog = 1 syslog only = No log file = /usr/local/var/samba/log.%m max log size = 5000 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No protocol = NT1 large readwrite = No max protocol = NT1 min protocol = CORE read bmpx = No read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes announce version = 4.5 announce as = NT max mux = 50 max xmit = 65535 name resolve order = lmhosts host wins bcast max packet = 65535 max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No unix extensions = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max smbd processes = 0 max disk size = 0 max open files = 10000 read size = 16384 socket options = TCP_NODELAY stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = /etc/printcap disable spoolss = No enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = strip dot = No character set = mangled stack = 50 stat cache = Yes domain admin group = domain guest group = machine password timeout = 604800 add user script = delete user script = logon script = logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = No os level = 20 lm announce = Auto lm interval = 60 preferred master = False local master = Yes domain master = False browse list = Yes enhanced browsing = Yes dns proxy = Yes wins proxy = No wins server = wins support = No wins hook = kernel oplocks = Yes oplock break wait time = 0 add share command = change share command = delete share command = config file = preload = lock dir = /var/lock pidfile dir = /var/run default service = message command = dfree command = valid chars = remote announce = remote browse sync = socket address = 0.0.0.0 homedir map = time offset = 0 NIS homedir = No source environment = panic action = hide local users = No host msdfs = No winbind uid = winbind gid = template homedir = /home/%D/%U template shell = /bin/false winbind separator = \ winbind cache time = 15 winbind enum users = Yes winbind enum groups = Yes comment = path = alternate permissions = No username = guest account = nobody invalid users = valid users = admin users = read list = write list = printer admin = force user = force group = read only = Yes create mask = 0744 force create mode = 00 security mask = 0777 force security mode = 00 directory mask = 0755 force directory mode = 00 directory security mask = 0777 force directory security mode = 00 inherit permissions = No guest only = No guest ok = No only user = No hosts allow = hosts deny = status = Yes nt acl support = Yes max connections = 0 min print space = 0 strict allocate = No strict sync = No sync always = No write cache size = 0 max print jobs = 1000 printable = No postscript = No printing = bsd print command = lpr -r -P%p %s lpq command = lpq -P%p lprm command = lprm -P%p %j lppause command = lpresume command = queuepause command = queueresume command = printer name = use client driver = No default devmode = No printer driver = printer driver file = /usr/local/etc/printers.def printer driver location = default case = lower case sensitive = No preserve case = Yes short preserve case = Yes mangle case = No mangling char = ~ hide dot files = Yes hide unreadable = No delete veto files = No veto files = hide files = veto oplock files = map system = No map hidden = No map archive = Yes mangled names = Yes mangled map = browseable = Yes blocking locks = Yes fake oplocks = No locking = Yes oplocks = Yes level2 oplocks = Yes oplock contention limit = 2 posix locking = Yes strict locking = No share modes = Yes copy = include = exec = preexec close = No postexec = root preexec = root preexec close = No root postexec = available = Yes volume = fstype = NTFS set directory = No wide links = Yes follow symlinks = Yes dont descend = magic script = magic output = delete readonly = No dos filemode = No dos filetimes = No dos filetime resolution = No fake directory create times = No vfs object = vfs options = msdfs root = No [DVD Drive] path = /cdrom [Everybody] path = /home/Everybody [freespace] path = /asish read only = No [ss] path = /home/ss read only = No [nathan] path = /home/nathan read only = No bash-2.05$ exit exit Script done on Fri Jan 10 18:30:04 1997 --0-72177003-1017284358=:72915 Content-Type: text/plain; name="smb.conf" Content-Description: smb.conf Content-Disposition: inline; filename="smb.conf" [global] log level = 1 log file = /usr/local/var/samba/log.%m server string = chong browseable =yes writeable = no guest ok = no workgroup = students interfaces = xl0 security = user encrypt passwords = yes smb passwd file = /usr/local/private/smbpasswd # socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain master =no preferred master = no [DVD Drive] path = /cdrom [Everybody] writeable = no path = /home/Everybody [freespace] writeable = yes path = /asish [ss] writeable = yes path = /home/ss [nathan] writeable = yes path = /home/nathan --0-72177003-1017284358=:72915-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message