summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-21 06:21:26 +0000
committerTim Potter <tpot@samba.org>2000-12-21 06:21:26 +0000
commitca727bd638934f0ab581507809d0f294495aaef2 (patch)
treea3eeb0f87a4defbaf7b5e09e847b32d02dae58fb /examples
parent855bcea38e1c6264dced36c85fa949210f9c37a4 (diff)
downloadsamba-ca727bd638934f0ab581507809d0f294495aaef2.tar.gz
samba-ca727bd638934f0ab581507809d0f294495aaef2.tar.bz2
samba-ca727bd638934f0ab581507809d0f294495aaef2.zip
Don't call string_to_sid after cli_lsa_lookup_names() fails.
Can't use space as a ACL separator as it breaks NT user/group names that contain spaces (i.e most of the default ones). The MSDN is contradictory over the exact ordering of ACE entries in an ACL. However NT4 gives a "The information may have been modified by a computer running Windows NT 5.0" if denied ACEs do not appear before allowed ACEs. Sort ACE list before calling cli_set_secdesc(). (This used to be commit 01a89978ff4b9fcc813c4f251ddfe23c0485a696)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions