Web lists-archives.com

[Samba] error in samba 4.10.0 while using samba-tool domain provision




Dear samab developer,

Im getting the below error while using samba-tool domain provision and others like dbcheck and time,

[root@emad-srv1 bin]# ./samba-tool domain provision --use-rfc2307 --interactive
Realm:  EMAD.HC
Domain [EMAD]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:  BIND9_DLZ
Administrator password:
Retype password:
INFO 2019-03-31 19:02:33,254 pid:17520 /usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py #2079: Looking up IPv4 addresses
WARNING 2019-03-31 19:02:33,255 pid:17520 /usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py #2085: More than one IPv4 address found. Using 192.168.72.33
INFO 2019-03-31 19:02:33,255 pid:17520 /usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py #2096: Looking up IPv6 addresses
WARNING 2019-03-31 19:02:33,256 pid:17520 /usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py #2103: No IPv6 address will be assigned
ldb_init_module() in ../../source4/dsdb/samdb/ldb_modules/password_hash.c version[1.5.4]: gpgme_check_version(1.12.0) not available, gpgme_check_version(NULL) => '1.3.2'
ldb: failed to initialise module /usr/local/samba/lib/ldb/password_hash.so : Unavailable
ERROR(<type 'exceptions.MemoryError'>): uncaught exception -
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 184, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 536, in run
    backend_store=backend_store)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py", line 2239, in provision
    schemadn=names.schemadn, base_schema=base_schema)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/schema.py", line 105, in __init__
    self.ldb = SamDB(global_schema=False, am_rodc=False)

what could be the solution,

thanks & kind regards.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba