[Samba] Solaris binary distribution question /usr/local

John H Terpstra jht at samba.org
Wed Feb 5 18:27:17 GMT 2003


On Wed, 5 Feb 2003 Jim.W.Berg at gsk.com wrote:

> HI!
> I am trying to configure the samba 2.2.7 binary from sunfreeware ( package
> for Solaris 7).  Is there any way to override the default install location
> of /usr/local/samba for the lock files?  I do not have access to
> /usr/local as it is NFS mounted and shared by all Solaris 7 boxes.  I can
> pkgadd to a different root path, and I can -s the config file to the
> install location, but I cannot find a way to get the lock files in
> anything other than /usr/local, so I cannot start the smbd daemon.  If I
> have to I'll build samba 2.2.7 on the box, but I thought I would ask here
> first.  Thanks for your help

man smb.conf, then /"lock directory"

In other words, in your smb.conf [globals] add:

	lock directory = /var/locks/samba

will change it to where you want.

- John T.
-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list