From: Michael Wood on
2010/6/16 Tiago Damasceno ::: TDA INFORMÁTICA
<tiago(a)tdaconsultoriadigital.com.br>:
> Hello!
>
> Accidentally deletes the file daemon, / usr / lib / samba / classic / smbd.
> Now I can not start Samba, Samba reinstalling again in the newer version I
> would lose my settings? It will overwrite existing files or just bring back
> the excluded?

If it is only the /usr/sbin/smbd file that was deleted, then it might
be easiest to do this:

Get the original RPM that you used to install Samba.
Use rpm2cpio and cpio to extract just the smbd file somewhere.
Move the smbd file to /usr/sbin.

But make sure you have good backups first in case you make a mistake.

I can't check the correct syntax now because I don't have access to an
RPM-based distribution at the moment.

--
Michael Wood <esiotrot(a)gmail.com>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Michael Wood on
2010/6/18 Tiago Damasceno ::: TDA INFORMÁTICA
<tiago(a)tdaconsultoriadigital.com.br>:
> The aid so far given by you has been very important and satisfying, but as I
> no longer have the rpm files from my original installation I'm having
> trouble finding it in the rpm version, I tried the site
> http://www.samba.org / samba / download / can not find files related to my
> installed version.
>
> The version of my samba is:
> samba-client-2.2.5-107
> samba-2.2.5-107
> samba-vscan-0.2.5d-106
>
> Below is a link to a file I found on the Internet more like my version, but
> it does not contain the package file that smbd to need.
> http://rpm.pbone.net/index.php3/stat/4/idpl/555302/dir/redhat_other/com/samba-2.2.5-1.i386.rpm.html
>
> Can anyone tell me the link that has a file compatible with my version?

I am afraid I don't know, but perhaps someone else on the list can help.

> 2010/6/18 Michael Wood <esiotrot(a)gmail.com>
>>
>> On 18 June 2010 14:56, Pablo Chamorro C. <pchamorro(a)ingeominas.gov.co>
>> wrote:
>> > On Fri, 18 Jun 2010, Michael Wood wrote:
>> >
>> >> 2010/6/16 Tiago Damasceno ::: TDA INFORMÁTICA
>> >> <tiago(a)tdaconsultoriadigital.com.br>:
>> >>>
>> >>> Hello!
>> >>>
>> >>> Accidentally deletes the file daemon, / usr / lib / samba / classic /
>> >>> smbd.
>> >>> Now I can not start Samba, Samba reinstalling again in the newer
>> >>> version
>> >>> I
>> >>> would lose my settings? It will overwrite existing files or just bring
>> >>> back
>> >>> the excluded?
>> >>
>> >> If it is only the /usr/sbin/smbd file that was deleted, then it might
>> >> be easiest to do this:
>> >>
>> >> Get the original RPM that you used to install Samba.
>> >> Use rpm2cpio and cpio to extract just the smbd file somewhere.
>> >
>> > I use to use for that purpose, preferable in a new folder, a command
>> > similar
>> > to:
>> >
>> > rpm2cpio rpmfile.rpm |cpio -idmv
>> >
>> > Pablo Chamorro
>>
>> Thanks :)

--
Michael Wood <esiotrot(a)gmail.com>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Michael Wood on
2010/6/19 Tiago Damasceno ::: TDA INFORMÁTICA
<tiago(a)tdaconsultoriadigital.com.br>:
> I found the rpm file regarding my samba version, but it did not come to the
> smbd file in which I need:

You have found the source version of the file and not the binary
version. The one you want should be called something like
samba-2.2.5-107.i586.rpm (or maybe i386 or x86_64 or something other
than src.)

Either you should find the binary package, or you will need to compile
the source package. If you can find the correct binary package that
would be easiest.

