diff options
author | Jeremy Allison <jra@samba.org> | 2002-01-09 21:32:29 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-01-09 21:32:29 +0000 |
commit | 2d0d30591b3e247ebca75968782d95eac05cf32f (patch) | |
tree | 1200c715765f85a5ef400d11f26429284ca50f53 /source/rpc_server/srv_netlog_nt.c | |
parent | dfb16c429dff59c5a7695a47348f5435dd14f6fa (diff) | |
download | samba-2d0d30591b3e247ebca75968782d95eac05cf32f.tar.gz samba-2d0d30591b3e247ebca75968782d95eac05cf32f.tar.xz samba-2d0d30591b3e247ebca75968782d95eac05cf32f.zip |
Added tests for st_blocks in struct stat, and added a (hateful) constant
the specifies the units that st_blocks is in. The reason for this is
that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm)
uses 512 byte units.
Needed for the CIFS UNIX extensions - coming to a Samba server near
you soon.... :-).
Jeremy.
Diffstat (limited to 'source/rpc_server/srv_netlog_nt.c')
-rw-r--r-- | source/rpc_server/srv_netlog_nt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c index dc40a2a89bc..baec307b888 100644 --- a/source/rpc_server/srv_netlog_nt.c +++ b/source/rpc_server/srv_netlog_nt.c @@ -81,11 +81,11 @@ NTSTATUS _net_logon_ctrl(pipes_struct *p, NET_Q_LOGON_CTRL *q_u, NTSTATUS _net_logon_ctrl2(pipes_struct *p, NET_Q_LOGON_CTRL2 *q_u, NET_R_LOGON_CTRL2 *r_u) { - uint32 flags = 0x0; - uint32 pdc_connection_status = 0x0; - uint32 logon_attempts = 0x0; - uint32 tc_status = ERROR_NO_LOGON_SERVERS; - char *trusted_domain = "test_domain"; + uint32 flags = 0x0; + uint32 pdc_connection_status = 0x0; + uint32 logon_attempts = 0x0; + uint32 tc_status = ERROR_NO_LOGON_SERVERS; + char *trusted_domain = "test_domain"; DEBUG(0, ("*** net long ctrl2 %d, %d, %d\n", q_u->function_code, q_u->query_level, q_u->switch_value)); |