this fixes the problem of not being able to add a SD to a file on a
authorAndrew Tridgell <tridge@samba.org>
Thu, 31 Jan 2002 09:37:26 +0000 (09:37 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 31 Jan 2002 09:37:26 +0000 (09:37 +0000)
commitb48750fba603f9e04b08e346744bcc9c6a49a1af
treea7d5bb9c5da83d629e5bc9a582860b9876577973
parent3e5fe964f9a74f1b28dbefd43c8e1b19f1e709bd
this fixes the problem of not being able to add a SD to a file on a
non-domain Samba server from a NT4 client.

Note that this exactly reverses a change by Jeremy on the 18th of
December 2001, reverting the code back to what JF originally wrote. I
have looked carefully with a sniffer and JFs original NULL sid is
correct (ie. it matches what NT4 does) and also fixes the problem.

Sending a blank sid (which is what jeremy's patch did) causes NT4 to
give a classic "parameter is incorrect error" and prevents the
addition of new ACLs.
(This used to be commit 9930cf97330dd93985c5558cec6b24406e90c228)
source3/lib/util_sid.c
source3/rpc_server/srv_lsa_nt.c