[Samba] Fwd: Re: Invalid data for index DN=@INDEX:OBJECTCLASS:DNSNODE
ash-samba at comtek.co.uk
ash-samba at comtek.co.uk
Fri May 13 17:42:45 UTC 2016
> OK, could this just be a permissions problem i.e. user 'ash' doesn't
> have the required rights to add a dns record, try again, but this time
> use the 'Administrator' user.
I've repeated the "samba-tool dns add", and the "samba-tool domain join"
commands with "-UAdministrator". I get the same errors with either user.
(the error for domain join is now the following)
> samba-tool domain join chester-dc.comtek.co.uk DC -Uash
--realm=CHESTER-DC.COMTEK.CO.UK
> Finding a writeable DC for domain 'chester-dc.comtek.co.uk'
> Found DC empire.chester-dc.comtek.co.uk
> Password for [CHESTER-DC\ash]:
> workgroup is CHESTER-DC
> realm is chester-dc.comtek.co.uk
> checking sAMAccountName
> Adding CN=V-WARD,OU=Domain
Controllers,DC=chester-dc,DC=comtek,DC=co,DC=uk
> Join failed - cleaning up
> checking sAMAccountName
> ERROR(ldb): uncaught exception - LDAP error 68
LDAP_ENTRY_ALREADY_EXISTS - <00002071: ../ldb_tdb/ldb_index.c:1216:
Failed to re-index objectSid in CN=V-WARD,OU=Domain
Controllers,DC=chester-dc,DC=comtek,DC=co,DC=uk -
../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=V-WARD,OU=Domain Controllers,DC=chester-dc,DC=comtek,DC=co,DC=uk> <>
> 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 555, in run
> machinepass=machinepass, use_ntvfs=use_ntvfs,
dns_backend=dns_backend)
> File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1172,
in join_DC
> ctx.do_join()
> File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1075,
in do_join
> ctx.join_add_objects()
> File "/usr/lib/python2.7/dist-packages/samba/join.py", line 515, in
join_add_objects
> ctx.samdb.add(rec)
Could permissions account for the " Invalid data for index
DN=@INDEX:OBJECTCLASS:DNSNODE", anyway?
Ash
--
/---------------------------------------------------------------------\
|Ashley Griffiths Phone: +44 (0)1244 280 390 |
|IT manager Web: http://www.comtek.co.uk/ |
|Comtek Group |
\---------------------------------------------------------------------/
More information about the samba
mailing list