search for: ads_mod_str

Displaying 1 result from an estimated 1 matches for "ads_mod_str".

2007 Feb 12
3
Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
...ffer a patch to utils/net_ads.c to do similar way - set up operatingSystem to "Samba" and operatingSystemVersion to Samba version, when Samba joins AD --- net_ads.c start here --- --- /tmp/net_ads.c Tue Nov 14 20:42:14 2006 +++ net_ads.c Wed Jan 3 19:44:05 2007 @@ -997,7 +997,6 @@ ads_mod_str(ctx, &mods, "dNSHostName", my_fqdn); ads_mod_strlist(ctx, &mods, "servicePrincipalName", servicePrincipalName); - status = ads_gen_mod(ads_s, new_dn, mods); done: @@ -1065,6 +1064,62 @@ } /******************************************************************* + S...