Roland Mainz writes:
> > It sounds like part of a decent RFE to me.
>
> Ouch... and how would the implementation look like ? The idea was to get
> simple access to the data independent of the backend nameservice
> details, e.g. a script should not need to implement support for YP,
> NIS+, LDAP etc
Roland Mainz wrote:
Darren J Moffat wrote:
Roland Mainz wrote:
Is there a nameservice-independent way to obtain the values for
"user_attr" and "publickey" from a shell script (if not I would propose
to add a extension to "getent") ?
publickey no there isn't.
For user_attr it depends which val
Darren J Moffat wrote:
> Roland Mainz wrote:
> > Is there a nameservice-independent way to obtain the values for
> > "user_attr" and "publickey" from a shell script (if not I would propose
> > to add a extension to "getent") ?
>
> publickey no there isn't.
>
> For user_attr it depends which value
James Carlson wrote:
> Peter C. Norton writes:
> > I think he wants to be able to add a flag, i.e. -nssvc nis, -nssvc
> > dns, -nssvc 'ldap', etc. to getent that will dlopen the appropriate
> > nss_blah library instead of following the lookup in nsswitch.conf so
> > that the lookup to a particular
Martin Bochnig wrote:
> Roland Mainz wrote:
[snip]
> "Normal" users with limited privileges may naturally have no - or
> limited - access.
> Didn't you find any help in the man pages for NIS, NIS+ and LDAP?
That was not the goal. The matching scripts should be able to operate
regardless how the ba
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
Peter C. Norton writes:
> I think he wants to be able to add a flag, i.e. -nssvc nis, -nssvc
> dns, -nssvc 'ldap', etc. to getent that will dlopen the appropriate
> nss_blah library instead of following the lookup in nsswitch.conf so
> that the lookup to a particular database can be scripted.
Bett
On Fri, Jan 05, 2007 at 12:25:30PM +0100, Martin Bochnig wrote:
> Martin Bochnig wrote:
> >Peter C. Norton wrote:
> >>On Fri, Jan 05, 2007 at 02:59:55AM +0100, Martin Bochnig wrote:
> >>>So how would you be able to bypass any nameservice defined in
> >>>nsswitch.conf, getting those "user_attr" attr
On Fri, Jan 05, 2007 at 02:59:55AM +0100, Martin Bochnig wrote:
> So how would you be able to bypass any nameservice defined in
> nsswitch.conf, getting those "user_attr" attributes in a
> "nameservice-independent way"?
> I mean, either you get it locally (files), or you may get it via one of
> the
Roland Mainz wrote:
Hi!
Is there a nameservice-independent way to obtain the values for
"user_attr" and "publickey" from a shell script (if not I would propose
to add a extension to "getent") ?
publickey no there isn't.
For user_attr it depends which values you want.
user_attr is a lit
Martin Bochnig wrote:
Maybe getuserattr() or getauthattr() ?
Plus getpublickey()
Or don't those work with "files" as NS ??
/etc/publickey works just fine with files.
--
Darren J Moffat
___
opensolaris-discuss mailing list
opensolaris-discuss@op
Martin Bochnig wrote:
>Peter C. Norton wrote:
>
>
>
>>On Fri, Jan 05, 2007 at 02:59:55AM +0100, Martin Bochnig wrote:
>>
>>
>>
>>
>>>So how would you be able to bypass any nameservice defined in
>>>nsswitch.conf, getting those "user_attr" attributes in a
>>>"nameservice-independent way"?
>>
Peter C. Norton wrote:
>On Fri, Jan 05, 2007 at 02:59:55AM +0100, Martin Bochnig wrote:
>
>
>>So how would you be able to bypass any nameservice defined in
>>nsswitch.conf, getting those "user_attr" attributes in a
>>"nameservice-independent way"?
>>I mean, either you get it locally (files), or
Roland Mainz wrote:
>No, because in the case that the matching entries in /etc/nsswitch.conf
>contain more than "files" you need nameservice-specific calls, one for
>YP, one for NIS, one for NIS+, one for LDAP etc. - and you would have to
>care about the lookup order and fallback behaviour if a na
Roland Mainz wrote:
>
>>Exclusively from a shell script, no C?
>>
>>
>
>Yes...
>
>
>
>>Can't you analyse the files in /etc directly then?
>>
>>
>
>No, because in the case that the matching entries in /etc/nsswitch.conf
>contain more than "files" you need nameservice-specific calls, one f
Martin Bochnig wrote:
> Martin Bochnig wrote:
> >Martin Bochnig wrote:
> >>>Maybe getuserattr() or getauthattr() ?
> >
> >Plus getpublickey()
> >
> >Or don't those work with "files" as NS ??
> >
> >*shrug*
>
> Exclusively from a shell script, no C?
Yes...
> Can't you analyse the files in /etc di
Martin Bochnig wrote:
>Martin Bochnig wrote:
>
>
>>>Maybe getuserattr() or getauthattr() ?
>>>
>>>
>>>
>>>
>
>Plus getpublickey()
>
>Or don't those work with "files" as NS ??
>
>*shrug*
>
Exclusively from a shell script, no C?
Can't you analyse the files in /etc directly then?
Which othe
Martin Bochnig wrote:
> Martin Bochnig wrote:
> >Roland Mainz wrote:
> >>Is there a nameservice-independent way to obtain the values for
> >>"user_attr" and "publickey" from a shell script (if not I would propose
> >>to add a extension to "getent") ?
> >
> >Maybe getuserattr() or getauthattr() ?
>
Martin Bochnig wrote:
>Roland Mainz wrote:
>
>
>
>>Hi!
>>
>>
>>
>>Is there a nameservice-independent way to obtain the values for
>>"user_attr" and "publickey" from a shell script (if not I would propose
>>to add a extension to "getent") ?
>>
>>
>>
>>
>
>Maybe getuserattr() or getauthat
Martin Bochnig wrote:
>Roland Mainz wrote:
>
>
>
>>Hi!
>>
>>
>>
>>Is there a nameservice-independent way to obtain the values for
>>"user_attr" and "publickey" from a shell script (if not I would propose
>>to add a extension to "getent") ?
>>
>>
>>
>>
>
>Maybe getuserattr() or getauthat
Roland Mainz wrote:
>Hi!
>
>
>
>Is there a nameservice-independent way to obtain the values for
>"user_attr" and "publickey" from a shell script (if not I would propose
>to add a extension to "getent") ?
>
>
Maybe getuserattr() or getauthattr() ?
nameservice-independence is probably done v
Hi!
Is there a nameservice-independent way to obtain the values for
"user_attr" and "publickey" from a shell script (if not I would propose
to add a extension to "getent") ?
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [EMAIL PROTECTED]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Uni
22 matches
Mail list logo