Lines Matching refs:adsShareName
862 * adsShareName: name of share object to be created in ADS
871 smb_ads_add_share(smb_ads_handle_t *ah, const char *adsShareName,
880 if ((share_dn = smb_ads_get_sharedn(adsShareName, adsContainer,
901 adsShareName, share_dn);
905 " AD: %s (%s).\n", adsShareName, share_dn,
925 * adsShareName: name of share object in ADS to be removed
932 smb_ads_del_share(smb_ads_handle_t *ah, const char *adsShareName,
938 if ((share_dn = smb_ads_get_sharedn(adsShareName, adsContainer,
1013 * adsShareName: name of share object in ADS to be searched
1021 smb_ads_lookup_share(smb_ads_handle_t *ah, const char *adsShareName,
1030 if (adsShareName == NULL || adsContainer == NULL)
1033 if ((share_dn = smb_ads_get_sharedn(adsShareName, adsContainer,
1083 * adsShareName: name of share to be added to ADS directory
1085 * as adsShareName
1095 smb_ads_publish_share(smb_ads_handle_t *ah, const char *adsShareName,
1101 if (adsShareName == NULL || adsContainer == NULL)
1105 shareUNC = adsShareName;
1111 ret = smb_ads_lookup_share(ah, adsShareName, adsContainer, unc_name);
1115 (void) smb_ads_del_share(ah, adsShareName, adsContainer);
1116 ret = smb_ads_add_share(ah, adsShareName, unc_name,
1121 ret = smb_ads_add_share(ah, adsShareName, unc_name,
1143 * adsShareName: name of share to be removed from ADS directory
1151 smb_ads_remove_share(smb_ads_handle_t *ah, const char *adsShareName,
1157 if (adsShareName == NULL || adsContainer == NULL)
1160 shareUNC = adsShareName;
1166 ret = smb_ads_lookup_share(ah, adsShareName, adsContainer, unc_name);
1172 return (smb_ads_del_share(ah, adsShareName, adsContainer));