Emad Yousuf Said Al Kharusi
2019-Mar-31 13:14 UTC
[Samba] error in samba 4.10.0 while using samba-tool domain provision
________________________________ 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
Emad Yousuf Said Al Kharusi
2019-Apr-01 05:20 UTC
[Samba] error in samba 4.10.0 while using samba-tool domain provision
Hi Rowland It's the same error in rhel 7.6 I have tried that Also I compile without gpgme and now I can provision but still the domain are not there!! From: Emad Yousuf Said Al Kharusi Sent: Sunday, March 31, 2019 5:14 PM To: Rowland Penny <rpenny at samba.org>; samba at lists.samba.org Subject: Re: [Samba] error in samba 4.10.0 while using samba-tool domain provision ________________________________ From: Rowland Penny <rpenny at samba.org<mailto:rpenny at samba.org>> Sent: Sunday, March 31, 2019 3:57 PM To: samba at lists.samba.org<mailto: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<mailto: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
Rowland Penny
2019-Apr-01 16:47 UTC
[Samba] error in samba 4.10.0 while using samba-tool domain provision
On Mon, 1 Apr 2019 05:20:16 +0000 Emad Yousuf Said Al Kharusi <emad.alkharusi at moh.gov.om> wrote:> Hi Rowland > It's the same error in rhel 7.6 I have tried that > Also I compile without gpgme and now I can provision but still the > domain are not there!!I have just compiled Samba 4.10.0 on Ubuntu 18.04 and had to backport tdb, talloc, tevent and ldb. Ubuntu 18.04, package wise, is a lot newer than RHEL 7.6 and I had problems. Can I suggest that you do one of two things, use python3 and ensure that your installed build packages are what Samba actually depends on, this might involve building some of the required packages. the other option is to use a distro such as Debian or Ubuntu, this will get you more up to date build packages, though you may still have to backport some packages. Rowland
adam_xu at adagene.com.cn
2019-Apr-05 15:05 UTC
[Samba] error in samba 4.10.0 while using samba-tool domain provision
Hi , you need to install these packages(epel repo enabled): yum install attr bind-utils docbook-style-xsl gcc gdb krb5-workstation \ libsemanage-python libxslt perl perl-ExtUtils-MakeMaker lmdb-devel libarchive-devel \ perl-Parse-Yapp perl-Test-Base pkgconfig policycoreutils-python pygpgme \ python2-crypto gnutls-devel gpgme-devel jansson-devel libattr-devel keyutils-libs-devel \ libacl-devel libaio-devel libblkid-devel libxml2-devel openldap-devel libtasn1-tools \ pam-devel popt-devel python-devel readline-devel zlib-devel systemd-devel \ python-dns It has been tested using python2 in centos7. Best, yours Adam From: Emad Yousuf Said Al Kharusi via samba Date: 2019-04-01 13:20 To: Rowland Penny; samba at lists.samba.org Subject: Re: [Samba] error in samba 4.10.0 while using samba-tool domain provision Hi Rowland It's the same error in rhel 7.6 I have tried that Also I compile without gpgme and now I can provision but still the domain are not there!! From: Emad Yousuf Said Al Kharusi Sent: Sunday, March 31, 2019 5:14 PM To: Rowland Penny <rpenny at samba.org>; samba at lists.samba.org Subject: Re: [Samba] error in samba 4.10.0 while using samba-tool domain provision ________________________________ From: Rowland Penny <rpenny at samba.org<mailto:rpenny at samba.org>> Sent: Sunday, March 31, 2019 3:57 PM To: samba at lists.samba.org<mailto: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<mailto: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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Apparently Analagous Threads
- error in samba 4.10.0 while using samba-tool domain provision
- error in samba 4.10.0 while using samba-tool domain provision
- error in samba 4.10.0 while using samba-tool domain provision
- error in samba 4.10.0 while using samba-tool domain provision
- error in samba 4.10.0 while using samba-tool domain provision