Finaly i install debians wheezy bin packets but i get this error when use samba-tools Setting up sam.ldb data Setting up well known security principals Setting up sam.ldb users and groups ERROR(ldb): uncaught exception - operations error at ../source4/dsdb/samdb/ldb_modules/password_hash.c:2164 File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 401, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2160, in provision skip_sysvolacl=skip_sysvolacl) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1788, in provision_fill next_rid=next_rid, dc_rid=dc_rid) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1442, in fill_samdb "KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le')) File "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line 50, in setup_add_ldif ldb.add_ldif(data, controls) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in add_ldif self.add(msg, controls) whats happen? -- AVISO LEGAL El contenido de este correo electrónico, incluidos los anexos que pudiera tener es privado. Si usted no es el destinatario adecuado, no le está permitido usarlo, copiarlo o difundirlo por cualquier medio, están prohibidas por la ley: sírvase en consecuencia devolverlo al remitente y eliminarlo. PLEASE NOTE This email and any attachments may contain confidential or privileged. Any unauthorized copying, use or distribution of this information is strictly prohibited by applicable law.
On Fri, 2017-11-17 at 20:05 +0100, Francesc Peñalvez via samba wrote:> Finaly i install debians wheezy bin packets but i get this error when > use samba-tools > > Setting up sam.ldb data > Setting up well known security principals > Setting up sam.ldb users and groups > ERROR(ldb): uncaught exception - operations error at > ../source4/dsdb/samdb/ldb_modules/password_hash.c:2164> whats happen?Sorry about that. The newer krb5.conf on the system a krb5 configuration line that we can't parse with our older embedded Heimdal. Please file a Samba and debian bug so we backport the required support from upstream Heimdal. I think it is the includedir support. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
On Sat, 18 Nov 2017 08:13:30 +1300 Andrew Bartlett via samba <samba at lists.samba.org> wrote:> On Fri, 2017-11-17 at 20:05 +0100, Francesc Peñalvez via samba wrote: > > Finaly i install debians wheezy bin packets but i get this error > > when use samba-tools > > > > Setting up sam.ldb data > > Setting up well known security principals > > Setting up sam.ldb users and groups > > ERROR(ldb): uncaught exception - operations error at > > ../source4/dsdb/samdb/ldb_modules/password_hash.c:2164 > > > > whats happen? > > Sorry about that. The newer krb5.conf on the system a krb5 > configuration line that we can't parse with our older embedded > Heimdal. > > Please file a Samba and debian bug so we backport the required support > from upstream Heimdal. I think it is the includedir support. > > Andrew Bartlett >I don't think that is the problem, yes it appears to be the fault you get on red-hat distro's, where /etc/krb5.conf starts with a line that includes 'includesdir'. The problem with that is, the OP is using debian wheezy and that line doesn't exist in the debian krb5.conf. The OP posted earlier with a problem compiling Samba on wheezy, I am now wondering if the OP has a borked wheezy install. I am also wondering why anybody would want to setup a Samba AD DC on an old distro. Rowland
On Sat, 18 Nov 2017 10:20:25 +0100 Francesc Peñalvez <nazcar at almogavers.net> wrote:> El 17/11/2017 a las 21:32, Rowland Penny via samba escribió: > > On Sat, 18 Nov 2017 08:13:30 +1300 > > Andrew Bartlett via samba <samba at lists.samba.org> wrote: > > > >> On Fri, 2017-11-17 at 20:05 +0100, Francesc Peñalvez via samba > >> wrote: > >>> Finaly i install debians wheezy bin packets but i get this error > >>> when use samba-tools > >>> > >>> Setting up sam.ldb data > >>> Setting up well known security principals > >>> Setting up sam.ldb users and groups > >>> ERROR(ldb): uncaught exception - operations error at > >>> ../source4/dsdb/samdb/ldb_modules/password_hash.c:2164 > >> > >>> whats happen? > >> Sorry about that. The newer krb5.conf on the system a krb5 > >> configuration line that we can't parse with our older embedded > >> Heimdal. > >> > >> Please file a Samba and debian bug so we backport the required > >> support from upstream Heimdal. I think it is the includedir > >> support. > >> > >> Andrew Bartlett > >> > > I don't think that is the problem, yes it appears to be the fault > > you get on red-hat distro's, where /etc/krb5.conf starts with a > > line that includes 'includesdir'. The problem with that is, the OP > > is using debian wheezy and that line doesn't exist in the debian > > krb5.conf. > > > > The OP posted earlier with a problem compiling Samba on wheezy, I am > > now wondering if the OP has a borked wheezy install. I am also > > wondering why anybody would want to setup a Samba AD DC on an old > > distro. > > > > Rowland > > > > > Solved update from wheezy to jessie and debian binaries > > > thanls >If you want later versions of Samba, you can use Louis Van Belle's packages, see here: http://apt.van-belle.nl/ Rowland