From bc5504ac6d27823f0ba7ac8f960f0f1f9a9878ff Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 6 Jun 2002 21:55:21 +0000 Subject: [PATCH] use global_myname and not domain for storing domain sid --- source/utils/smbpasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c index eac4e5d1849..527e2a38f68 100644 --- a/source/utils/smbpasswd.c +++ b/source/utils/smbpasswd.c @@ -675,7 +675,7 @@ static int set_domain_sid_from_dc( char *domain, char *remote ) } if (!fetch_domain_sid( domain, pdc_name, &domain_sid) - || !secrets_store_domain_sid(domain, &domain_sid)) + || !secrets_store_domain_sid(global_myname, &domain_sid)) { fprintf(stderr,"Failed to get domain SID for %s.\n",domain); return 1; -- 2.11.4.GIT