summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-11 15:32:20 +0100
committerGünther Deschner <gd@samba.org>2008-01-11 15:32:20 +0100
commitc79ce2ffa3f7d00ce6a2cd6008c203e3042b0b02 (patch)
tree6e69bdab3acadc4d064a78afd94e07fd0846e1f8 /source3/lib/netapi
parentefcf285e27e3f52cd6188f678d52977584c78972 (diff)
downloadsamba-c79ce2ffa3f7d00ce6a2cd6008c203e3042b0b02.tar.gz
samba-c79ce2ffa3f7d00ce6a2cd6008c203e3042b0b02.tar.bz2
samba-c79ce2ffa3f7d00ce6a2cd6008c203e3042b0b02.zip
As long as DsGetDcName is not part of libnetapi, lowercase the fn name.
Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/joindomain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index e4fb63eebb..b268e41a2a 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -49,7 +49,7 @@ static WERROR NetJoinDomainLocal(struct libnetapi_ctx *mem_ctx,
uint32_t flags = DS_DIRECTORY_SERVICE_REQUIRED |
DS_WRITABLE_REQUIRED |
DS_RETURN_DNS_NAME;
- status = DsGetDcName(mem_ctx, NULL, domain_name,
+ status = dsgetdcname(mem_ctx, NULL, domain_name,
NULL, NULL, flags, &info);
if (!NT_STATUS_IS_OK(status)) {
return ntstatus_to_werror(status);
@@ -244,7 +244,7 @@ static WERROR NetUnjoinDomainLocal(struct libnetapi_ctx *mem_ctx,
} else {
domain = lp_workgroup();
}
- status = DsGetDcName(mem_ctx, NULL, domain,
+ status = dsgetdcname(mem_ctx, NULL, domain,
NULL, NULL, flags, &info);
if (!NT_STATUS_IS_OK(status)) {
return ntstatus_to_werror(status);