| Have you given consideration to systems where the user/group
database is
| kept for (possibly a large) number of computers in a centralised
manner by
| say hesiod or nys (nis+). It would be nice if there was an easy
interface
| with these so that distributing the local system id numbers need not be
| done by hand.
It's complicated. We do have a distributed database (NetInfo) and
we considered perhaps using the name of the NetInfo domain to
determine local vs. foreign. The problem is that distributed
databases are sometimes hierarchical, and can be mixed. For example:
Host H1 is in NetInfo domain N1 and has local users U1 and U2 (eg.
they are in the local host's domain or in /etc/passwd on the local
host).
Host H2 is also in N1, but doesn't have local user U1 but it has a
local user U2, though it's a different person's UID.
NetInfo domains can be tiered, and so you might shared some, but
not all, of the NetInfo users. Also, our resolver can use multiple
sources, such as NetInfo and Hesiod and NIS.
This makes keeping track of what IDs might be shared between any
two machines a hard problem.
-Fred
--
Wilfredo Sanchez, [EMAIL PROTECTED]
Apple Computer, Inc., Core Operating Systems / BSD
Technical Lead, Darwin Project
1 Infinite Loop, 302-4K, Cupertino, CA 95014
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message