integrating custom NIS maps into LDAP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > integrating custom NIS maps into LDAP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    integrating custom NIS maps into LDAP  
Kevin Collins


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:10 PM

Hi,

does anyone have any experience with migrating NIS to LDAP where custom NIS
maps are in use? I am working on a project to migrate to LDAP from NIS and w
e
currently have 3 custom NIS maps I have implemented and we rely on heavily f
or
automation.

Do I need to define my own schema for this, or is there some simpler method
available?

Thanks for any advice, examples, web-sites, etc that you can provide.

Kevin





[ Post a follow-up to this message ]



    Re: integrating custom NIS maps into LDAP  
Jonathan Abbey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:10 PM

In article <slrncdm5cc.nq4.spamtotrash@doom.unix-guy.com>,
Kevin Collins <spamtotrash@toomuchfiction.com> wrote:
| Hi,
|
| 	does anyone have any experience with migrating NIS to LDAP where custom N
IS
| maps are in use? I am working on a project to migrate to LDAP from NIS and
 we
| currently have 3 custom NIS maps I have implemented and we rely on heavily
 for
| automation.
|
| Do I need to define my own schema for this, or is there some simpler metho
d
| available?

RFC 2307 is the definitive reference on supporting NIS-style data on
LDAP.  If you consult that RFC, you'll see that there is support for
an 'nisMap' object class, which can be used to represent any arbitrary
key/value mapping.

The trick isn't getting that data into LDAP, the trick is rewriting
whatever software you have that currently consults your custom NIS
maps so that it uses your unique nisMap entries in your LDAP.

Can you speak a bit about what it is that you are wanting to do?

| Thanks for any advice, examples, web-sites, etc that you can provide.
|
| Kevin

--
----------------------------------------------------------------------------
---
Jonathan Abbey 				              jonabbey@arlut.utexas.edu
Applied Research Laboratories                 The university of Texas at Aus
tin
GPG Key: 71767586 at keyserver pgp.mit.edu, [url]http://www.ganymeta.org/workkey.gpg[/u
rl]





[ Post a follow-up to this message ]



    Re: integrating custom NIS maps into LDAP  
Kevin Collins


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:10 PM

In article <cbg80b$2vm$1@ns3.arlut.utexas.edu>, Jonathan Abbey wrote:
> In article <slrncdm5cc.nq4.spamtotrash@doom.unix-guy.com>,
> Kevin Collins <spamtotrash@toomuchfiction.com> wrote:
>| Hi,
>|
>| 	does anyone have any experience with migrating NIS to LDAP where custom 
NIS
>| maps are in use? I am working on a project to migrate to LDAP from NIS an
d we
>| currently have 3 custom NIS maps I have implemented and we rely on heavil
y for
>| automation.
>|
>| Do I need to define my own schema for this, or is there some simpler meth
od
>| available?
>
> RFC 2307 is the definitive reference on supporting NIS-style data on
> LDAP.  If you consult that RFC, you'll see that there is support for
> an 'nisMap' object class, which can be used to represent any arbitrary
> key/value mapping.

Ok - I'll take a deeper look at the RFC...

> The trick isn't getting that data into LDAP, the trick is rewriting
> whatever software you have that currently consults your custom NIS
> maps so that it uses your unique nisMap entries in your LDAP.

This is not a problem, it is all ksh and/or PERL parsing the output, so
changing will be pretty strat forward.

> Can you speak a bit about what it is that you are wanting to do?

We are a large, highly automated SAP shop and (as one example) use a custom 
map
to track information relative to a specific SID: system number, SAP usage (R
/3,
BW, etc), type (prod/stage/devl), default client, Oracle home dir, etc.

Currently this is a colon-delimited list, so I can probably just use the nis
Map
you've already mentioned, but I was thinking it might be nice to have "named
"
elements (such as "sysNumber", "sapUsage", "supType", "defaultClient", etc),
which would simplify the work our scripts are doing in parsing the list.

Kevin





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:56 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register