Ok, what's this? Samba as a PDC wants to authenticate a user coming in
authorVolker Lendecke <vlendec@samba.org>
Mon, 23 Sep 2002 17:50:04 +0000 (17:50 +0000)
committerVolker Lendecke <vlendec@samba.org>
Mon, 23 Sep 2002 17:50:04 +0000 (17:50 +0000)
to a native NT member server. If the logoff time in the samlogon reply
is set to something else but infinity, the tree connect to the member
server comes back with 'bad uid'. In my traces, NT PDC sends
0x7fff.. always. Weird, but true.

I would really like others to double-check this. If you have questions
regarding the setup, feel free to ask!

Thanks!

Volker
(This used to be commit 066b163bde9419d32fe8ffe00c1841107357c138)

source3/rpc_server/srv_netlog_nt.c

index 8f6011826aa3cb3bd0b9477339beacc55d7d2482..4478729e4d96c95b43e6d1654a74e7947d493a32 100644 (file)
@@ -712,8 +712,8 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON *
                                    pdb_get_logon_script(sampw),
                                    pdb_get_profile_path(sampw),
                                    pdb_get_logon_time(sampw),
-                                   pdb_get_logoff_time(sampw),
-                                   pdb_get_kickoff_time(sampw),
+                                   get_time_t_max(),
+                                   get_time_t_max(),
                                    pdb_get_pass_last_set_time(sampw),
                                    pdb_get_pass_can_change_time(sampw),
                                    pdb_get_pass_must_change_time(sampw),