summaryrefslogtreecommitdiff
path: root/source3/rpc_server
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
commit2b6057ef1f9fbfb583a2f77e3b5d3aee2c115fe4 (patch)
tree1b4b9f7b9b8033a65297be63f8cbc0fd88d99b90 /source3/rpc_server
parent9264711576bff6b2c39be8a6aaad0024fbd4120f (diff)
downloadsamba-2b6057ef1f9fbfb583a2f77e3b5d3aee2c115fe4.tar.gz
samba-2b6057ef1f9fbfb583a2f77e3b5d3aee2c115fe4.tar.bz2
samba-2b6057ef1f9fbfb583a2f77e3b5d3aee2c115fe4.zip
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 (This used to be commit 066b163bde9419d32fe8ffe00c1841107357c138)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 8f6011826a..4478729e4d 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/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),