Emad Yousuf Said Al Kharusi
2019-Mar-31 12:59 UTC
[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 at samba.org> Sent: Sunday, March 31, 2019 3:57 PM To: samba at lists.samba.org 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 at lists.samba.org> wrote:> Dear samab developer, > > Im getting the below error while using samba-tool domain provision > and others like dbcheck and time, > > [root at 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
miguel medalha
2019-Mar-31 13:13 UTC
[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 installAccording to the Samba 4.10.0 Release Notes, you should do as follows: PYTHON=python2 ./configure PYTHON=python2 make "This will override the python3 default." https://www.samba.org/samba/history/samba-4.10.0.html
Emad Yousuf Said Al Kharusi
2019-Mar-31 13:16 UTC
[Samba] error in samba 4.10.0 while using samba-tool domain provision
oh sorry I forgot to mention that actually, I did. ________________________________ From: miguel medalha <medalist at sapo.pt> Sent: Sunday, March 31, 2019 5:13 PM To: Emad Yousuf Said Al Kharusi; samba at lists.samba.org Subject: 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 installAccording to the Samba 4.10.0 Release Notes, you should do as follows: PYTHON=python2 ./configure PYTHON=python2 make "This will override the python3 default." https://www.samba.org/samba/history/samba-4.10.0.html