[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SAMBA problem
Hi,
Its now working for me. To resolve the problem I did this:
erased all the samba packages from 2.0.6 and 2.2.0 and then re-installed
the samba 2.2.0 package and its now working and getting my work group and
its now working perfectly.
Do anyone have a good documentation about samba security?
At 21:42 21/04/01 +0300, you wrote:
>Hi
>
>On Sat, 21 Apr 2001, Eran Levy wrote:
>
> > I had 2.0.6 version of Samba. I have uninstalled the samba packages annd
> > compiled the samba 2.2.0 RPM binary package. I have re-copied all the
> > smb.conf, ssmbpasswd and smbusers files to /etc/.
>
>This is a major version upgrade. Isn't there any UPGRADE document or
>something in the README about upgrading?
>
>If not, then you can use the sample config files as a form of
>documentation (at least the ones from samba are well-commented).
>
>Actually you probably should somehow merge your old config into that
>sample config (lasttime I upgraded squid I used emacs's ediff to merge my
>config with the .rpmnew config)
>
>(see below more about .rpmnew)
>
> > Then, I killed -HUP the smbd and nmbd daemons and now I cant see the share
> > directories from the Network Neighborhood from my windows machines.
> > I have looked in my logs and found: /var/log/samba/log.nmbd says:
> >
> > [2001/04/21 14:11:45, 0] nmbd/nmbd.c:sig_term(65)
> > Got SIGTERM: going down...
> > [2001/04/21 14:15:03, 0] nmbd/nmbd.c:main(794)
> > standard input is not a socket, assuming -D option
> > [2001/04/21 14:16:23, 0] nmbd/nmbd.c:sig_hup(92)
> > Got SIGHUP dumping debug info.
>
>Did you give it SIGHUP again, or is this the kill -HUP you mention in your
>post?
>
> > [2001/04/21 14:16:23, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
> > dump_workgroups()
> > dump workgroup on subnet 192.117.0.1: netmask= 255.255.255.0:
> > MYGROUP(1) current master browser = UNKNOWN
> > LILOBOOT 40019a03 (Samba Server)
> >
> > ** That means he couldnt find my group name and put the MYGROUP(1) and cant
> > find the master browser. I have copied the smb.conf file so why it cant
> > identify my Group name?
>
>
> >
> > At 03:17 21/04/01 +0300, you wrote:
> > >On 20 Apr 2001 21:12:58 +0200, Eran Levy wrote:
> > > > Hi,
> > > >
> > > > I have tried to update my samba 2.0.6 in RH 6.2 to the samba 2.2 RPM
> > > > package and I have got the some of the packages conflicts with the 2.2
> > > > packages. why? Do I have to upgrade to 2.0.7 first before I upgrade to
> > > 2..2?
> > >
> > >
> > >You downloaded the binary rpm from samba.org, right?
> > >This RPM contain all the samba parts.
> > >On RH6.2 and almost all others, it is seperated to 3 RPMS
> > >common,client and server.
> > >Backup all your samba config files smb.conf,smbpasswd etc... ( you do
> > >regular backups, right?)
> > >Then manuly remove rpm -e samba-server samba-client samba-common.
> > >Then install the new RPM and move your config files back.
> > >
> > >I did this and no user even noticed.
>
>This means that you have uninstalled all the packages, and then istalled
>them. Also, if you had any package that depended on samba, it had to go as
>well.
>
>But you can Upgrade rpm packages, and keep part of your config.
>
> rpm -Uv samba-*.rpm
>
>(or any other way. The thing is that you have to upgrade all the packages
>in one rpm command, because rpm must keep the all the system's
>dependencies after the command is excuted.
>
>If you have changed any files of the package then they won't be lost
>(unlike the case of rpm -e). If the files you have chaned was marked as a
>config file, then the file replacing it from the new package will have a
>.rpmnew extention.
>
>If the file is not marked as a config file then then new file from the
>package will override your old copy. But your copy won't be lost: it will
>be saved with the extention .rpmsave .
>
>It is a good idea not to leave .rpmnew and .rpmsave files lying around in
>your system, but to handle them immeditely (delete them, merge them,
>whatever). It is also a good idea to run 'slocate rpmnew' and 'slocate
>rpmsave' once in a while to see if you left such files.
>
>--
>Tzafrir Cohen
>mailto:tzafrir@technion.ac.il
>http://www.technion.ac.il/~tzafrir
----
Regards,
Eran Levy.
E-mail: eranle@netvision.net.il
WebSite: http://come.to/liloboot
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il