Page 1 of 2

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

Posted: 2012/04/16 06:57:30
by zjhxmjl
[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? :-(

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

Posted: 2012/04/16 07:18:20
by vonskippy
Here, let me Google that for you....

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

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

Posted: 2012/04/16 13:19:44
by zjhxmjl
[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!

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

Posted: 2012/04/16 17:44:16
by vonskippy
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.

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

Posted: 2012/04/17 05:13:22
by zjhxmjl
thank you!

[RESOLVED] How to configure Samba using a graphical interfac

Posted: 2012/04/17 20:27:34
by pschaff
Does that resolve your issue?

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

Posted: 2012/04/19 00:45:40
by zjhxmjl
[quote]
pschaff wrote:
Does that resolve your issue?[/quote]

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

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

Posted: 2012/04/19 13:59:18
by pschaff
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].

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

Posted: 2012/07/10 20:05:26
by Welsh
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]

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

Posted: 2012/07/13 14:32:23
by phzar
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 :)