mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
3dd78d2d40
The sdread test just added shows that a client can open with READ_ATTRIBUTES and still issue a query security descriptor. smbd passed that test as it read the on-disk sd, but then threw the information away and returned the NULL sd the client expects. Make sure that we don't try and read the on-disk sd if the client doesn't request any bits. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>