I compiled and installed the latest samba 3.0.0rc1. I see that the binary executable was placed in the default location of /usr/local/samba/sbin/smbd. However, I cannot located the default smb.conf file. I was expecting that the 'make install' script would have copied this file somewhere onto my system. Where is the default 'smb.conf' file located?
There is no /etc/samba directory on my system. find / -name 'smb.conf' -print /home/amphus/samba-3.0.0rc1/examples/dce-dfs/smb.conf /home/amphus/samba-3.0.0rc1/examples/pdb/mysql/smb.conf /home/amphus/samba-3.0.0rc1/examples/simple/smb.conf /home/amphus/samba-3.0.0rc1/examples/thoralf/smb.conf /home/amphus/samba-3.0.0rc1/examples/tridge/smb.conf /home/amphus/samba-3.0.0rc1/packaging/Caldera/OpenLinux/smb.conf /home/amphus/samba-3.0.0rc1/packaging/Caldera/OpenServer/smb.conf /home/amphus/samba-3.0.0rc1/packaging/Caldera/UnixWare/smb.conf /home/amphus/samba-3.0.0rc1/packaging/Debian/debian/smb.conf /home/amphus/samba-3.0.0rc1/packaging/LSB/smb.conf /home/amphus/samba-3.0.0rc1/packaging/Mandrake/smb.conf /home/amphus/samba-3.0.0rc1/packaging/PHT/TurboLinux/smb.conf /home/amphus/samba-3.0.0rc1/packaging/RedHat/smb.conf /home/amphus/samba-3.0.0rc1/packaging/SGI/smb.conf The 'samba-3.0.0rc1' is the directory where I extracted the source tarball and did the source compile. -----Original Message----- From: Corey Hart To: Joseph Phillips Sent: 8/27/03 10:38 AM Subject: Re: [Samba] Where is the default 'smb.conf' located? find / -name 'smb.conf' /etc/samba/smb.conf IIRC Joseph Phillips wrote:> I compiled and installed the latest samba 3.0.0rc1. I see that thebinary> executable was placed in the default location of/usr/local/samba/sbin/smbd.> > However, I cannot located the default smb.conf file. I was expectingthat> the 'make install' script would have copied this file somewhere ontomy> system. > > Where is the default 'smb.conf' file located? > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- ---- Corey Hart Systems/Security Analyst St. Edward's University coreyh@admin.stedwards.edu 512/428-1038 - voice 512/448-8492 - fax 512/470-8462 - cell
I found the default smb.conf. Apparently the 'make install' doesn't copy it over for you. Instead, it remains in the source directory: /home/amphus/samba-3.0.0rc1/examples/smb.conf.default I moved the smb.conf.default to the /usr/local/samba/lib/ directory, and renamed it to smb.conf. Seems to be working. I just don't understand why the 'make install' script did not copy this file over for me? Is it done this way on purpose? If so, that's weird.