From owner-freebsd-questions Sat May 4 3:24:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cpimssmtpu03.email.msn.com (cpimssmtpu03.email.msn.com [207.46.181.79]) by hub.freebsd.org (Postfix) with ESMTP id 0288E37B41B for ; Sat, 4 May 2002 03:24:44 -0700 (PDT) Received: from thebe ([67.25.97.177]) by cpimssmtpu03.email.msn.com with Microsoft SMTPSVC(5.0.2195.4617); Sat, 4 May 2002 03:24:05 -0700 From: "Aaron Burke" To: "Ilia Chipitsine" Cc: "FreeBSD-Questions" Subject: RE: exporting /home via SMB Date: Sat, 4 May 2002 03:24:17 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-OriginalArrivalTime: 04 May 2002 10:24:06.0355 (UTC) FILETIME=[D1F81230:01C1F355] 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 There are a few things about smb.conf that you should realise. There are a list of the things that Samba can fill in for you. One of which is the current user logged on. Also search for a file called smb.conf.default . I have taken this info from a book labeled Teach yourself Samba in 24 hours. %a How samba reports itself. You should not care about this though %d The Process ID of the current server process %g the primary group of username %u (notice case here, %G the primary group of username %U it kind of matters) %h is the Internet hostname of the machine which samba is running %H The home directory of for username %u %I the IP address of the client machine in dotted decimal form %p The path to the users home directory as specified in auto.home The NIS map entry is assumed to be a colon seperated list and is divided into %N:%p %P The root directory of the current service. %R The protocol selected during the protocol negotiation phase of the connection setup. Valid values are CORE, COREPLUS, LANMAN1, LANMAN2, or NT1. %S The name of the current service %T The current date and time %u The username of the current service %U The username of the client requested in the session setup. This is not neccessarily the same as the one that was used. %v Samba version number. And the important info you may be looking for is in smb.conf.default. [homes] browseable = no comment = User Home Directory create mode = 0775 public = no Or, if you care for the whole users directory, setup. [Any name you want] browseable = no ; you may want yes comment = The home dir of my system create mode = 0775 public = no ; you may want yes > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ilia Chipitsine > Sent: Friday, May 03, 2002 10:00 PM > To: Tim Boring > Cc: questions@FreeBSD.ORG > Subject: Re: exporting /home via SMB > > > > On Sat, 2002-05-04 at 00:52, Ilia Chipitsine wrote: > > > anybody tried that ? > > > > What would be the point of that? You can set up the Samba config file > > the point of that would be setting a server which imports user database > using NIS+Kerberos, and home directories would be imported using > SMB. > > > to use a share that will export the home directory of each user. If I > > remember correctly, it's the [homes] share, or something close to that. > > But there is no need to export the /home directory itself. > > > > For more info on the Samba config file, check out www.samba.org. > > > > Tim > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message