Fixed a couple of bugs in displaying a UNIX permission as an NT
commit7f6707a07de2edf566349b91a108cab5f46af080
authorJeremy Allison <jra@samba.org>
Wed, 7 Apr 1999 20:00:37 +0000 (7 20:00 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 7 Apr 1999 20:00:37 +0000 (7 20:00 +0000)
tree75abfd07514ac7eaac5b3f42842ad0c64dfdfdcf
parent69b0f49d0c2f9db11ca1ec2a6ab94d0dd3e55560
Fixed a couple of bugs in displaying a UNIX permission as an NT
ACL. Firstly, UNIX groups should be returned as SID_NAME_ALIAS
not SID_NAME_DOM_GRP. Secondly I was mapping the group entry of
a UNIX permission to a user rid, not a group rid (that was just
dumb :-). Now the full permissions are seen correctly.
Jeremy.
source/passdb/passdb.c
source/smbd/nttrans.c