Latest News:
*New 11.2 series Release:
2019-06-20: XigmaNAS 11.2.0.4.6766 - released!

*New 12.0 series Release:
2019-06-20: XigmaNAS 12.0.0.4.6766 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS cost money, please consider a donation to our project so we can continue to offer you the best.
We need your support! eg: PAYPAL

[SOLVED]Samba AD DC initialize error in 10.2.0.2.2545

Samba Active Directory Domain Controller.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
antonioion
NewUser
NewUser
Posts: 5
Joined: 20 Oct 2014 22:49
Location: Mexico city
Status: Offline

[SOLVED]Samba AD DC initialize error in 10.2.0.2.2545

#1

Post by antonioion » 27 Apr 2016 00:54

Hello,

Trying to install Samba AD in 10.2.0.2.2545 (embedded), but when I performed the initialize step for Samba AD DC I receive these errors:

Code: Select all

Command output:

Initializing...
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=seguradomain,DC=local
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=seguradomain,DC=local
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
ERROR(runtime): uncaught exception - pytalloc_reference_ex() called for object type not based on talloc
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line 434, in run
    nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
  File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 2169, in provision
    skip_sysvolacl=skip_sysvolacl)
  File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1861, in provision_fill
    attrs=['defaultObjectCategory'])
  File "/usr/local/lib/python2.7/site-packages/samba/dbchecker.py", line 134, in check_database
    error_count += self.check_object(object.dn, attrs=attrs)
  File "/usr/local/lib/python2.7/site-packages/samba/dbchecker.py", line 1286, in check_object
    normalised = self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, [val])
  File "/usr/local/lib/python2.7/site-packages/samba/samdb.py", line 671, in dsdb_normalise_attributes
    return dsdb._dsdb_normalise_attributes(ldb, ldap_display_name, ldif_elements)

Note:

Same procedure in previous revisions works as expected. I tested with 2433 and 2332.

I did a research with the first line of error and found the following link with an extremely similar error for samba 4.3.8 and talloc 2.1.6. I'm not an expert so I just point to this information to see if someone can bring out some explanation/solution for this error,

https://bugs.freebsd.org/bugzilla/show_ ... ?id=208837

In the meantime, I decided to rollback to 2433 to keep my AD working. However I'm eager to have installed the revision which fix BadLock vulnerability.

Thank for your help.
NAS4Free 10.2.0.2.2433 (x64-embedded in USB stick)
ASRock C2750D4I, mini-ITX 8-core CPU, 32GB ECC DRAM, 2 ZFS mirrored pools (3TBx2) (1TBx2+1TBx2)
APC BackUPS as energy source and connected via USB to the system.

Test environment: VirtualBox 2048MB VM.

pakko
NewUser
NewUser
Posts: 5
Joined: 12 May 2016 18:35
Status: Offline

Re: Samba AD DC initialize error in 10.2.0.2.2545

#2

Post by pakko » 13 May 2016 16:42

Hello!

I have the same issue. Did you resolve it? Does any body know ho to avoid it, please?
I am doing as describe here viewtopic.php?f=98&t=9056
Thenk you!

User avatar
antonioion
NewUser
NewUser
Posts: 5
Joined: 20 Oct 2014 22:49
Location: Mexico city
Status: Offline

Re: Samba AD DC initialize error in 10.2.0.2.2545

#3

Post by antonioion » 15 May 2016 04:37

Hello Pakko,

Unfortunately I don't have any solution yet for this error in 2545 and I just decided to go back to the 2332 to keep my DC/AD working. In the meantime I'm also testing the install and configuration of Samba 4.1 over FreeBSD 10.3 in my testing environment so I can learn and understand a little bit more about the insides of samba as DC.
NAS4Free 10.2.0.2.2433 (x64-embedded in USB stick)
ASRock C2750D4I, mini-ITX 8-core CPU, 32GB ECC DRAM, 2 ZFS mirrored pools (3TBx2) (1TBx2+1TBx2)
APC BackUPS as energy source and connected via USB to the system.

Test environment: VirtualBox 2048MB VM.

pakko
NewUser
NewUser
Posts: 5
Joined: 12 May 2016 18:35
Status: Offline

Re: [SOLVED]Samba AD DC initialize error in 10.2.0.2.2545

#4

Post by pakko » 11 Aug 2016 09:43

I've setuped AD on the last N4F version (10.3.0.3) and it works.

philm
Starter
Starter
Posts: 24
Joined: 20 Jul 2016 01:10
Status: Offline

Re: [SOLVED]Samba AD DC initialize error in 10.2.0.2.2545

#5

Post by philm » 05 Jul 2017 21:02

Please, tell me what you did to solve this issue!

I am running 11.0.0.4 (4383) and I am getting the same issue, please anyone with assistance, I could really use your help

Post Reply

Return to “Samba AD”