From owner-freebsd-questions Mon May 8 0:44:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from satan.freebsdsystems.com (24.69.168.6.on.wave.home.com [24.69.168.6]) by hub.freebsd.org (Postfix) with ESMTP id 20C3237BFB0 for ; Mon, 8 May 2000 00:44:25 -0700 (PDT) (envelope-from lnb@satan.freebsdsystems.com) Received: (from lnb@localhost) by satan.freebsdsystems.com (8.9.3/8.9.3) id DAA21275; Mon, 8 May 2000 03:48:25 -0400 (EDT) (envelope-from lnb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <77365954A3D.AAA64B1@mail2.qx.net> Date: Mon, 08 May 2000 03:48:25 -0400 (EDT) Organization: FreeBSD Systems Inc. From: Lanny Baron To: jfreeze@qx.net Subject: RE: Need smbd config help Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Here is what your smb.conf should look like. Mind you I have remote smb server downtown so ignore those lines. You MUST make sure you have made a dir (i did not use ports for samba I use the tarball from my mirror (I am Canadian mirror) I will assume you don't have an NT box on your lan, if that is the case your samba server will be the PDC for your domain. I am not sure about the _ in your workgroup name either. Get samba-2.0.7 as it comes complete with the O'Reilly book now. global] workgroup = FREEBSD netbios name = SATAN server string = Freedom Technologies server %v on host %h encrypt passwords = Yes min password length = 0 username map = /usr/local/samba/lib/username.map debug level = 3 log file = /var/log/samba/log.%U max log size = 50 name resolve order = wins bcast hosts time server = Yes logon script = netlogin.bat logon path = \\%N\profiles\%U logon drive = L logon home = \\%N\%U\ domain logons = Yes os level = 65 lm announce = True preferred master = Yes domain master = Yes wins support = Yes remote announce = 216.126.88.51 216.126.95.33 remote browse sync = 216.126.88.51 216.126.95.33 unix realname = Yes guest account = pcguest admin users = lnb create mask = 0644 [homes] comment = Home Directories path = %H valid users = %S writeable = Yes browseable = No [netlogon] comment = Netlogon Service path = /usr/local/samba/netlogon write list = @wheel writeable = Yes locking = No [profiles] comment = Users profiles path = /usr/local/samba/profiles writeable = Yes create mask = 01777 directory mask = 01777 inherit permissions = Yes You need a netlogin.bat. If you know some dos commands, use either notepad or wordpad to make them. As I said earlier, I did not use /usr/ports for my samba install. So the default location for all samba files is /usr/local/samba if your is like that, as root (in /usr/local/samba) mkdir private <---chmod 700 the cd to private and touch smbpasswd <---chmod 600 then cd .. and mkdir netlogon and put the netlogin.bat in /usr/local/samba/netlogon As it stands now, ( i am still trying to figure this out) the profiles go to /home/user/profiles (Application History Profiles all the windows crap) for Don't worry about the 10,000 files. Here is an output of smbstatus: Locked files: Pid DenyMode R/W Oplock Name -------------------------------------------------- 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/msoffice/PFILES/MSOFFICE/OFFICE/1033/WW9INTL.DLL Mon May 8 00:38:57 2000 14984 DENY_NONE RDWR EXCLUSIVE+BATCH /home/lnb/my_docs/freebsdsystems/bus-plan/3M-borrowing/balance-income-cashflow-o n-one.xls Mon May 8 01:07:51 2000 14984 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/lnb/my_docs/freebsdsystems/bus-plan/plan1.html Mon May 8 01:07:36 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/PMAIL/winpm-32.exe Mon May 8 00:23:56 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/msoffice/PFILES/COMMON/MSSHARED/PROOF/1033/MSGR2EN.DLL Mon May 8 00:39:57 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/msoffice/PFILES/MSOFFICE/OFFICE/F1.ACS Mon May 8 00:39:25 2000 14984 DENY_NONE RDONLY EXCLUSIVE+BATCH /stg/programs/PMAIL/winpm-32.dat Mon May 8 00:23:57 2000 14984 DENY_NONE RDWR EXCLUSIVE+BATCH /home/lnb/my_docs/business-plans/master/freedom-technologies-corp.doc Mon May 8 00:39:23 2000 14984 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/lnb/my_docs/john.html Mon May 8 01:07:25 2000 FICE/OFFICE/MSO9.DLL Mon May 8 00:22:25 2000 14984 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/lnb/my_docs/shortcut to northwind.lnk Mon May 8 01:07:24 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/msoffice/DISK2/PFILES/MSOFFICE/OFFICE/BLNMGRPS.DLL Mon May 8 00:39:26 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/msoffice/DISK2/PFILES/MSOFFICE/OFFICE/1033/OBALLOON.DLL Mon May 8 00:39:26 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/msoffice/PFILES/MSOFFICE/OFFICE/1033/XLINTL32.DLL Mon May 8 01:07:19 2000 14984 DENY_WRITE RDONLY EXCLUSIVE+BATCH /stg/programs/PMAIL/Hts32.dll Mon May 8 00:23:56 2000 Share mode memory usage (bytes): 1045208(99%) free + 2912(0%) used + 456(0%) overhead = 1048576(100%) total That should help you. Did you install swat? That will help you too. Regards, Lanny Baron, Master FreeBSD Administrator ---------------------------------- Date: 08-May-00 Time: 03:48:25 Lewis's Law of Travel: The first piece of luggage out of the chute doesn't belong to anyone, ever. ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message