On Tue, 02 Dec 2014 15:42:03 +0100 Anders Magnusson <[email protected]> wrote:
> Hm, no setresuid() call before. Actually nothing related to setting > uid. But using setuid() would prevent samba from changing users in > the same connection, won't it? No, it's still possible, but you have to manipulate the uids in certain ways to be able to do that. A couple of examples showing how to temporarily and permanently change your uid can be seen here: <http://stackoverflow.com/a/8499703>. I haven't looked at the samba code, but I assume what Marc was referencing is the correct behavior (probably more clearly done with setresuid), but is being avoided for some reason; so that's the part that needs to be figured out. -- Andrew Deason [email protected] _______________________________________________ OpenAFS-info mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-info
