[WHATSNEW] Samba AD with MIT Kerberos + Version change
L.P.H. van Belle
belle at bazuin.nl
Fri May 5 12:21:04 UTC 2017
Hai Rowland,
The patch is make for the debian package. Made that yesterday already.
You find the installed version ( apt-get install mlocate && updatedb && locate kerberos_implementation.py )
Here :
/usr/local/samba/lib/python2.7/site-packages/samba/provision/kerberos_implementation.py
The test is doen with the original file nothing changes, since is the source build.
kdb_modules_dir = "/usr/local/samba/lib/krb5/plugins/kdb"
kdc_default_config_dir = "None"
You post gave the hint to check the .so files and locations. ;-)
Key is the symlink and/or the ld.conf changes.
I go try remove 1 of the 2 changes and try again.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: Rowland Penny [mailto:rpenny at samba.org]
> Verzonden: vrijdag 5 mei 2017 14:14
> Aan: L.P.H. van Belle
> Onderwerp: Re: [WHATSNEW] Samba AD with MIT Kerberos + Version change
>
> On Fri, 5 May 2017 13:39:11 +0200
> L.P.H. van Belle <belle at bazuin.nl> wrote:
>
> > Now based on this below.
> >
> > I already created this patch for the debian samba 470 packages.
> > This works as long as the code can detect : /etc/krb5kdc correctly
> > without --kdc-config-dir= in provisioning, because most
> people will us
> > the --kdc-config-dir .
> >
> > krb5kdc.patch
> > ---
> samba-4.7.0.orig/python/samba/provision/kerberos_implementation.py
> > +++ samba-4.7.0/python/samba/provision/kerberos_implementation.py
> > @@ -14,5 +14,5 @@
> > # You should have received a copy of the GNU General
> Public License
> > # along with this program. If not, see
> > <http://www.gnu.org/licenses/>. # -kdb_modules_dir =
> > "/usr/local/samba/lib/krb5/plugins/kdb"
> > +kdb_modules_dir = "/usr/lib/x86_64-linux-gnu/krb5/plugins/kdb"
> > kdc_default_config_dir = "None"
> > +kdc_default_config_dir = "/etc/krb5kdc"
> >
> >
> > Only this need the correct fix, for that we need the devs..
> >
> > > Did you also modify python/samba/provision/kerberos.py:29:
> > > if _glue.is_heimdal_built:
> > > to
> > > if _glue.is_heimdal_built():
> >
>
> Following Louis's changes to where to put samba.so, it now
> works for me as well, but something else will need fixing.
> the file 'kerberos_implementation.py' is autocreated and
> doesn't exist in git, so I don't see how you can patch it ;-)
>
> Rowland
>
>
More information about the samba-technical
mailing list