summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-08 11:24:35 +0200
committerGünther Deschner <gd@samba.org>2009-05-08 22:15:31 +0200
commitb7925cb3f219b0502bb7d5ffff2dbda7bb4c2bda (patch)
tree534999cbc086a3b497170101d25fb409a04a4b6e
parent67df4489e20f17c334544818227e905136b6f5aa (diff)
downloadsamba-b7925cb3f219b0502bb7d5ffff2dbda7bb4c2bda.tar.gz
samba-b7925cb3f219b0502bb7d5ffff2dbda7bb4c2bda.tar.bz2
samba-b7925cb3f219b0502bb7d5ffff2dbda7bb4c2bda.zip
s3-samr: more accurateness in _samr_SetDomainInfo().
Guenther
-rw-r--r--source3/rpc_server/srv_samr_nt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 33048fb320..0d87ad84ae 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -6113,18 +6113,18 @@ NTSTATUS _samr_SetDomainInfo(pipes_struct *p,
pdb_set_account_policy(AP_MAX_PASSWORD_AGE, (int)u_expire);
pdb_set_account_policy(AP_MIN_PASSWORD_AGE, (int)u_min_age);
break;
- case 0x02:
- break;
case 0x03:
u_logout=nt_time_to_unix_abs((NTTIME *)&r->in.info->info3.force_logoff_time);
pdb_set_account_policy(AP_TIME_TO_LOGOUT, (int)u_logout);
break;
- case 0x05:
+ case 0x04:
break;
case 0x06:
break;
case 0x07:
break;
+ case 0x09:
+ break;
case 0x0c:
u_lock_duration=nt_time_to_unix_abs((NTTIME *)&r->in.info->info12.lockout_duration);
if (u_lock_duration != -1)