Using Oracle to mirror NIS maps & vice-versa

Using Oracle to mirror NIS maps & vice-versa

Post by John J. Sasso J » Sun, 14 Aug 1994 23:54:11

   Has anyone ever used Oracle to "mirror" NIS maps, as well
as conversely?  I work at a company as UNIX programmer and systems
administrator in my group and we manage close to a thousand
workstations (Suns, SGIs, Solbournes) and a few dozen servers.
We also have 2 servers implemented as NIS masters (hence, two
different domains).  We would like to implement Oracle in
such a way that the database has tables which essentially
mirror the NIS maps (one table per map, say?).  The scheme is that
Whenever a change to a map occurs (via /var/yp/make map_name) the
corresponding table in Oracle gets changed as well.  A more
difficult scheme would be to do the reverse (update the database
table and the corresponding NIS map would automatically be
updated), but my main concern is getting the former implemented
   Has anyone ever done this before?  How feasible is it?  What
should I be concerned with in such a scheme?  BTW, we also plan
to create tables which do not have corresp. NIS maps but will
be used to hold other useful info.  The purpose for thsi whole
scheme is to enable users and administrators to tap into the
Oracle database as a global source of information on our workstations
(as well as PCs ... soon), as well as users of thos workstations,
instead of relying on several different sources for the information
(e.g. WingZ spreadsheets, FrameMaker documents, files out in UNIX,
as well as NIS maps).  One could easily tap into the database via
shell scripts or a variety of programming languages.

    Any opinions or help on this matter is greatly appreciated!



1. How to map a bad block number to a file & vice versa

My security report is giving me a block number.
How can I find out what file is stored there?
Is there a better way than to cp -R / /dev/null
and see which file craps out?

Also, is there a way that I can create a file
and force it to occupy one block (512 bytes?)
and specifically, that particular block?

Anybody here remember UCSD Pascal?  Back in the
8" floppy days, we just wrote a file BADSPOT.BAD
to cover the bad block and went on.  At this point,
it is the only bad block I see, the system is rela-
tively static as far as configuration changes or
accumulated data, and I'm backing up weekly, so I'm
willing to write a badspot file over that spot and
live with it.

Thanks in advance.

2. IDE Autochanger CD's, Any drivers

3. SOS: C Routines for ASCII to EBCDIC Conversion and Vice-versa

4. 2.5.49-mm1 paging request error -> kernel panic

5. VMware: Windows on Linux or vice-versa?

6. wu-ftp on AIX 4.3.2

7. How to quickly take an Ultra-1 off the net to be standalone and vice-versa???

8. Linux and ISS

9. how to backup files from solaris 8 to linux rh 6.0 or vice-versa at SOHO.

10. Lowercase -> Uppercase and vice-versa

11. converting netscape bookmarks to kfm and vice-versa

12. mounting one partition to two directories and vice-versa

13. "gd" gif library doesn't like the Apache server (or vice-versa)