Am 13.12.2016 um 22:37 schrieb Metin Koç via samba:> I'm giving this error when i'm provisioning the new domain with redhat 7. > > By the way 3 of dependencies doesn't exist > > https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build_Samba# > Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux > > 1. No package perl-Parse-Yapp available. > > 2. No package perl-Test-Base available. > > 3. No package python-crypto available.dunno where "python-crypto" exists but "perl-Parse-Yapp" is in the CentOS base-repos and "perl-Test-Base" in EPEL which is more or less mandatory if you plan to do anything serious with your machine https://fedoraproject.org/wiki/EPEL Name : perl-Parse-Yapp Arch : noarch Version : 1.05 Release : 50.el7 Size : 48 k Repo : base/7/x86_64 Name : perl-Test-Base Arch : noarch Version : 0.62 Release : 1.el7 Size : 51 k Repo : epel/x86_64
On Tue, 13 Dec 2016 23:37:52 +0200 Metin Koç via samba <samba at lists.samba.org> wrote:> Hi there > > > > I'm giving this error when i'm provisioning the new domain with > redhat 7. > > > > By the way 3 of dependencies doesn't exist > > > > https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build_Samba# > Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux > > 1. No package perl-Parse-Yapp available. > > 2. No package perl-Test-Base available. > > 3. No package python-crypto available. > >They all seem to be available, if you are using RHEL7 then obviously you must have a Red-Hat contract, so I would ask them. I think your problem is down to not having them, especially python-crypto. Rowland
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Migration_Planning_Guide/sect-Red_Hat_Enterprise_Linux-Migration_Planning_Guide-Removed_Packages.html the wiki seems to be not up-to-date at all The following packages have been removed from Red Hat Enterprise Linux between version 6 and version 7 and are no longer supported python-crypto just type "rhel7 python crypto" in google Am 13.12.2016 um 21:53 schrieb Reindl Harald via samba:> > > Am 13.12.2016 um 22:37 schrieb Metin Koç via samba: >> I'm giving this error when i'm provisioning the new domain with redhat 7. >> >> By the way 3 of dependencies doesn't exist >> >> https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build_Samba# >> >> Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux >> >> 1. No package perl-Parse-Yapp available. >> >> 2. No package perl-Test-Base available. >> >> 3. No package python-crypto available. > > dunno where "python-crypto" exists but "perl-Parse-Yapp" is in the > CentOS base-repos and "perl-Test-Base" in EPEL which is more or less > mandatory if you plan to do anything serious with your machine > > https://fedoraproject.org/wiki/EPEL > > Name : perl-Parse-Yapp > Arch : noarch > Version : 1.05 > Release : 50.el7 > Size : 48 k > Repo : base/7/x86_64 > > Name : perl-Test-Base > Arch : noarch > Version : 0.62 > Release : 1.el7 > Size : 51 k > Repo : epel/x86_64
"python-crypto" looks like it's also in EPEL. http://rpms.famillecollet.com/rpmphp/zoom.php?rpm=python-crypto Kris Lou klou at themusiclink.net On Tue, Dec 13, 2016 at 12:53 PM, Reindl Harald via samba < samba at lists.samba.org> wrote:> > > Am 13.12.2016 um 22:37 schrieb Metin Koç via samba: > >> I'm giving this error when i'm provisioning the new domain with redhat 7. >> >> By the way 3 of dependencies doesn't exist >> >> https://wiki.samba.org/index.php/Samba_Dependencies_Required >> _to_Build_Samba# >> Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux >> >> 1. No package perl-Parse-Yapp available. >> >> 2. No package perl-Test-Base available. >> >> 3. No package python-crypto available. >> > > dunno where "python-crypto" exists but "perl-Parse-Yapp" is in the CentOS > base-repos and "perl-Test-Base" in EPEL which is more or less mandatory if > you plan to do anything serious with your machine > > https://fedoraproject.org/wiki/EPEL > > Name : perl-Parse-Yapp > Arch : noarch > Version : 1.05 > Release : 50.el7 > Size : 48 k > Repo : base/7/x86_64 > > Name : perl-Test-Base > Arch : noarch > Version : 0.62 > Release : 1.el7 > Size : 51 k > Repo : epel/x86_64 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Hi there I'm giving this error when i'm provisioning the new domain with redhat 7. By the way 3 of dependencies doesn't exist https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build_Samba# Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux 1. No package perl-Parse-Yapp available. 2. No package perl-Test-Base available. 3. No package python-crypto available. Samba provision /usr/local/samba/bin/samba-tool domain provision --use-rfc2307 --interactive ... Setting up sam.ldb users and groups ERROR(ldb): uncaught exception - operations error at ../source4/dsdb/samdb/ldb_modules/password_hash.c:2816 File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 462, in run nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode) File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py" , line 2175, in provision skip_sysvolacl=skip_sysvolacl) File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py" , line 1787, in provision_fill next_rid=next_rid, dc_rid=dc_rid) File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py" , line 1447, in fill_samdb "KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le')) File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/common.py", line 55, in setup_add_ldif ldb.add_ldif(data, controls) File "/usr/local/samba/lib64/python2.7/site-packages/samba/__init__.py", line 225, in add_ldif Thx in advance Metin
this copy is trial but i can ask to red hat team anyway. I send to list just because if there is someone who has experienced before -----Original Message----- From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny via samba Sent: Tuesday, December 13, 2016 10:57 PM To: samba at lists.samba.org Subject: Re: [Samba] Redhat Dependencies On Tue, 13 Dec 2016 23:37:52 +0200 Metin Koç via samba <samba at lists.samba.org> wrote:> Hi there > > > > I'm giving this error when i'm provisioning the new domain with redhat > 7. > > > > By the way 3 of dependencies doesn't exist > > > > https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build_ > Samba# Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux > > 1. No package perl-Parse-Yapp available. > > 2. No package perl-Test-Base available. > > 3. No package python-crypto available. > >They all seem to be available, if you are using RHEL7 then obviously you must have a Red-Hat contract, so I would ask them. I think your problem is down to not having them, especially python-crypto. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
So add the depends yourself, and/or create packages for it. Have a look here, thats the hint i give. http://www.rpmfind.net/linux/rpm2html/search.php?query=yapp&submit=Search+...&system=&arch http://www.rpmfind.net/linux/rpm2html/search.php?query=test-base&submit=Search+...&system=&arch= http://www.rpmfind.net/linux/rpm2html/search.php?query=python-crypto&submit=Search+...&system=&arch= Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Metin Koç via > samba > Verzonden: woensdag 14 december 2016 11:22 > Aan: 'Rowland Penny'; samba at lists.samba.org > Onderwerp: Re: [Samba] Redhat Dependencies > > this copy is trial but i can ask to red hat team anyway. I send to list > just because if there is someone who has experienced before > > > -----Original Message----- > From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland > Penny via samba > Sent: Tuesday, December 13, 2016 10:57 PM > To: samba at lists.samba.org > Subject: Re: [Samba] Redhat Dependencies > > On Tue, 13 Dec 2016 23:37:52 +0200 > Metin Koç via samba <samba at lists.samba.org> wrote: > > > Hi there > > > > > > > > I'm giving this error when i'm provisioning the new domain with redhat > > 7. > > > > > > > > By the way 3 of dependencies doesn't exist > > > > > > > > https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build_ > > Samba# Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux > > > > 1. No package perl-Parse-Yapp available. > > > > 2. No package perl-Test-Base available. > > > > 3. No package python-crypto available. > > > > > > They all seem to be available, if you are using RHEL7 then obviously you > must have a Red-Hat contract, so I would ask them. I think your problem is > down to not having them, especially python-crypto. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On Tue, Dec 13, 2016 at 5:37 PM, Metin Koç via samba <samba at lists.samba.org> wrote:> Hi there > > > > I'm giving this error when i'm provisioning the new domain with redhat 7. > > > > By the way 3 of dependencies doesn't exist > > > > https://wiki.samba.org/index.php/Samba_Dependencies_ > Required_to_Build_Samba# > Red_Hat_Enterprise_Linux_.2F_CentOS_.2F_Scientific_Linux > > 1. No package perl-Parse-Yapp available. > > 2. No package perl-Test-Base available. > > 3. No package python-crypto available. > > > > > > Samba provision > > /usr/local/samba/bin/samba-tool domain provision --use-rfc2307 > --interactive > >For CentOS 7 I install these packages before building Samba 4.5.1 from source. # yum install chrony gcc perl python-devel gnutls-devel libacl-devel openldap-devel bind bind-utils krb5-workstation gpgme-devel python2-gnupg Dale
Am 15.12.2016 um 19:21 schrieb Dale Renton via samba:> For CentOS 7 I install these packages before building Samba 4.5.1 from > source > > # yum install chrony gcc perl python-devel gnutls-devel libacl-devel > openldap-devel bind bind-utils krb5-workstation gpgme-devel python2-gnupgbut you need https://fedoraproject.org/wiki/EPEL as virtually everybody out there because otherwise the packages from the OP are not available some guys may call me a troll, that won't change the fact that witout EPEL you are limited to what RHEL gives you and with EPEL you have no pint to ask your RHEL support contract about anything outside the distribution 1. No package perl-Parse-Yapp available. 2. No package perl-Test-Base available. 3. No package python-crypto available.