Date: Mon, 08 May 2000 03:48:25 -0400 (EDT) From: Lanny Baron <lnb@freebsdsystems.com> To: jfreeze@qx.net Cc: questions@FreeBSD.ORG Subject: RE: Need smbd config help Message-ID: <XFMail.000508034825.lnb@freebsdsystems.com> In-Reply-To: <77365954A3D.AAA64B1@mail2.qx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000508034825.lnb>