summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 15:35:21 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 15:35:21 +0200
commit44b728958ae9a48bb56591532e5db9867311c1b9 (patch)
tree291e18735b29c09e106c6916e92c26125654d68f /source3/utils
parent8a3bff343a21bc8b4c229bae5830db7462fea25f (diff)
downloadsamba-44b728958ae9a48bb56591532e5db9867311c1b9.tar.gz
samba-44b728958ae9a48bb56591532e5db9867311c1b9.tar.bz2
samba-44b728958ae9a48bb56591532e5db9867311c1b9.zip
Use common error definitions.
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 4b1aa54731..b03fefe14a 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1000,7 +1000,7 @@ static WERROR check_ads_config( void )
d_printf("Our netbios name can be at most 15 chars long, "
"\"%s\" is %u chars long\n", global_myname(),
(unsigned int)strlen(global_myname()));
- return WERR_INVALID_COMPUTER_NAME;
+ return WERR_INVALID_COMPUTERNAME;
}
if ( lp_security() == SEC_ADS && !*lp_realm()) {