summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/smbpass.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c
index 45935db99e..351dfd438b 100644
--- a/source3/passdb/smbpass.c
+++ b/source3/passdb/smbpass.c
@@ -329,13 +329,6 @@ static struct smb_passwd *getsmbfilepwent(void *vp)
pw_buf.smb_nt_passwd = NULL;
pw_buf.smb_passwd = NULL;
pw_buf.acct_ctrl |= ACB_DISABLED;
-
-#if 0 /* JFM */
- /* commented to continue in the case of a trust account disabled */
- /* samr_create_user() is adding disabled accounts */
-
- return &pw_buf;
-#endif
}
if (linebuf_len < (PTR_DIFF(p, linebuf) + 33)) {