*/
#define PRINTCAP_NAME "/etc/printcap"
+/* this affects server level security. With this set (recommended)
+ samba will do a full NetWkstaUserLogon to confirm that the client
+ really should have login rights. This can cause problems with
+ machines in trust relationships in which case you can disable it
+ here, but be warned, we have heard that some NT machines will then
+ allow anyone in with any password! Make sure you test it. */
+#ifndef USE_NETWKSTAUSERLOGON
+#define USE_NETWKSTAUSERLOGON 1
+#endif
+
/* define what facility to use for syslog */
#ifndef SYSLOG_FACILITY
#define SYSLOG_FACILITY LOG_DAEMON
}
+#if USE_NETWKSTAUSERLOGON
if (!cli_NetWkstaUserLogon(&cli,user,local_machine)) {
DEBUG(1,("password server %s failed NetWkstaUserLogon\n", cli.desthost));
cli_tdis(&cli);
cli_tdis(&cli);
return False;
}
+#endif
DEBUG(3,("password server %s accepted the password\n", cli.desthost));