jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.
authorLuke Leighton <lkcl@samba.org>
Thu, 3 Dec 1998 17:34:05 +0000 (17:34 +0000)
committerLuke Leighton <lkcl@samba.org>
Thu, 3 Dec 1998 17:34:05 +0000 (17:34 +0000)
source/lib/sids.c

index 9b11f4dea1ab32a645642abf56af81dd82cee745..de0eb40d9f8eabcd0f46d9cffdfedc578284e3fb 100644 (file)
@@ -326,7 +326,7 @@ BOOL generate_sam_sid(char *domain_name)
     
        if (file_exist(machine_sid_file, NULL))
        {
-               if (file_exist(machine_sid_file, NULL))
+               if (file_exist(sid_file, NULL))
                {
                        DEBUG(0,("both %s and %s exist when only one should, unable to continue\n",
                                  machine_sid_file, sid_file));