r22978: Don't use current_user to prep the security ctx in change_to_user
authorGerald Carter <jerry@samba.org>
Thu, 17 May 2007 22:27:42 +0000 (22:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:12 +0000 (12:22 -0500)
commit63cb25bad19d9600399a6ee2221497d71e805320
tree80537eaee81aca20d4585077edc669743fd78490
parent51aac0fcb4528df790aa3ae078f9ef639cc01363
r22978: Don't use current_user to prep the security ctx in change_to_user
since any SID/uid/gid translation calls will reset the struct when
popping the security ctx.  This should fix the standalone server
configuration issues reported by David Rankin (thanks for the logs).
source/smbd/uid.c