summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-09-23 17:50:04 +0000
committerVolker Lendecke <vlendec@samba.org>2002-09-23 17:50:04 +0000
commit066b163bde9419d32fe8ffe00c1841107357c138 (patch)
treecca65dc12bd552f4da3362e529949a53e639af5e
parentb53547bf663ed1714326f9b0e74215e012e728af (diff)
downloadsamba-066b163bde9419d32fe8ffe00c1841107357c138.tar.gz
Ok, what's this? Samba as a PDC wants to authenticate a user coming in
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
-rw-r--r--source/rpc_server/srv_netlog_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c
index 8f6011826aa..4478729e4d9 100644
--- a/source/rpc_server/srv_netlog_nt.c
+++ b/source/rpc_server/srv_netlog_nt.c
@@ -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),