[Samba] Samba 4.9 built against a system ldb fails due to LDAP_REFERRAL_SCHEME_OPAQUE

Andrew Bartlett abartlet at samba.org
Tue Jul 2 21:21:46 UTC 2019


On Tue, 2019-07-02 at 13:52 -0400, Vincent S. Cojot via samba wrote:
> Hi,
> 
> While trying to compile 4.9.10 on RHEL7.6, I got the following error:
> 
> [1845/4160] Compiling source4/dsdb/samdb/ldb_modules/update_keytab.c
> ../source4/dsdb/samdb/ldb_modules/partition.c: In function 
> 'partition_search':
> ../source4/dsdb/samdb/ldb_modules/partition.c:906:14: error: 
> 'LDAP_REFERRAL_SCHEME_OPAQUE' undeclared (first use in this function)
>           ldb, LDAP_REFERRAL_SCHEME_OPAQUE);
>                ^
> ../source4/dsdb/samdb/ldb_modules/partition.c:906:14: note: each 
> undeclared identifier is reported only once for each function it
> appears 
> in Waf: Leaving directory `/usr/src/redhat/BUILD/samba-4.9.10/bin'
> Build failed:  -> task failed (err #1):
>          {task: cc partition.c -> partition_55.o}
> make: *** [all] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.qsFu70 (%build)
>      Bad exit status from /var/tmp/rpm-tmp.qsFu70 (%build)
> 
> 4.9.8 & 4.9.9 compiled fine with the same setup/build system.
> 
> I'd open a BZ but I'm confused by 
> https://bugzilla.samba.org/createaccount-save.html

I've sent you an invite and reopened
https://bugzilla.samba.org/show_bug.cgi?id=12478

Andrew Bartlett

-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba mailing list