mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
6c1ff59099
This patch should not alter functionality. It is just updating the Samba code to better match the Windows specification docs. When fixing Samba BUG #13434, the Microsoft behaviour wasn't clearly documented, so we made a best guess based on observed behaviour. The problem was an exception was made to allow "objectClass=*" searches to return objects, even if you didn't have Read Property rights for the object's objectClass attribute. However, the logic behind what attributes were and weren't covered by this exception wasn't clear. I made a guess that it was attributes belonging to the Public Info property-set that also have the systemOnly flag set. Microsoft have confirmed the object visibility behaviour. It turns out that an optimization is made for the 4 attributes that are always present for every object (i.e. objectClass, distinguishedName, name, objectGUID). They're updating their Docs to reflect this. Now that we know the Windows logic, we can update the Samba code. This simplifies the code somewhat. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
auth | ||
build/pasn1 | ||
cldap_server | ||
client | ||
cluster | ||
dns_server | ||
dsdb | ||
echo_server | ||
heimdal | ||
heimdal_build | ||
include | ||
kdc | ||
ldap_server | ||
lib | ||
libcli | ||
libnet | ||
librpc | ||
nbt_server | ||
ntp_signd | ||
ntvfs | ||
param | ||
rpc_server | ||
script | ||
scripting | ||
selftest | ||
setup | ||
smb_server | ||
smbd | ||
torture | ||
utils | ||
web_server | ||
winbind | ||
wrepl_server | ||
.clang_complete | ||
.valgrind_suppressions | ||
wscript_build |