search for: ads_msgfree

Displaying 4 results from an estimated 4 matches for "ads_msgfree".

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
2018 May 01
1
cannot compile 4-8-stable or 4-8-test
...(ENUM_ADS_ERROR_LDAP, rc, 0) ^~ ../libgpo/pygpo.c:359:12: note: in expansion of macro ‘ADS_ERROR’ status = ADS_ERROR(LDAP_NO_SUCH_ATTRIBUTE); ^~~~~~~~~ ../libgpo/pygpo.c:376:2: warning: implicit declaration of function ‘ads_msgfree’ [-Wimplicit-function-declaration] ads_msgfree(ads, res); ^~~~~~~~~~~ Waf: Leaving directory `/usr/local/src/samba-master/bin' Build failed: -> task failed (err #1): {task: cc pygpo.c -> pygpo_4.o} make: *** [Makefile:8: all] Error 1 ==========================================...
2007 Jul 28
1
Error while contacting ADS from Samba server
...three possibilities to raise that error message, I am pasting the portion of code here, File name: libads/ldap.c Function name: ads_server_info Code snippet within this function: value = ads_pull_string(ads, ctx, res, "ldapServiceName"); if (!value) { ads_msgfree(ads, res); talloc_destroy(ctx); return ADS_ERROR(LDAP_NO_RESULTS_RETURNED); } timestr = ads_pull_string(ads, ctx, res, "currentTime"); if (!timestr) { ads_msgfree(ads, res); talloc_destroy(ctx)...
2007 Feb 12
3
Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
...ORY); + } + + if (!(mods = ads_init_mods(ctx))) + goto done; + + ads_mod_str(ctx, &mods, "operatingSystem", "Samba"); + ads_mod_str(ctx, &mods, "operatingSystemVersion", SAMBA_VERSION_OFFICIAL_STRING); + + status = ads_gen_mod(ads_s, new_dn, mods); + +done: + ads_msgfree(ads_s, res); + + return status; +} + +/******************************************************************* join a domain using ADS (LDAP mods) ********************************************************************/ @@ -1352,6 +1407,14 @@ DEBUG(1,("Error creating host keytab!\n"));...