Displaying 2 results from an estimated 2 matches for "ads_error_ldap".
2018 May 01
1
cannot compile 4-8-stable or 4-8-test
...o/pygpo.c:23:
../libgpo/pygpo.c:348:22: error: ‘LDAP_NO_RESULTS_RETURNED’ undeclared
(first use in this function); did you mean
‘WERR_DS_NO_RESULTS_RETURNED’?
status = ADS_ERROR(LDAP_NO_RESULTS_RETURNED);
^
../source3/libads/ads_status.h:43:65: note: in definition of macro
‘ADS_ERROR_LDAP’
#define ADS_ERROR_LDAP(rc) ads_build_error(ENUM_ADS_ERROR_LDAP, rc, 0)
^~
../libgpo/pygpo.c:348:12: note: in expansion of macro ‘ADS_ERROR’
status = ADS_ERROR(LDAP_NO_RESULTS_RETURNED);
^~~~~~~~~
../libgpo/pygpo.c:352...
2011 Jan 13
1
Error compiling Samba 3.5.5 on HP-UX 11.11
...STRUCT **ads)
{
#define TLDAP_NO_MEMORY (0x5a)
ADS_STATUS status;
ADS_STRUCT *my_ads = NULL;
my_ads = ads_init(dns_domain_name,
netbios_domain_name,
dc_name);
if (!my_ads) {
-----> Line 111 return ADS_ERROR_LDAP(LDAP_NO_MEMORY);
}
Digging through the include files, I have not found a definition of
LDAP_NO_MEMORY. However, I have found references to TLDAP_NO_MEMORY in
tldap.h....
I'm puzzled - which is it supposed to be ?
Stan