[Bug 1289318] Re: Samba dumps core if you try to export keytab in trusty
Rowland Penny
rpenny241155 at gmail.com
Tue Mar 25 09:16:51 UTC 2014
If it helps there is this in dmesg:
[ 86.177156] samba-tool[1643]: segfault at 0 ip (null) sp
00007fff780ce138 error 14 in python2.7[400000+2bd000]
this is after login as normal user, changing to root via 'sudo su' and
running 'samba-tool domain exportkeytab /etc/krb5.keytab'
the response on the command line is: Segmentation fault (core dumped)
You only get this response, if you run the command as root, if you run
it as a normal user, you get no response.
As I said, this was a known problem with the debian 4.1.3 package and it
went away with the debian 4.1.4 package.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1289318
Title:
Samba dumps core if you try to export keytab in trusty
Status in “samba” package in Ubuntu:
Confirmed
Bug description:
If you set samba up as an AD controller in trust and then run this
command:
sudo samba-tool domain exportkeytab /etc/krb5.keytab -U Administrator
Nothing seems to happen and the keytab is not exported.
Run 'sudo su' and then run the command again, you get:
Illegal instruction (core dumped)
Unlike most of your bug reports, I actually know the cure, firstly the
cause, On debian it was found that parts of samba were being built
against the wrong libs, this was discovered in version 4.1.3, a patch
was developed.
How to cure the problem, very easy, move to debian version 4.1.4 or
4.1.5
I know that you may say that it is a bit late now to upgrade a
package, but think about it, do you really want to ship an LTS version
with a badly broken major package, if it is a very easy fix???
lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
apt-cache policy samba
samba:
Installed: 2:4.1.3+dfsg-2ubuntu3
Candidate: 2:4.1.3+dfsg-2ubuntu3
Version table:
*** 2:4.1.3+dfsg-2ubuntu3 0
500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1289318/+subscriptions
More information about the foundations-bugs
mailing list