[RESOLVED] How to configure Samba using a graphical interface in rhel 6?

General support questions
zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

[RESOLVED] How to configure Samba using a graphical interface in rhel 6?

Post by zjhxmjl » 2012/04/16 06:57:30

[code]
[zjhxmjl@localhost Desktop]$ yum list system-config*
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.163.com
* rpmforge: fr2.rpmfind.net
* rpmfusion-free-updates: mirrors.163.com
* rpmfusion-free-updates-testing: mirrors.163.com
* rpmfusion-nonfree-updates: mirrors.163.com
* rpmfusion-nonfree-updates-testing: mirrors.163.com
* updates: mirrors.163.com
Installed Packages
system-config-date.noarch 1.9.60-1.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-date-docs.noarch 1.0.9-1.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-firewall.noarch 1.2.27-5.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-firewall-base.noarch 1.2.27-5.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-firewall-tui.noarch 1.2.27-5.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-kdump.noarch 2.0.2.2-2.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-keyboard.i686 1.3.1-3.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-network-tui.noarch 1.6.0.el6.2-1.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-services.noarch 0.99.45-1.el6.3 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-services-docs.noarch 1.1.8-1.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-users.noarch 1.2.106-5.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-users-docs.noarch 1.0.8-1.el6 @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
Available Packages
system-config-date.noarch 1.9.60-1.el6.centos base
system-config-kickstart.noarch 2.8.6.4-1.el6 base
system-config-language.noarch 1.3.4-5.el6 base
system-config-lvm.noarch 1.1.12-9.el6 base
system-config-printer.i686 1.1.16-22.el6 base
system-config-printer-libs.i686 1.1.16-22.el6 base
system-config-printer-udev.i686 1.1.16-22.el6 base
[/code]
but i could not find system-config-samba package? :-(

User avatar
vonskippy
Posts: 839
Joined: 2006/12/30 03:00:04
Location: Western Slope Colorado

Re: How to configure Samba using a graphical interface in rhel 6?

Post by vonskippy » 2012/04/16 07:18:20

Here, let me Google that for you....

http://lmgtfy.com/?q=site%3Acentos.org+system-config-samba

zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Post by zjhxmjl » 2012/04/16 13:19:44

[quote]
vonskippy wrote:
Here, let me Google that for you....

http://lmgtfy.com/?q=site%3Acentos.org+system-config-samba[/quote]

May I ask how to do this, just like you do?
[url=http://www.92linux.tk/phpBB3/gallery/image_page.php?album_id=2&image_id=34]let me google that for you[/url]
Thank you!

User avatar
vonskippy
Posts: 839
Joined: 2006/12/30 03:00:04
Location: Western Slope Colorado

Re: How to configure Samba using a graphical interface in rhel 6?

Post by vonskippy » 2012/04/16 17:44:16

www.lmgtfy.com is the front end website that creates the animated graphic.

using the site:centos.org "search term" is a built in feature of Google that limits the results to just the "site" that you specify.

As to a gui front end for samba - look at webmin, it has a good samba module.

zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Post by zjhxmjl » 2012/04/17 05:13:22

thank you!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[RESOLVED] How to configure Samba using a graphical interfac

Post by pschaff » 2012/04/17 20:27:34

Does that resolve your issue?

zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Post by zjhxmjl » 2012/04/19 00:45:40

[quote]
pschaff wrote:
Does that resolve your issue?[/quote]

Unfortunately I was not able to solve this problem! :-(

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Post by pschaff » 2012/04/19 13:59:18

Either the site search shown earlier, or a [url=https://www.centos.org/search.php?query=system-config-samba+6.2&mid=30&action=showall&andor=AND]forum search[/url] using the bar at the top of the page should have turned up posts such as [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=36713&forum=56&post_id=159243#forumpost159243]this one[/url] explaining the background, and suggesting alternatives. If you [b][i]really[/i][/b] want system-config-samba then try [url=http://wiki.centos.org/HowTos/RebuildSRPM]rebuilding[/url] a [url=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/system-config-samba-1.2.90-1.fc14.src.rpm]Fedora SRPM[/url].

Welsh
Posts: 2
Joined: 2011/09/13 22:02:12

Re: How to configure Samba using a graphical interface in rhel 6?

Post by Welsh » 2012/07/10 20:05:26

Because google passed me to another post which passed me to this post and I followed the links provided I got the GUI installed on CentOS 6.2 and figured I would share. Instructions are below.

[b]Note:[/b] I did all the SRPM Rebuilding as a unprivileged user (regular login) to avoid messing things up, which is what the CentOS Wiki says to do with good reason.

Installed Samba + All Dependencies required to rebuild Source RPM's:
[code]sudo yum install samba rpm-build redhat-rpm-config gcc make python-devel gettext intltool[/code]
Then I Setup the Environment for Source RPM Building:
[code]mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros[/code]
Then I fetched the Source RPM's from the Fedora 14 Source RPM Archive:
[code]cd /tmp/
wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/system-config-samba-1.2.90-1.fc14.src.rpm
wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/system-config-samba-docs-1.0.9-1.fc14.src.rpm[/code]
Then I built each one:
[code]rpmbuild --rebuild /tmp/system-config-samba-1.2.90-1.fc14.src.rpm
rpmbuild --rebuild /tmp/system-config-samba-docs-1.0.9-1.fc14.src.rpm[/code]
Which then I installed them together since they are dependent upon each other:
[code]cd ~/rpmbuild/RPMS/noarch/
sudo rpm -Uvh system-config-samba-1.2.90-1.el6.noarch.rpm system-config-samba-docs-1.0.9-1.el6.noarch.rpm[/code]
Which from the System > Administration > Samba link yielded:

[img]http://i.imgur.com/nWrLj.png[/img]

I hope this helps people who are looking to do this, the downside of this is that should you want to update the Samba GUI you need to again, go find the SRPM, rebuild and then update.

Links:
[url=http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment]Setting up Environment for SRPM Building[/url]
[url=http://wiki.centos.org/HowTos/RebuildSRPM]Rebuilding Source RPM's[/url]
[url=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Fedora/source/SRPMS/]Fedora 14 Source RPM Archive[/url]

phzar
Posts: 5
Joined: 2012/06/16 08:45:31

Re: How to configure Samba using a graphical interface in rhel 6?

Post by phzar » 2012/07/13 14:32:23

hey guys, sorry to revive an old thread but i've been trying to solve this issue for the past 3-4 hours! I'm about to go insane! any help would be much appreciated :)

I've been trying to get system-config-samba working on my centos 6.2 machine, no luck so far keep getting errors, the closest i got was this last guide here, but this is the errors i get.

[img]http://i.imgur.com/U4A25.png[/img]

Thanks for any help :)

Post Reply