summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 97a05686c3..07e554c4fb 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -725,6 +725,11 @@ static void usage(char *pname)
claim_connection(NULL,"",MAXSTATUS,True);
}
+ /* Attempt to migrate from an old 2.0.x machine account file. */
+ if (!migrate_from_old_password_file(global_myworkgroup)) {
+ DEBUG(0,("Failed to migrate from old MAC file.\n"));
+ }
+
if (!open_sockets(is_daemon,port))
exit(1);