I am still trying to share files with XP (I can see the XP machines from my Fedora but not the other way around).
I read in Samba's web site that SWAT is a GUI for Samba's CFG file - so I downloaded it but RPM fail to install it because liblber & libldap are required.
In http://rpmfind.net http://rpmfind.net/ I found files relevant for Mandrake but not for FC2 which I use. What should I do now? Is it safe/ok to use libs compiled for other distributions? Or is there another solution?
Another thing that bother me is why doesn't RPM go and take the needed files automatically ? I mean all the information is there: the names, the version..
Thanks
Yigal
Am Mi, den 22.09.2004 schrieb YigalB um 22:35:
I read in Samba's web site that SWAT is a GUI for Samba's CFG file - so I downloaded it but RPM fail to install it because liblber & libldap are required.
http://www.fedorafaq.org/#getsoftware
In http://rpmfind.net http://rpmfind.net/ I found files relevant for Mandrake but not for FC2 which I use. What should I do now? Is it safe/ok to use libs compiled for other distributions? Or is there another solution?
Do yourself a favour and don't use any RPM from "wildlife".
Another thing that bother me is why doesn't RPM go and take the needed files automatically ? I mean all the information is there: the names, the version..
That is not the task of a packet manager. Use yum or up2date or apt (which is not part of Fedora Core, but available through 3rd party repositories).
Yigal
Alexander
YigalB said: [snip]
I read in Samba's web site that SWAT is a GUI for Samba's CFG file
[snip]
In http://rpmfind.net http://rpmfind.net/ I found files relevant for Mandrake but not for FC2 which I use. What should I do now? Is it safe/ok to use libs compiled for other distributions? Or is there another solution?
What is wrong with the samba-swat package that comes with Fedora?
up2date -i samba-swat
or
yum install samba-swat
Another thing that bother me is why doesn't RPM go and take the needed files automatically ? I mean all the information is there: the names, the version..
That's what yum, up2date, and apt (not playing favorites, did I forget anyone?) are for.
In http://rpmfind.net http://rpmfind.net/ I found files relevant
for
Mandrake but not for FC2 which I use. What should I do now? Is it safe/ok to use libs compiled for other distributions? Or is there
another
solution?
What is wrong with the samba-swat package that comes with Fedora? up2date -i samba-swat or yum install samba-swat
[<Yigal>] Nothing is wrong, they just don't work for me - see what I got (I have no idea what does it mean): ================================================= root@localhost downloads]# samba-swat bash: samba-swat: command not found
[root@localhost downloads]# up2date -i samba-swat http://fedora.redhat.com/download/up2date-mirrors/fedora-core-2 using mirror: http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/2/i3 86/os/ http://fedora.redhat.com/download/up2date-mirrors/updates-released-fc2 using mirror: http://mirror.eas.muohio.edu/fedora/linux/core/updates/2/i386/ Traceback (most recent call last): File "/usr/sbin/up2date", line 1271, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 799, in main fullUpdate, dryRun=options.dry_run)) File "/usr/sbin/up2date", line 1147, in batchRun batch.run() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run self.__findPackagesToUpdate() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in __findPackagesToUpdate plist.addGlobs(self.listOfGlobs) File "/usr/share/rhn/up2date_client/packageList.py", line 157, in addGlobs availList = rhnPackageInfo.getAvailablePackageList() File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in getAvailablePackageList package_list = availablePackageList( File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList progressCallback = progressCallback) File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall ret = apply(method, args, kwargs) File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback) File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages msgCallback, progressCallback) File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 201, in listPackages agent = "Up2date %s/Yum" % up2dateUtils.version()) File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 324, in fetchUrl endRange=end) File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 117, in open_resource return opener.open(request) File "/usr/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/lib/python2.3/urllib2.py", line 901, in http_open return self.do_open(httplib.HTTP, req) File "/usr/lib/python2.3/urllib2.py", line 886, in do_open raise URLError(err) urllib2.URLError: <urlopen error (111, 'Connection refused')> [root@localhost downloads]# =================================================
Another thing that bother me is why doesn't RPM go and take the
needed
files automatically ? I mean all the information is there: the names,
the
version..
That's what yum, up2date, and apt (not playing favorites, did I forget anyone?) are for.
[<Yigal>] so my question is: why doesn't RPM call those functions with the missing files as parameters?
On Wed, 2004-09-22 at 22:02, YigalB wrote:
In http://rpmfind.net http://rpmfind.net/ I found files relevant
for
Mandrake but not for FC2 which I use. What should I do now? Is it safe/ok to use libs compiled for other distributions? Or is there
another
solution?
What is wrong with the samba-swat package that comes with Fedora? up2date -i samba-swat or yum install samba-swat
[<Yigal>] Nothing is wrong, they just don't work for me - see what I got (I have no idea what does it mean): ================================================= root@localhost downloads]# samba-swat bash: samba-swat: command not found
[root@localhost downloads]# up2date -i samba-swat http://fedora.redhat.com/download/up2date-mirrors/fedora-core-2 using mirror: http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/2/i3 86/os/ http://fedora.redhat.com/download/up2date-mirrors/updates-released-fc2 using mirror: http://mirror.eas.muohio.edu/fedora/linux/core/updates/2/i386/ Traceback (most recent call last): File "/usr/sbin/up2date", line 1271, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 799, in main fullUpdate, dryRun=options.dry_run)) File "/usr/sbin/up2date", line 1147, in batchRun batch.run() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run self.__findPackagesToUpdate() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in __findPackagesToUpdate plist.addGlobs(self.listOfGlobs) File "/usr/share/rhn/up2date_client/packageList.py", line 157, in addGlobs availList = rhnPackageInfo.getAvailablePackageList() File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in getAvailablePackageList package_list = availablePackageList( File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in availablePackageList progressCallback = progressCallback) File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall ret = apply(method, args, kwargs) File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in listPackages return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback) File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in listPackages msgCallback, progressCallback) File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 201, in listPackages agent = "Up2date %s/Yum" % up2dateUtils.version()) File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 324, in fetchUrl endRange=end) File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 117, in open_resource return opener.open(request) File "/usr/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/lib/python2.3/urllib2.py", line 901, in http_open return self.do_open(httplib.HTTP, req) File "/usr/lib/python2.3/urllib2.py", line 886, in do_open raise URLError(err) urllib2.URLError: <urlopen error (111, 'Connection refused')> [root@localhost downloads]# =================================================
up2date chooses mirrors randomly, in this case wrong mirror was chosen. Just try the command again, or try 'yum install samba-swat'
When package is installed run '/sbin/chkconfig swat on' and point your browser to http://localhost:901
Pavel.
When package is installed run '/sbin/chkconfig swat on' and point your browser to http://localhost:901 Pavel.
[<Yigal>] I made a progress - installed samba and now Samba is working. After pressing the "status" button I saw that smbd, nmbd& winbindd were not working - so I started them all and now I can see from the XP side a "localhost" - but I cant browse inside: I get "it is not accessible - I need rights from the Linux administrator".
When I go to Samba, pressing the "share" button, I see there is "create share" and choose "share" but nothing changes - and I see no directories to select to share. How do I progress from here?
YigalB wrote:
When package is installed run '/sbin/chkconfig swat on' and point your browser to http://localhost:901 Pavel.
[<Yigal>] I made a progress - installed samba and now Samba is working. After pressing the "status" button I saw that smbd, nmbd& winbindd were not working - so I started them all and now I can see from the XP side a "localhost" - but I cant browse inside: I get "it is not accessible - I need rights from the Linux administrator".
Make sure samba ports (its 137-139 and 445) are not blocked by firewall. Also you need to create samba accounts for your users and set passwords. The easiest way is to make samba passwords identical to linux passwords, but I don't know how good is it from a security viewpoint.
When I go to Samba, pressing the "share" button, I see there is "create share" and choose "share" but nothing changes - and I see no directories to select to share. How do I progress from here?
I think home directories are shared by default, you can access them as \yourlinuxbox\username. If you want to share additional directories, just enter name of the new share and press "create share". Then you will be able to choose directory and set other options.
Pavel.
YigalB said:
When package is installed run '/sbin/chkconfig swat on' and point your browser to http://localhost:901 Pavel.
[<Yigal>] I made a progress - installed samba and now Samba is working. After pressing the "status" button I saw that smbd, nmbd& winbindd were not working - so I started them all and now I can see from the XP side a "localhost" - but I cant browse inside: I get "it is not accessible - I need rights from the Linux administrator".
"localhost" is not a valid network name. Either set a Netbios name in the Samba config or use system-config-network to assign a valid hostname to your machine.
YigalB said: [snip]
================================================= root@localhost downloads]# samba-swat bash: samba-swat: command not found
I'm not sure where you got that idea from.
[root@localhost downloads]# up2date -i samba-swat http://fedora.redhat.com/download/up2date-mirrors/fedora-core-2 using mirror: http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/2/i3 86/os/ http://fedora.redhat.com/download/up2date-mirrors/updates-released-fc2 using mirror: http://mirror.eas.muohio.edu/fedora/linux/core/updates/2/i386/
[snip]
raise URLError(err) urllib2.URLError: <urlopen error (111, 'Connection refused')> [root@localhost downloads]#
"Connection refused". Pretty plain. That mirror has been having issues. Try again.
Another thing that bother me is why doesn't RPM go and take the
needed
files automatically ? I mean all the information is there: the names,
the
version..
That's what yum, up2date, and apt (not playing favorites, did I forget anyone?) are for.
[<Yigal>] so my question is: why doesn't RPM call those functions with the missing files as parameters?
Solving dependancies is the job of the dep solver (yum, etc.). RPM's job is package management.
YigalB wrote:
I am still trying to share files with XP (I can see the XP machines from my Fedora but not the other way around).
I read in Samba's web site that SWAT is a GUI for Samba's CFG file - so I downloaded it but RPM fail to install it because liblber & libldap are required.
In http://rpmfind.net http://rpmfind.net/ I found files relevant for Mandrake but not for FC2 which I use. What should I do now? Is it safe/ok to use libs compiled for other distributions? Or is there another solution?
Another thing that bother me is why doesn't RPM go and take the needed files automatically ? I mean all the information is there: the names, the version..
Thanks
Yigal
As root, in a terminal window, try
yum install samba-swat
yum should try to resolve any dependency issues. The problem may be that the needed packages might not be available in the repositories (in your /etc/yum.conf file).
Once installed, you will have to add a line
swat 901/tcp
to your /etc/services file. Next, start
system-config-services
from a terminal window and check the box for swat. Load your favorite browser and go to
(assuming hostname is localhost).