From b0ffabdcca53507a99ce8f00fccf2d4cac78fd6d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 7 Jun 2002 14:33:33 +0000 Subject: Globally replace 'global_sam_sid' with get_global_sam_sid(), a self initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett (This used to be commit 96afea638e15d4cbadc57023a511094a770c6adc) --- source3/utils/smbgroupedit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/smbgroupedit.c b/source3/utils/smbgroupedit.c index 04d46f4559..3fdc07c2d5 100644 --- a/source3/utils/smbgroupedit.c +++ b/source3/utils/smbgroupedit.c @@ -23,7 +23,6 @@ extern pstring global_myname; extern pstring global_myworkgroup; -extern DOM_SID global_sam_sid; /* * Next two lines needed for SunOS and don't @@ -306,7 +305,7 @@ int main (int argc, char **argv) exit(1); } - if(pdb_generate_sam_sid()==False) { + if(get_global_sam_sid()==False) { fprintf(stderr, "Can not read machine SID\n"); return 0; } -- cgit