> Under the procedures that I did with him:
> 1. Under the guidance of Pablo Chamorro extract the file with the command:
> rpm2cpio samba-2.2.5-107.src.rpm | cpio-IDMV he extracted the files all
> right, but the file which I need smbd is not contained in the package.
>
> Following is the list of extracted files:
> drwxr-xr-x 3 root root 4096 Jun 19 08:49.
> drwxrwxrwx 6 oracle dba 12 288 Jun 16 17:39 ..
> -Rw-r - r - 1 root root 2813 Sep 23 2002 README.SuSE
[...]

By the way, what strange e-mail client are you using that randomly
capitalises things like the "r" in -rw-r--r-- and also randomly
removes some of the dashes?

> 2. Updated with the command rpm-U samba-2.2.5-107.src.rpm, trying to be
> compressed it into another file, also failed, still showing the message
> below when I start the smb service.
> Samba daemon, / usr / lib / samba / classic / smbd is not installed

/usr/lib/samba/classic is a strange location for Samba. What
distribution is this anyway?

> 3. I did backup the current settings of the samba and tried to do a fresh
> install over the existing (rpm-i samba-2.2.5-107.src.rpm), it executes the
> command correctly, but I still returns the message error so when I try to
> start the service.

Since this is the source package, "installing" it would just unpack
the source code to somewhere like /usr/src/...

P.S. Version 2.2.5 is very old. It might be better to set up a new
server with a new version of Samba (e.g. 3.4.x or 3.5.x) and then move
the other services over to that too.

--
Michael Wood <esiotrot(a)gmail.com>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Tiago Damasceno ::: TDA INFORMÁTICA on
I found the rpm file regarding my samba version, but it did not come to the
smbd file in which I need:

Under the procedures that I did with him:
1. Under the guidance of Pablo Chamorro extract the file with the command:
rpm2cpio samba-2.2.5-107.src.rpm | cpio-IDMV he extracted the files all
right, but the file which I need smbd is not contained in the package.

Following is the list of extracted files:
drwxr-xr-x 3 root root 4096 Jun 19 08:49.
drwxrwxrwx 6 oracle dba 12 288 Jun 16 17:39 ..
-Rw-r - r - 1 root root 2813 Sep 23 2002 README.SuSE
-Rw-r - r - 1 root root 1149 Sep 22 2002 SuSEconfig.samba.tmpl
-Rw-r - r - 1 root root 207 Jul 19 2002 filelist
-Rw-r - r - 1 root root 377 Sep February 2002 filelist-client
-Rw-r - r - 1 root root 249 Jul 19 2002 lmhosts
-Rw-r - r - 1 root root 7789 Sep February 2002 nettime.c
-Rw-r - r - 1 root root 2804 Sep 22 2002 nmb.init.tmpl
-Rw-r - r - 1 root root 257 Jul 19 2002 samba-2.2.3-smbsh.dif
-Rw-r - r - 1 root root 1247 May February 2002 samba-2.2.4-doc.diff
-Rw-r - r - 1 root root 3462 Jun 23 2002 samba-2.2.4-pdbedit.diff
-Rw-r - r - 1 root root 557 Jul 19 2002 samba-2.2.4-smbadduser.diff
-Rw-r - r - 1 root root 4544953 Jun 19 08:11 samba-2.2.5-107.src.rpm
-Rw-r - r - 1 root root 46 605 Oct 16 2002
samba-2.2.5-acl-mapping-fixes.diff
-Rw-r - r - 1 root root 3477 Sep October 2002 samba-2.2.5-ldap_v3.diff
-Rw-r - r - 1 root root 232 Jul 19 2002 samba-2.2.5-linkvfs.patch
-Rw-r - r - 1 root root 1768 Sep February 2002 samba-2.2.5-nettime.diff
-Rw-r - r - 1 root root 306610 Sep October 2002 samba-2.2.5-printing.diff
-Rw-r - r - 1 root root 5923 Sep October 2002 samba-2.2.5-removeldap.diff
-Rw-r - r - 1 root root 4343641 Jul 19 2002 samba-2.2.5.tar.bz2
-Rw-r - r - 1 root root 96 135 Jul 19 2002 samba-vscan-0.2.5d.tar.gz
-Rw-r - r - 1 root root 82 Jul 19 2002 samba.pamd
-Rw-r - r - 1 root root 36 970 Oct 21 2002 samba.spec
-Rw-r r - - 1 root root 6911 Oct smb.conf August 2002
-Rw-r - r - 1 root root 3886 Oct 15 2002 smb.init.tmpl
-Rw-r - r - 1 root root 3750 Oct 15 2002 smbfs.init.tmpl
-Rw-r - r - 1 root root 379 Aug 21 2002 smbfstab
-Rw-r - r - 1 root root 216 Jul 19 2002 smbpasswd
-Rw-r - r - 1 root root 258 Jul 19 2002 smbusers
-Rw-r - r - 1 root root 198 Aug 19 2002 sysconfig.samba-client
-Rw-r - r - 1 root root 3664 Oct 15 2002 winbind.init.tmpl
-Rw-r - r - 1 root root 853 Aug 19 2002 wizard.gif


