mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
Get rid of a const warning
Volker (This used to be commit ab1096d58e2447bc91370e0a7f913d9375658c4c)
This commit is contained in:
parent
52c1e60e68
commit
449b2e4267
@ -1929,7 +1929,7 @@ bin/net -Uadministrator%XXXXX ads search '(&(objectclass=crossref)(dnsroot=VNET3
|
|||||||
but you need to force the bind path to match the configurationNamingContext from the rootDSE
|
but you need to force the bind path to match the configurationNamingContext from the rootDSE
|
||||||
|
|
||||||
*/
|
*/
|
||||||
ADS_STATUS ads_workgroup_name(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, char **workgroup)
|
ADS_STATUS ads_workgroup_name(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const char **workgroup)
|
||||||
{
|
{
|
||||||
char *expr;
|
char *expr;
|
||||||
ADS_STATUS rc;
|
ADS_STATUS rc;
|
||||||
|
@ -209,7 +209,7 @@ static int net_ads_workgroup(int argc, const char **argv)
|
|||||||
{
|
{
|
||||||
ADS_STRUCT *ads;
|
ADS_STRUCT *ads;
|
||||||
TALLOC_CTX *ctx;
|
TALLOC_CTX *ctx;
|
||||||
char *workgroup;
|
const char *workgroup;
|
||||||
|
|
||||||
if (!(ads = ads_startup())) return -1;
|
if (!(ads = ads_startup())) return -1;
|
||||||
|
|
||||||
@ -656,7 +656,7 @@ int net_ads_join(int argc, const char **argv)
|
|||||||
char *ou_str;
|
char *ou_str;
|
||||||
uint32 sec_channel_type = SEC_CHAN_WKSTA;
|
uint32 sec_channel_type = SEC_CHAN_WKSTA;
|
||||||
uint32 account_type = UF_WORKSTATION_TRUST_ACCOUNT;
|
uint32 account_type = UF_WORKSTATION_TRUST_ACCOUNT;
|
||||||
char *short_domain_name = NULL;
|
const char *short_domain_name = NULL;
|
||||||
TALLOC_CTX *ctx = NULL;
|
TALLOC_CTX *ctx = NULL;
|
||||||
|
|
||||||
if (argc > 0) org_unit = argv[0];
|
if (argc > 0) org_unit = argv[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user