summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-07-02 13:25:12 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-07-02 16:54:10 +0200
commitd70c1e41ec0afeab9112d6d2da3da03be91624bc (patch)
tree8daa7e452fddc30c55d138752b9b848bbd4d53fe
parent47748606dc903ab7b834eeaa337246764201af76 (diff)
downloadsamba-d70c1e41ec0afeab9112d6d2da3da03be91624bc.tar.gz
samba-d70c1e41ec0afeab9112d6d2da3da03be91624bc.tar.xz
samba-d70c1e41ec0afeab9112d6d2da3da03be91624bc.zip
s3-libnet: Improve error message.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Jul 2 16:54:10 CEST 2014 on sn-devel-104
-rw-r--r--source3/libnet/libnet_join.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 68884cd8a8..fe348d1b53 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -637,7 +637,9 @@ static ADS_STATUS libnet_join_post_processing_ads(TALLOC_CTX *mem_ctx,
status = libnet_join_set_machine_spn(mem_ctx, r);
if (!ADS_ERR_OK(status)) {
libnet_join_set_error_string(mem_ctx, r,
- "failed to set machine spn: %s",
+ "Failed to set machine spn: %s\n"
+ "Do you have sufficient permissions to create machine "
+ "accounts?",
ads_errstr(status));
return status;
}