Web lists-archives.com

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




I'm using RHEL 7.4

I have built the samba from source, downloaded the tar file then extract

./configure

make

make install


and I have installed all required packages and dependencies including gpgyme and I don't know why it's not working.


________________________________
From: Rowland Penny <rpenny@xxxxxxxxx>
Sent: Sunday, March 31, 2019 3:57 PM
To: samba@xxxxxxxxxxxxxxx
Subject: Re: [Samba] error in samba 4.10.0 while using samba-tool domain provision

On Sun, 31 Mar 2019 11:10:12 +0000
Emad Yousuf Said Al Kharusi via samba <samba@xxxxxxxxxxxxxxx> wrote:

> 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,
>

What OS and how did you build Samba ?

Rowland



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