[PATCH] fix RPC_ANONYMOUS_AUTH_TYPE in 3_0_26

Gerald (Jerry) Carter jerry at samba.org
Thu Jun 7 17:19:29 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Adam wrote:
> Hi list, Jerry,
> 
> this one gave me some headaches: I could not set
> rights with "net rpc rights grant ...".  Got
> NT_STATUS_ACCESS_DENIED. I found that in 
> the pipe_user.ut.uid was -1 in _lsa_add_acct_rights.
> 
> This lead me up to rpc_server/srv_pipe.c
> where I found that the copy_current_user call was
> missing (compared to 3_0) under RPC_ANONYMOUS_AUTH_TYPE
> in api_pipe_bind_req.
> 
> The attached patch fixes my issue. 
> 
> Volker asked me to present the patch to the list first,
> because this is critical code. 

Very nice catch.  I missed this in the merge from SAMBA_3_0
when dealing with the current_user changes in lsa and spoolss.
Thanks for spotting it.  Please commit to SAMBA_3_0_26.




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGaD4hIR7qMdg1EfYRAiciAJ9HOS6+nwrgTTe78Uah34bzkQODYgCfQWYY
SrPTYSTxoaoghMdsq8My1/M=
=mlZd
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list