Jim.W.Berg@gsk.com
2003-Feb-05 18:09 UTC
[Samba] Solaris binary distribution question /usr/local
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 Jim Berg
Aaron Bennett
2003-Feb-05 18:21 UTC
[Samba] Solaris binary distribution question /usr/local
Solaris packages support both relocatable and non-relocatable files in the same package. It sounds to me like in this package, the lock files are marked as non-relocatable. You'd have to unspool the package with pkgtrans and try to modify the prototype file, changing the absolute paths to relative ones. In my opinion, you'll be running samba much faster if you just build it from source. Luck, Aaron Bennett UNIX Administrator Franklin W. Olin College of Engineering Jim.W.Berg@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 > >Jim Berg > >
Try setting the following parameters in smb.conf to override the default locations smb passwd file = log file = lock dir pid directory = Jim.W.Berg@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 > > Jim Berg > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D ======================================================================
John H Terpstra
2003-Feb-05 18:27 UTC
[Samba] Solaris binary distribution question /usr/local
On Wed, 5 Feb 2003 Jim.W.Berg@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 helpman 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@samba.org