[Samba] how i install smba!!

Stéphane Purnelle stephane.purnelle at tiscali.be
Tue Jun 3 18:35:32 GMT 2003


Le mar 03/06/2003 à 20:12, A.A a écrit :
> hi  users!
> i'm trying to Install a new version of samba (samba-2.2.8a)  since tree
> days!
> i have a Suse linux 8.2 Server and in my Server run alredy samba-2.2.7 (
> smbd and nmbd run in /etc/samba)
> I 'v installed and configured now samba in the /usr/local/src/samba-2.2.8a/
> directory
> like this :
> ./configure --sysconfdir=/etc/samba --localstatedir=/var/log/samba --mandir
> =/usr/local/man --with-lockdir=/var/run --with-configdir=/etc/samba
> Now i try  to start both Daaemons smbd and nmbd but i see that theree are
> still the old smbd and nmbd runing!!
> ( i stoped alredy samba and killed alredy smbd and nmbd  Processes)
> The other Problem i have after installation no bin directory in my samba
> (/usr/local/src/samba-2.2.8a)  directory!!!!

No the compiled versio  of samba -2.2.8a is in /usr/local/samba
The source is in /usr/local/src/samba-2.2.8.a, but result of compilation
is in /usr/local/samba

With your paramater, the smb.conf is /etc/samba directory, the lock
files can be found in /var/run directrory.  

Normally, smbd and nmbd mus be found in /usr/local/samba/bin directory.

First step : copy the startup like samba or smb script (normally this
file can be found in /etc/rc.d/init.d/ diretcory) to a directcory
(because compiled version don't have startup script)

Step two : Uninstall the samba-2.2.7a-Suse rpm -e samba .....

Step three : recopy the startup script onto /etc/rc.d/init.d/ ... and
modify this script to replace /usr/sbin/smbd an d/usr/sbin/nmbd to
/usr/local/samba/smbd and /usr/local/samba/nmbd

> (and i cant try to run /usr/local/src/samba-2.2.8a/smbd -D because i get
> this error
> balalayka:/usr/local/src/samba-2.2.8a/smbd -D       Samba daemon,
> /usr/local/src/samba-2.2.8a/source/classic/smbd is not skippeded.
> )
> wenn i after Installation do  /usr/local/src/samba-2.2.8a/smbstatus i get
> just the old verssion of samba!!!
> Samba version 2.2.7a-SuSE
> ( i stoped alredy samba and killed alredy smbd and nmbd  Processes)
> the command "whereis samba" or "where is smbd" get the old local of samba in
> /etc/samba
> what have i misconfigured?
> I appreciate any help I can get! Thanks!
> there are some segments of my directories and files after Installation.
> thanks a lot!
> henry
>  balalayka:/usr/local/src/samba-2.2.8a/source #
> .. config.guess locking rpc_server
> .cvsignore config.sub msdfs rpcclient
> .indent.pro configure nmbd script
> Doxyfile configure.developer nsswitch smbd
> Makefile.in configure.in pam_smbpass smbwrapper
> acconfig.h configure.nodebug.developer param tdb
> aclocal.m4 configure.txt parsing.doc tests
> aparser groupdb passdb ubiqx
> architecture.doc include popt utils
> auth install-sh printing web
> bin internals.doc profile
> client lib rpc_client
> ----------------------------------------------------------------------------
> -------------------------------
> balalayka:/usr/local/src/samba-2.2.8a # ls
> . Manifest Roadmap examples source
> .. README WHATSNEW.txt packaging swat
> COPYING Read-Manifest-Now docs pcp testsuite

More information about the samba mailing list