Martin Bochnig wrote: > Martin Bochnig wrote: > >Peter C. Norton wrote: > >>On Fri, Jan 05, 2007 at 02:59:55AM +0100, Martin Bochnig wrote: [snip] > >>How does nisinit get names from dns even if your system is set to > >>resolve via NIS+? > > Maybe you mean, Roland would want to clone the methods in which > /usr/sbin/nisinit accesses those data? > But we are talking about C-functions then, not a pure shell script.
I was thinking about something like $ /usr/bin/getent user_attr username # to return the values of |getuserattr()| or $ /usr/bin/getent publickey username # to do the same for the "publickey" database, regardless how the backend looks like (e.g. files, nisplus, yp, LDAP etc.) etc., e.g. /usr/bin/getent should return the values which the matching library functions would return... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org