Russ Allbery <[EMAIL PROTECTED]> writes: > Troy Benjegerdes <[EMAIL PROTECTED]> writes:
>> On the openafs side of things, I'd like to be able to have AFSid -> >> local UID mapping functions as well, so 'ls -l' in someone else's afs >> cell can return something intelligent, provided the local admin either >> has a mapping daemon running, or has pre-mapped specific remote users. > You can do this, but you have to patch libc to override the stat() > function and the like. Unix operating systems don't have any other > hooks available to fiddle with the UID. There isn't any way to do this > with PAM or nsswitch. On a second reading, if all you care about are the *names* that you get from something like "ls -l", you can solve that through nsswitch provided that there aren't any UID conflicts between local accounts and AFS. If you want the *numbers* to match your local UIDs, that's more what I was commenting on. (And you'll still have a problem if you have conflicts.) -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
