Samba2.0.6 tgz compile questions.

Giulio Orsero giulioo at pobox.com
Thu Dec 16 13:47:19 GMT 1999


On Fri, 17 Dec 1999 00:16:00 +1100, hai scritto:

>1)  all the Samba bin files were installed in /usr/local/samba/..
Those are the defaults.
You need to do something like:
./configure --prefix=/usr --libdir=/etc/samba.d
--with-lockdir=/var/lock/samba --with-privatedir=/etc/samba.d/private
--with-swatdir=/usr/share/swat --with-automount --with-quotas --with-pam
--with-smbmount
to tell samba where you want things to go (note that I used a
non-conventional place for libdir).

>2)  no smb.conf file was created.
Do it yourself; however if you look in the tarball you'll see many
examples of smb.conf.

>a one of the scripts./  If I create an smb.conf file should I be ok.   and
>also
>should I use swat to create it ?
You can. Before using swat just create an empty smb.conf  (remember that
maybe you are used to /etc/smb.conf, but the samba you compiled may
think it is in a different place).

>regarding building the rpm the path /usr/src/SuSE/RPMS does not exist
Ok, I know Caldera that uses /usr/src/col, and redhat /usr/src/redhat.
You can find where the rpm stuff is by looking at the output of
$ grep topdir /usr/lib/rpm/macros
%_builddir              %{_topdir}/BUILD
%_rpmdir                %{_topdir}/RPMS
%_sourcedir             %{_topdir}/SOURCES
%_specdir               %{_topdir}/SPECS
%_srcrpmdir             %{_topdir}/SRPMS
%_topdir                %{_usrsrc}/redhat     <======
I hope the rpm config files are in /usr/lib/rpm on suse too :-)


>also how do you change the list function from digest to normmal ??
Go here:
http://samba.anu.edu.au/listproc

-- 
giulioo at pobox.com


More information about the samba mailing list