Public bug reported: 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 ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1289318/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs