Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
commitdfa1d2b5cea954a36fe1c9d323db76e51d35f376
authorJeremy Allison <jra@samba.org>
Wed, 15 Apr 2009 22:40:00 +0000 (15 15:40 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Apr 2009 07:10:59 +0000 (28 09:10 +0200)
treea24759ac1a0b2a392db63469e1f94d24b060ef18
parent1bc31651748bb785d08f8d92df4d8439e42f383f
Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
What a difference a name makes... :-). Just because something is missnamed
SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN,
don't automatically use it for a security check in _samr_OpenDomain().
Jeremy.
(cherry picked from commit 1994a8a5db5c3abd6292b81aa975e7b8fe8311d0)
librpc/gen_ndr/ndr_samr.c
librpc/gen_ndr/samr.h
librpc/idl/samr.idl
source3/lib/netapi/group.c
source3/lib/netapi/localgroup.c
source3/lib/netapi/user.c
source3/libnet/libnet_join.c
source3/rpc_server/srv_samr_nt.c
source3/smbd/lanman.c
source3/utils/net_rpc.c
source3/utils/net_rpc_join.c