search for: ads_error

Displaying 5 results from an estimated 5 matches for "ads_error".

2018 May 01
1
cannot compile 4-8-stable or 4-8-test
...s in In file included from ../source3/include/ads.h:9:0, from ../libgpo/gpo.h:23, from ../libgpo/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...
2007 Feb 12
3
Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
...*********************************************** + Set a machines operatingSystem and operatingSystemVersion attributes + ********************************************************************/ + +static ADS_STATUS net_set_machine_opsystem(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...
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
2007 Sep 18
0
ADS join / Name vs. IP
...9:29.000000000 +0200 @@ -427,7 +427,7 @@ /* Otherwise setup the TCP LDAP session */ - if ( (ads->ld = ldap_open_with_timeout(ads->config.ldap_server_name, + if ( (ads->ld = ldap_open_with_timeout(inet_ntoa(ads->ldap_ip), LDAP_PORT, lp_ldap_timeout())) == NULL ) { return ADS_ERROR(LDAP_OPERATIONS_ERROR); At least in 3.0.22 there was something similar. Is there a reason why the name is used? Regards, Christof Musik -- * bitbone AG Tel: +49(0)931-250993-0 * Martin-Luther-Strasse 5 a Fax: +49(0)931-250993-99 * D-97072 W?rzburg/Germany http://www.bitb...
2007 Jul 28
1
Error while contacting ADS from Samba server
...e, 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); return ADS_ERROR(LDAP_NO_RESULTS_RETURNED); }...