Installing System-config-samba

If none of the more specific forums is the right place to ask

Installing System-config-samba

Postby rmcellig » 2013-05-07 10:13

I use this GUI app alot when I was using Ubuntu. Very simple to use. I want to use it in my new Debian 7 xfce install. My understanding is that I would have to build a deb from source to allow me to use this app? If this is the case, what is the best (easiest) way to do this. I saw some videos in Youtube but I'm not sure if things have changed with the new Debian 7. I have never used Debian before so if possible, go easy on me :)
rmcellig
 
Posts: 5
Joined: 2013-05-04 16:12

Re: Installing System-config-samba

Postby Soapm » 2013-05-10 01:21

I never used Ubuntu but see if gadmin-samba is what you're looking for.
User avatar
Soapm
 
Posts: 494
Joined: 2012-05-22 04:23

Re: Installing System-config-samba

Postby verahill » 2013-05-10 06:30

Look here for build instructions: http://verahill.blogspot.com.au/2013/05/412-system-config-samba-on-debian.html

In brief, download the source code and patch from canonical (it's a redhat tool though -- not made by canonical), extract and apply the patch, then build with debhelper, create a dummy /etc/libuser.conf, and install.
Code: Select all
wget https://launchpad.net/ubuntu/+archive/primary/+files/system-config-samba_1.2.63.orig.tar.gz
tar xvf system-config-samba_1.2.63.orig.tar.gz
wget https://launchpad.net/ubuntu/+archive/primary/+files/system-config-samba_1.2.63-0ubuntu5.diff.gz
gunzip system-config-samba_1.2.63-0ubuntu5.diff.gz
patch -p0 < system-config-samba_1.2.63-0ubuntu5.diff
cd system-config-samba-1.2.63/
dpkg-buildpackage -uc -us
sudo dpkg -i ../system-config-samba_1.2.63-0ubuntu5_all.deb
sudo touch /etc/libuser.conf
gksu system-config-samba


It seems a bit slow though.
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
User avatar
verahill
 
Posts: 327
Joined: 2012-05-29 07:03
Location: Australia

Re: Installing System-config-samba

Postby davekimble » 2015-06-24 06:31

After weeks of wrestling with Gadmin-samba with no success, and using system-config-samba without trouble on my Ubuntu boxes, if finally decided to take the plunge and follow verahill's commands to build system-config-samba on my RaspberryPi 1 with Raspian (Debian Wheezy).

It worked ! Some dependencies were missing, but were all in the Debian repository.
On running system-config-samba, the old gadmin smb.conf was backed up and a new copy created, which contained all sorts of weird shares that I suppose I had tried before, and some lines it flagged it didn't understand and I commented out. After tidying that up I created a new share without problems.

Thank you so much for that. :D
davekimble
 
Posts: 2
Joined: 2015-06-24 06:04

Re: Installing System-config-samba

Postby RoundByte » 2018-04-12 03:00

Sadly, looks like the needed dependency python-central is lost at sea, here: https://tracker.debian.org/pkg/python-central. So building system-config-samba goes down with it.
RoundByte
 
Posts: 2
Joined: 2016-09-09 00:01


Return to General Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable