search for: ldap_no_memory

Displaying 7 results from an estimated 7 matches for "ldap_no_memory".

2011 Jan 13
1
Error compiling Samba 3.5.5 on HP-UX 11.11
I've run into an error when trying to compile libnet/libnet_join.c: cc: "libnet/libnet_join.c", line 111: error 1588: "LDAP_NO_MEMORY" undefined. cc: "libnet/libnet_join.c", line 111: warning 563: Argument #2 is not the correct type. The source below is what triggers it (line 111 is marked): static ADS_STATUS libnet_connect_ads(const char *dns_domain_name, const char *netbios...
2006 Oct 12
1
install failing on bsd
...AMBA_BUILD_ LIBS = -lcrypt -liconv LDSHFLAGS = -shared -L/usr/local/lib LDFLAGS = -L/usr/local/lib PIE_CFLAGS = -fPIE PIE_LDFLAGS = -pie Compiling sam/idmap_ad.c with -fPIC -DPIC sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping': sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this function) sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only once sam/idmap_ad.c:62: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source. *** Error code 1 Stop in /usr/ports/net/s...
2018 May 01
1
cannot compile 4-8-stable or 4-8-test
...ning: assignment makes pointer from integer without a cast [-Wint-conversion] dn = ads_get_dn(ads, talloc_tos(), res); ^ In file included from ../source3/include/ads.h:9:0, from ../libgpo/gpo.h:23, from ../libgpo/pygpo.c:23: ../libgpo/pygpo.c:354:22: error: ‘LDAP_NO_MEMORY’ undeclared (first use in this function); did you mean ‘EAI_MEMORY’? status = ADS_ERROR(LDAP_NO_MEMORY); ^ ../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)...
2007 Feb 12
3
Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
...TALLOC_CTX *ctx, ADS_STRUCT *ads_s ) +{ + ADS_STATUS status = ADS_ERROR(LDAP_SERVER_DOWN); + char *new_dn; + ADS_MODLIST mods; + char *psp; + LDAPMessage *res = NULL; + char *dn_string = NULL; + const char *machine_name = global_myname(); + int count; + + if ( !machine_name ) { + return ADS_ERROR(LDAP_NO_MEMORY); + } + + /* Find our DN */ + + status = ads_find_machine_acct(ads_s, (void **)(void *)&res, machine_name); + if (!ADS_ERR_OK(status)) + return status; + + if ( (count = ads_count_replies(ads_s, res)) != 1 ) { + DEBUG(1,("net_set_machine_opsystem: %d entries returned!\n", count)); +...
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers. I just upgraded to samba-3.0.23 and I've noticed an alarming issue with respect to my configuration. I've been using the built-in keytab management and it looks like the updated code no longer creates the userPrincipal in Active Directory. Whether this is an issue for others or not, it would be nice to have
2008 May 23
0
installing Samba3 on FreeBSD 6.2
...A_BUILD_ LIBS = -lcrypt -liconv LDSHFLAGS = -shared -L/usr/local/lib LDFLAGS = -L/usr/local/lib PIE_CFLAGS = -fPIE PIE_LDFLAGS = -pie Compiling sam/idmap_ad.c with -fPIC -DPIC sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping': sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this function) sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only once sam/idmap_ad.c:62: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source. _________________________________________...
2003 Mar 17
2
Samba 2.2.8 compile failure - Solaris 8, SunCC, LDAP
My apologies if this isn't the correct posting address -- I didn't see an obvious "report problems here" on the website. Some of the code modifications introduced between 2.2.7 and 2.2.8 don't appear to agree with Solaris, using Sun's CC, with the LDAP support code. Note that I'm linking against the Solaris-bundled LDAP package (SUNWlldap). |% env