Date: Sat, 4 May 2002 03:24:17 -0700 From: "Aaron Burke" <aburke@nullplusone.com> To: "Ilia Chipitsine" <ilia@cgu.chel.su> Cc: "FreeBSD-Questions" <freebsd-questions@freebsd.org> Subject: RE: exporting /home via SMB Message-ID: <NGBBLCIHCLNJAIGIFFHJGEPOCBAA.aburke@nullplusone.com> In-Reply-To: <Pine.BSF.4.10.10205041058500.336-100000@jane.poka.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NGBBLCIHCLNJAIGIFFHJGEPOCBAA.aburke>