[Samba] Trouble with install, still--please help
Craig White
craigwhite at azapple.com
Fri Feb 27 16:49:49 GMT 2004
On Fri, 2004-02-27 at 08:49, Anne Ramey wrote:
> When I compile the source, I don't get smbd, nmbd, etc. Can't very
> well use samba without the deamons.
> details:
>
> > I've tried building it on a server that I know has pretty much every
> > library possible for a program to need, but I'm still not getting a
> > good samba install.
> > I'm on white-dwarf linux (kernel 2.4.25), gcc 3.3.2, Samba 3.0.2a
> > White-dwarf is home-grown, very much like slackware.
> >
> > When I configure and make and make install, I don't get any errors,
> > but I when I look for some files that are supposed to come with it,
> > they aren't there. ex /usr/local/samba/lib/smb.conf: No such file or
> > directory & /etc/smb.conf: No such file or directory
> >
> > These are the files it did install:
> >
> > ./
> > usr/
> > usr/local/
> > usr/local/samba/
> > usr/local/samba/bin/
> > usr/local/samba/bin/net
> > usr/local/samba/bin/smbclient.old
> > usr/local/samba/bin/testparm.old
> > usr/local/samba/bin/smbtar.old
> > usr/local/samba/bin/tdbbackup.old
> > usr/local/samba/bin/wbinfo.old
> > usr/local/samba/bin/smbstatus.old
> > usr/local/samba/bin/rpcclient.old
> > usr/local/samba/bin/smbpasswd.old
> > usr/local/samba/bin/smbtree
> > usr/local/samba/bin/ntlm_auth
> > usr/local/samba/bin/testparm
> > usr/local/samba/bin/testprns
> > usr/local/samba/bin/tdbdump
> > usr/local/samba/bin/nmblookup.old
> > usr/local/samba/bin/findsmb
> > usr/local/samba/bin/smbclient
> > usr/local/samba/bin/testprns.old
> > usr/local/samba/bin/smbpasswd
> > usr/local/samba/bin/tdbbackup
> > usr/local/samba/bin/nmblookup
> > usr/local/samba/bin/smbstatus
> > usr/local/samba/bin/smbtar
> > usr/local/samba/bin/smbcacls
> > usr/local/samba/bin/smbspool
> > usr/local/samba/bin/findsmb.old
> > usr/local/samba/bin/wbinfo
> > usr/local/samba/bin/smbcontrol.old
> > usr/local/samba/bin/pdbedit
> > usr/local/samba/bin/profiles
> > usr/local/samba/bin/smbcontrol
> > usr/local/samba/bin/smbcquotas
> > usr/local/samba/bin/rpcclient
> > usr/local/samba/bin/smbcacls.old
> > usr/local/samba/bin/smbspool.old
> > usr/local/samba/lib/
> > usr/local/samba/lib/vfs/
> > usr/local/samba/lib/vfs/audit.so
> > usr/local/samba/lib/vfs/default_quota.so
> > usr/local/samba/lib/vfs/netatalk.so
> > usr/local/samba/lib/vfs/cap.so
> > usr/local/samba/lib/vfs/readonly.so
> > usr/local/samba/lib/vfs/fake_perms.so
> > usr/local/samba/lib/vfs/extd_audit.so
> > usr/local/samba/lib/vfs/recycle.so
> > usr/local/samba/lib/de.msg
> > usr/local/samba/lib/upcase.dat
> > usr/local/samba/lib/en.msg
> > usr/local/samba/lib/valid.dat
> > usr/local/samba/lib/fr.msg
> > usr/local/samba/lib/libsmbclient.so
> > usr/local/samba/lib/ja.msg
> > usr/local/samba/lib/it.msg
> > usr/local/samba/lib/nl.msg
> > usr/local/samba/lib/pl.msg
> > usr/local/samba/lib/tr.msg
> > usr/local/samba/lib/lowcase.dat
> > usr/local/samba/lib/charset/
> > usr/local/samba/lib/charset/CP437.so
> > usr/local/samba/lib/charset/CP850.so
> > usr/local/samba/man/
> > usr/local/samba/man/man1/nmblookup.1
> > usr/local/samba/man/man1/profiles.1
> > usr/local/samba/man/man1/smbcquotas.1
> > usr/local/samba/man/man1/editreg.1
> > usr/local/samba/man/man1/testparm.1
> > usr/local/samba/man/man1/testprns.1
> > usr/local/samba/man/man1/rpcclient.1
> > usr/local/samba/man/man1/findsmb.1
> > usr/local/samba/man/man1/smbsh.1
> > usr/local/samba/man/man1/smbstatus.1
> > usr/local/samba/man/man1/wbinfo.1
> > usr/local/samba/man/man1/ntlm_auth.1
> > usr/local/samba/man/man1/smbcacls.1
> > usr/local/samba/man/man1/vfstest.1
> > usr/local/samba/man/man1/smbclient.1
> > usr/local/samba/man/man1/smbtree.1
> > usr/local/samba/man/man1/smbget.1
> > usr/local/samba/man/man1/smbtar.1
> > usr/local/samba/man/man1/log2pcap.1
> > usr/local/samba/man/man1/smbcontrol.1
> > usr/local/samba/man/man5/
> > usr/local/samba/man/man5/smbpasswd.5
> > usr/local/samba/man/man5/lmhosts.5
> > usr/local/samba/man/man5/smb.conf.5
> > usr/local/samba/man/man7/
> > usr/local/samba/man/man7/samba.7
> > usr/local/samba/man/man8/
> > usr/local/samba/man/man8/smbpasswd.8
> > usr/local/samba/man/man8/net.8
> > usr/local/samba/man/man8/smbspool.8
> > usr/local/samba/man/man8/smbmount.8
> > usr/local/samba/man/man8/pdbedit.8
> > usr/local/samba/man/man8/winbindd.8
> > usr/local/samba/man/man8/nmbd.8
> > usr/local/samba/man/man8/tdbdump.8
> > usr/local/samba/man/man8/smbd.8
> > usr/local/samba/man/man8/swat.8
> > usr/local/samba/man/man8/smbmnt.8
> > usr/local/samba/man/man8/smbumount.8
> > usr/local/samba/man/man8/tdbbackup.8
> > usr/local/samba/man/man8/mount.cifs.8
> > usr/local/samba/sbin/
> > usr/local/samba/sbin/nmbd
> > usr/local/samba/sbin/smbd
> > usr/local/samba/sbin/swat
> > usr/local/samba/sbin/winbindd
> > usr/local/samba/swat/
> > usr/local/samba/swat/help/ & associated files
> > usr/local/samba/include/
> > usr/local/samba/include/libsmbclient.h
> >
> > I don't know what to try next.
----
it appears that your daemons are in usr/local/samba/sbin/ i.e. smbd,
nmbd, winbindd, swat.
The fact that your file listing didn't have / in front of usr makes me
think that it is a relative path and not an absolute path.
on most systems, /usr/local/sbin and /usr/local/bin are not part of
normal root $PATH variable so launching them would require a full path
to the binary.
First you need to know exactly where they are...
updatedb # to update the slocate database
locate smbd # to make certain that you know exactly where
# these binaries are located
/path/to/binary/smbd -options # /path/to/binary/smbd --help
# to view options
It would seem to me that if you struggle to install from source
tarballs, that you would be better off using a Linux distribution with
package management like RH/SuSE/Mandrake/Debian etc.
Craig
More information about the samba
mailing list