summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index aae59b32f6..f29a9ff570 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -875,13 +875,11 @@ BOOL pdb_generate_sam_sid(void)
}
/*
- * The file contains no data - we may need to generate our
- * own sid. Try the lp_domain_sid() first.
+ * The file contains no data - we need to generate our
+ * own sid.
*/
- if(*lp_domain_sid())
- fstrcpy( sid_string, lp_domain_sid());
- else {
+ {
/*
* Generate the new sid data & turn it into a string.
*/