summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-03 17:34:05 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-03 17:34:05 +0000
commit81be1e60764d380adf47737552659854d94ca626 (patch)
tree888b50fad39afc1e35968a4297f054db32dd2245 /source/lib
parent13a656b0e5c73e157b222765fb57a1bdafc67b80 (diff)
downloadsamba-81be1e60764d380adf47737552659854d94ca626.tar.gz
samba-81be1e60764d380adf47737552659854d94ca626.tar.xz
samba-81be1e60764d380adf47737552659854d94ca626.zip
jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/sids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/sids.c b/source/lib/sids.c
index 9b11f4dea1a..de0eb40d9f8 100644
--- a/source/lib/sids.c
+++ b/source/lib/sids.c
@@ -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));