mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
srvsvc: Use a symbolic constant where we have one
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
f387d9a352
commit
02ff6ab5e7
@ -301,7 +301,12 @@ static void init_srv_share_info_501(struct pipes_struct *p,
|
||||
r->name = net_name;
|
||||
r->type = get_share_type(snum);
|
||||
r->comment = remark ? remark : "";
|
||||
r->csc_policy = (lp_csc_policy(snum) << 4);
|
||||
|
||||
/*
|
||||
* According to [MS-SRVS] 2.2.4.25, the flags field is the same as in
|
||||
* level 1005.
|
||||
*/
|
||||
r->csc_policy = (lp_csc_policy(snum) << SHARE_1005_CSC_POLICY_SHIFT);
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user