Store the type of 'sec channel' that we establish to the DC. If we are a
[jra/samba/.git] / source3 / smbd / process.c
index de1bea493fa484419146364e98bb20eb32e59683..54fd4a90d99d4a967b05bbbd0a19790fbb981c57 100644 (file)
@@ -1179,9 +1179,11 @@ machine %s in domain %s.\n", global_myname(), lp_workgroup() ));
       return True;
     }
 
-    if(!secrets_fetch_trust_account_password(lp_workgroup(), trust_passwd_hash, &lct)) {
+    if(!secrets_fetch_trust_account_password(lp_workgroup(), 
+                                            trust_passwd_hash, 
+                                            &lct, NULL)) {
       DEBUG(0,("process: unable to read the machine account password for \
-machine %s in domain %s.\n", global_myname(), lp_workgroup() ));
+machine %s in domain %s.\n", global_myname(), lp_workgroup()));
       secrets_lock_trust_account_password(lp_workgroup(), False);
       return True;
     }