2. Updated with the command rpm-U samba-2.2.5-107.src.rpm, trying to be
compressed it into another file, also failed, still showing the message
below when I start the smb service.
Samba daemon, / usr / lib / samba / classic / smbd is not installed

3. I did backup the current settings of the samba and tried to do a fresh
install over the existing (rpm-i samba-2.2.5-107.src.rpm), it executes the
command correctly, but I still returns the message error so when I try to
start the service.

4. I tried to update the version of samba to samba-3.0.28-3.1.src.rpm but he
asks me a list of dependency. This option would not do, because as I have
other services running on the server, I'm afraid to interfere with them
after the installation of such dependence.
I do not know what to do to recover this file blessed!
Can anyone help?

2010/6/18 Michael Wood <esiotrot(a)gmail.com>

> 2010/6/18 Tiago Damasceno ::: TDA INFORMÁTICA
> <tiago(a)tdaconsultoriadigital.com.br>:
> > The aid so far given by you has been very important and satisfying, but
> as I
> > no longer have the rpm files from my original installation I'm having
> > trouble finding it in the rpm version, I tried the site
> > http://www.samba.org / samba / download / can not find files related to
> my
> > installed version.
> >
> > The version of my samba is:
> > samba-client-2.2.5-107
> > samba-2.2.5-107
> > samba-vscan-0.2.5d-106
> >
> > Below is a link to a file I found on the Internet more like my version,
> but
> > it does not contain the package file that smbd to need.
> >
> http://rpm.pbone.net/index.php3/stat/4/idpl/555302/dir/redhat_other/com/samba-2.2.5-1.i386.rpm.html
> >
> > Can anyone tell me the link that has a file compatible with my version?
>
> I am afraid I don't know, but perhaps someone else on the list can help.
>
> > 2010/6/18 Michael Wood <esiotrot(a)gmail.com>
> >>
> >> On 18 June 2010 14:56, Pablo Chamorro C. <pchamorro(a)ingeominas.gov.co>
> >> wrote:
> >> > On Fri, 18 Jun 2010, Michael Wood wrote:
> >> >
> >> >> 2010/6/16 Tiago Damasceno ::: TDA INFORMÁTICA
> >> >> <tiago(a)tdaconsultoriadigital.com.br>:
> >> >>>
> >> >>> Hello!
> >> >>>
> >> >>> Accidentally deletes the file daemon, / usr / lib / samba / classic
> /
> >> >>> smbd.
> >> >>> Now I can not start Samba, Samba reinstalling again in the newer
> >> >>> version
> >> >>> I
> >> >>> would lose my settings? It will overwrite existing files or just
> bring
> >> >>> back
> >> >>> the excluded?
> >> >>
> >> >> If it is only the /usr/sbin/smbd file that was deleted, then it might
> >> >> be easiest to do this:
> >> >>
> >> >> Get the original RPM that you used to install Samba.
> >> >> Use rpm2cpio and cpio to extract just the smbd file somewhere.
> >> >
> >> > I use to use for that purpose, preferable in a new folder, a command
> >> > similar
> >> > to:
> >> >
> >> > rpm2cpio rpmfile.rpm |cpio -idmv
> >> >
> >> > Pablo Chamorro
> >>
> >> Thanks :)
>
> --
> Michael Wood <esiotrot(a)gmail.com>
>



