Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Installing System-config-samba
Installing System-config-samba
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
Re: Installing System-config-samba
I never used Ubuntu but see if gadmin-samba is what you're looking for.
Re: Installing System-config-samba
Look here for build instructions: http://verahill.blogspot.com.au/2013/05 ... ebian.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.
It seems a bit slow though.
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
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
-
- Posts: 6
- Joined: 2015-06-24 06:04
Re: Installing System-config-samba
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.
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.
Re: Installing System-config-samba
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.
-
- Posts: 1
- Joined: 2018-05-05 17:04
Re: Installing System-config-samba
I was able to install this despite the depreciated packages. You can download the python-central deb package Here.
Follow the steps in Verahill's response up to the point where you build it. Install the python-central package and install the following dependencies:
The part that really tripped me up was the following error message during the build:
This error arises because the current package for DebHelper does not have the dh_desktop command in it. That component looks to have been depreciated in 2016. You can still get it back if you remove your current debhelper package and install this archived version in its place.
After installing the dependencies run the buildpackage command and it should complete successfully. Don't forget to touch /etc/libuser.conf or the program won't start, and also remove the archived version of DebHelper and update back to the most current one.
EDIT: Or just use stevepusser's method with dh_python. I tend to overcomplicate things
Follow the steps in Verahill's response up to the point where you build it. Install the python-central package and install the following dependencies:
Code: Select all
cdbs (>= 0.4.43), debhelper (>= 5.0.38), quilt, intltool, python-central (>= 0.5.6), python-all-dev (>= 2.3.5-11), pkg-config, gnome-doc-utils
Code: Select all
dh_desktop
make: dh_desktop: Command not found
debian/rules:15: recipe for target 'binary-install/system-config-samba' failed
make: *** [binary-install/system-config-samba] Error 127
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
After installing the dependencies run the buildpackage command and it should complete successfully. Don't forget to touch /etc/libuser.conf or the program won't start, and also remove the archived version of DebHelper and update back to the most current one.
EDIT: Or just use stevepusser's method with dh_python. I tend to overcomplicate things
Last edited by gigabyte898 on 2018-05-05 19:57, edited 1 time in total.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Installing System-config-samba
Nonsense, just build it using the current dh_python method. If you don't know what that means, you can use the version in the MX 17 repo: http://mxrepo.com/mx/repo/pool/main/s/s ... fig-samba/ for Stretch.
But why on Earth are you installing Wheezy, when support for it ends this month? Just install Stretch, for Pete's sake.
But why on Earth are you installing Wheezy, when support for it ends this month? Just install Stretch, for Pete's sake.
MX Linux packager and developer