Date: Sat, 4 May 2002 03:35:16 -0700 From: "Aaron Burke" <aburke@nullplusone.com> To: "Aaron Burke" <aburke@nullplusone.com> Cc: "FreeBSD-Questions" <freebsd-questions@freebsd.org> Subject: RE: exporting /home via SMB (double mistake) Message-ID: <NGBBLCIHCLNJAIGIFFHJGEPPCBAA.aburke@nullplusone.com> In-Reply-To: <NGBBLCIHCLNJAIGIFFHJMEPOCBAA.aburke@nullplusone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
errgh, cannot think right now. Please excuse my two errors. The path line for all home dirs would be /home or /usr/home on many systems. Sorry about the mistake > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Aaron Burke > Sent: Saturday, May 04, 2002 03:31 AM > To: Aaron Burke > Cc: FreeBSD-Questions > Subject: RE: exporting /home via SMB > > > err, forgot path lines. > > > -----Original Message----- > > From: owner-freebsd-questions@FreeBSD.ORG > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Aaron Burke > > Sent: Saturday, May 04, 2002 03:24 AM > > To: Ilia Chipitsine > > Cc: FreeBSD-Questions > > Subject: RE: exporting /home via SMB > > > > > > 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 > path not really needed here. > > > > 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 Dont use the following line, poor mistake on my part. > path=/home/usr instead use: path = /usr/home > > > > > > > -----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 > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NGBBLCIHCLNJAIGIFFHJGEPPCBAA.aburke>