--

Tiago Damasceno
E-mail: tiago(a)tdainformatica.com.br
Telefone: +55 86 3315 2819 / 9451 9892
skype: tiagodamasceno6
MSN: tiago(a)tdaconsultoriadigital.com.br
www.tdainformatica.com.br
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Tiago Damasceno ::: TDA INFORMÁTICA on
This facility was not made by me but by another trader who worked here in
the company before me.
He did not follow the standard methods of directory applications, so you
must be wondering the files in different directory.

I'm having a hard time understanding what my predecessor did, since it was
unusual.

Actually I thought about reinstalling the samba and make a new file server,
however, my United Linux distribution is based on a very old version of
SUSE, when I try to upgrade samba to a newer version it asks a series of
dependencies.

I'm afraid that installing these dependencies can cause some side effects,
because I have an application running on the Oracle server.

Did not anyone could just send me this file? Since we can not find anywhere
the blessed?

2010/6/19 Michael Wood <esiotrot(a)gmail.com>

> 2010/6/19 Tiago Damasceno ::: TDA INFORMÁTICA
> <tiago(a)tdaconsultoriadigital.com.br>:
> > I found the rpm file regarding my samba version, but it did not come to
> the
> > smbd file in which I need:
>
> You have found the source version of the file and not the binary
> version. The one you want should be called something like
> samba-2.2.5-107.i586.rpm (or maybe i386 or x86_64 or something other
> than src.)
>
> Either you should find the binary package, or you will need to compile
> the source package. If you can find the correct binary package that
> would be easiest.
>
> > Under the procedures that I did with him:
> > 1. Under the guidance of Pablo Chamorro extract the file with the
> command:
> > rpm2cpio samba-2.2.5-107.src.rpm | cpio-IDMV he extracted the files all
> > right, but the file which I need smbd is not contained in the package.
> >
> > Following is the list of extracted files:
> > drwxr-xr-x 3 root root 4096 Jun 19 08:49.
> > drwxrwxrwx 6 oracle dba 12 288 Jun 16 17:39 ..
> > -Rw-r - r - 1 root root 2813 Sep 23 2002 README.SuSE
> [...]
>
> By the way, what strange e-mail client are you using that randomly
> capitalises things like the "r" in -rw-r--r-- and also randomly
> removes some of the dashes?
>
> > 2. Updated with the command rpm-U samba-2.2.5-107.src.rpm, trying to be
> > compressed it into another file, also failed, still showing the message
> > below when I start the smb service.
> > Samba daemon, / usr / lib / samba / classic / smbd is not installed
>
> /usr/lib/samba/classic is a strange location for Samba. What
> distribution is this anyway?
>
> > 3. I did backup the current settings of the samba and tried to do a fresh
> > install over the existing (rpm-i samba-2.2.5-107.src.rpm), it executes
> the
> > command correctly, but I still returns the message error so when I try to
> > start the service.
>
> Since this is the source package, "installing" it would just unpack
> the source code to somewhere like /usr/src/...
>
> P.S. Version 2.2.5 is very old. It might be better to set up a new
> server with a new version of Samba (e.g. 3.4.x or 3.5.x) and then move
> the other services over to that too.
>
> --
> Michael Wood <esiotrot(a)gmail.com>
>



--

Tiago Damasceno
E-mail: tiago(a)tdainformatica.com.br
Telefone: +55 86 3315 2819 / 9451 9892
skype: tiagodamasceno6
MSN: tiago(a)tdaconsultoriadigital.com.br
www.tdainformatica.com.br
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba