Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NIS/C2, and Digital's abdication of responsibilty
@ 1996-04-02  5:00 Saul Tannenbaum
  1996-04-03  5:00 ` Paul David Fardy
  0 siblings, 1 reply; 8+ messages in thread
From: Saul Tannenbaum @ 1996-04-02  5:00 UTC (permalink / raw)


>                                DIGITAL

>  Software
>  Product
>  Description

>  ___________________________________________________________________

>  PRODUCT NAME:  Digital UNIX[R] Operating System,       SPD 41.61.13
>                 Version 4.0 (Digital UNIX V3.2D appended)

[...]

>  SECURITY

>  Network Information Service (NIS) Compatibility

>  Support is provided for accessing NIS distributed databases while run-
>  ning Enhanced Security. NIS can also be used to distribute the Enhanced
>  Security protected password database. When using NIS, no more than 4000
>  user accounts are supported by the Enhanced Security subset. The num-
>  ber of simultaneous logins allowed is dependent on the configuration.

As someone who has been struggling to make this work in my environment,
I find the above paragraph in the 4.0 SPD the single most enraging
statement I've ever read from Digital. 

I assume that this isn't a new restriction, that they didn't actually
break NIS/C2 for large systems in 4.0, just that they discovered,
like us, that it plain didn't work, and rather than fix the software,
they just write the feature out of the SPD.

When we had serious problems with Digital Unix 3.0, we were assured that
Digital took the "University" environment, an environment with many,
many users, potentially distributed across machines, seriously, and
that we should look forward to Digital's addressing all the problems
were were having.

I now know exactly how much to trust Digital's word. Thanks for
the clarification.

	- Saul
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-02  5:00 NIS/C2, and Digital's abdication of responsibilty Saul Tannenbaum
@ 1996-04-03  5:00 ` Paul David Fardy
  1996-04-05  5:00   ` Saul Tannenbaum
  0 siblings, 1 reply; 8+ messages in thread
From: Paul David Fardy @ 1996-04-03  5:00 UTC (permalink / raw)


stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:
>>  PRODUCT NAME:  Digital UNIX[R] Operating System,       SPD 41.61.13
>>                 Version 4.0 (Digital UNIX V3.2D appended)

>>  SECURITY

>>  Network Information Service (NIS) Compatibility

>>  Support is provided for accessing NIS distributed databases while run-
>>  ning Enhanced Security. NIS can also be used to distribute the Enhanced
>>  Security protected password database. When using NIS, no more than 4000
>>  user accounts are supported by the Enhanced Security subset. The num-
>>  ber of simultaneous logins allowed is dependent on the configuration.

>As someone who has been struggling to make this work in my environment,
>I find the above paragraph in the 4.0 SPD the single most enraging
>statement I've ever read from Digital. 

>I assume that this isn't a new restriction, that they didn't actually
>break NIS/C2 for large systems in 4.0, just that they discovered,
>like us, that it plain didn't work, and rather than fix the software,
>they just write the feature out of the SPD.

>When we had serious problems with Digital Unix 3.0, we were assured that
>Digital took the "University" environment, an environment with many,
>many users, potentially distributed across machines, seriously, and
>that we should look forward to Digital's addressing all the problems
>were were having.

Actually, I'd consider it a major feat if someone actually got NIS
to work.  I've seen many who've tried and failed, many who've
accepted significant limitations in order to get it to work, and
many who haven't got it working but are still forced to have some
part of NIS running in order for DNS services to work.

It's difficult to fault DEC because someone else's code is difficult
to support.

Paul Fardy
-- 
Paul David Fardy                      |  pdf@morgan.ucs.mun.ca
Computing and Communications          |  pdf@InfoNET.st-johns.nf.ca
Memorial University of Newfoundland   |
St. John's, NF  A1C 5S7               |



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-03  5:00 ` Paul David Fardy
@ 1996-04-05  5:00   ` Saul Tannenbaum
  1996-04-09  4:00     ` Paul David Fardy
  0 siblings, 1 reply; 8+ messages in thread
From: Saul Tannenbaum @ 1996-04-05  5:00 UTC (permalink / raw)


> Actually, I'd consider it a major feat if someone actually got NIS
> to work.  I've seen many who've tried and failed, many who've
> accepted significant limitations in order to get it to work, and
> many who haven't got it working but are still forced to have some
> part of NIS running in order for DNS services to work.

> It's difficult to fault DEC because someone else's code is difficult
> to support.

I beg to differ.

We have had numerous conversations with Digital about these issues.
Up until a few weeks ago, Digital was asking for voluminous
configuration and debugging information to attempt to get NIS
and C2 to work in our environment.

If we had been slightly less savvy, we would have wasted vast amounts
of time providing it. Instead, we asked them to provide a single
reference site that had this stuff working in a similar environment.
We're still waiting.

If Digital could not get this working, that's fine. But then, they
should not have said it worked, or should have listed the constraints
somewhere. They did not. It would appear that they shipped this software
without testing in a certain environments. Again, I can't expect them
to test everything everywhere, but we did have specific discussions
about NIS/C2 in the "university" environment, without a single hint
that they were going to withdraw support.

_That_ I blame Digital for.

	- Saul
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-05  5:00   ` Saul Tannenbaum
@ 1996-04-09  4:00     ` Paul David Fardy
  1996-04-10  4:00       ` PAUL D. CHAPIN
  0 siblings, 1 reply; 8+ messages in thread
From: Paul David Fardy @ 1996-04-09  4:00 UTC (permalink / raw)


Earlier I wrote:
> It's difficult to fault DEC because someone else's code is difficult
> to support.

stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:
>If Digital could not get this working, that's fine. But then, they
>should not have said it worked, or should have listed the constraints
>somewhere. They did not. It would appear that they shipped this software
>without testing in a certain environments. Again, I can't expect them
>to test everything everywhere, but we did have specific discussions
>about NIS/C2 in the "university" environment, without a single hint
>that they were going to withdraw support.

>_That_ I blame Digital for.

Agreed.  But that's a different story.  The original post showed an
apparently official disclaimer about the software.  What _does_ the
original documentation say about support of large user bases?
Does anyone know what large installations are beta-testing Digital
UNIX?

For our part, we did try to use NIS to distribute the password file.
Initially, our mail server exported the /usr/spool/mail and didn't need
authentication on the server itself.  But the performance was intolerable
and we've switched to regular transfers of a master password file since
the password file is relative static anyway.  We're now running a POP
server on the mail server, so we also need authentication.

I also deal with the problems of a large user base and the DEC's C2 GUI
interfaces were a particular problem for us.  Our first experiments
with XIsso (under V2.X) were with a thousand users.  It took over
thirty minutes to get the GUI to pull up the record for one user--this
made the GUI effectively worthless.  (Apparently the first load of the
entire database took a half hour, but after that, response improved.)
After OSF/1 V3.0, the initial load was faster--about two minutes for
1500 users.  We're now running with 10,000 users, so interactive
interfaces are just not useful to us, even if the software didn't have
its own problems.

I wrote my own software to manipulate the TCB database, some written in
C, but mostly written in perl.  We've pushed for documentation and and
enhancements and it appears that V4.0 will give a command line
interface, so we can write "compatible" shell scripts to manipulate the
database.

Creating a large user base, for test purposes, is quite simple and
should have been part of the test suite before the software ever left
engineering.

The same goes for range testing on uses of uid_t and gid_t.  In some
cases, software places arbitrary limits on the ranges in user
interfaces.  Perhaps, the programmers were unsure of the limits and
placed safety checks in the code without doing the research to see what
the real limits are.  POSIX doesn't define the limits, anyway.  Does
anyone know what the NFS limitations are?

Paul Fardy
--
Paul David Fardy                      |  pdf@morgan.ucs.mun.ca
Computing and Communications          |  pdf@InfoNET.st-johns.nf.ca
Memorial University of Newfoundland   |
St. John's, NF  A1C 5S7               |



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-09  4:00     ` Paul David Fardy
@ 1996-04-10  4:00       ` PAUL D. CHAPIN
  1996-04-10  4:00         ` Saul Tannenbaum
  0 siblings, 1 reply; 8+ messages in thread
From: PAUL D. CHAPIN @ 1996-04-10  4:00 UTC (permalink / raw)


I'm afraid I missed the beginning of this thread.  I've just got the
documentation for dUnix 4.0 and it looks like they're using the same
basic design for handling NIS/C2 which creates a bottleneck at the
/var/yp/src/prpasswd file.  Any chance that DEC's tweaked the code so
that this no longer causes major problems when a lot of people try to
log in at one time? 

--


Paul Chapin
Unix Systems Manager
Amherst College




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-10  4:00       ` PAUL D. CHAPIN
@ 1996-04-10  4:00         ` Saul Tannenbaum
  1996-04-11  4:00           ` PAUL D. CHAPIN
  0 siblings, 1 reply; 8+ messages in thread
From: Saul Tannenbaum @ 1996-04-10  4:00 UTC (permalink / raw)


In article <4kgk4r$f67@tom.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:
> I'm afraid I missed the beginning of this thread.  I've just got the
> documentation for dUnix 4.0 and it looks like they're using the same
> basic design for handling NIS/C2 which creates a bottleneck at the
> /var/yp/src/prpasswd file.  Any chance that DEC's tweaked the code so
> that this no longer causes major problems when a lot of people try to
> log in at one time? 

Nope.

The Version 4 SPD <ftp://ftp.digital.com/pub/Digital/info/SPD/41-61-13.txt>
includes the following disclaimer:

|  Support is provided for accessing NIS distributed databases while run-
|  ning Enhanced Security. NIS can also be used to distribute the Enhanced
|  Security protected password database. When using NIS, no more than 4000
|  user accounts are supported by the Enhanced Security subset. The num-
|  ber of simultaneous logins allowed is dependent on the configuration.

The 3.2D SPD, which is appended at the same URL says:

| o  Digital UNIX allows distribution of extended C2 security profil-
|    ing information over the network via the network information ser-
|    vices (NIS).

with no disclaimer I can find.

So, instead of tweaking the code, they've tweaked the SPD.

	- Saul
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-10  4:00         ` Saul Tannenbaum
@ 1996-04-11  4:00           ` PAUL D. CHAPIN
  1996-04-11  4:00             ` Saul Tannenbaum
  0 siblings, 1 reply; 8+ messages in thread
From: PAUL D. CHAPIN @ 1996-04-11  4:00 UTC (permalink / raw)


Saul Tannenbaum (stannenb@emerald.tufts.edu) wrote:
: In article <4kgk4r$f67@tom.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:
: > I'm afraid I missed the beginning of this thread.  I've just got the
: > documentation for dUnix 4.0 and it looks like they're using the same
: > basic design for handling NIS/C2 which creates a bottleneck at the
: > /var/yp/src/prpasswd file.  Any chance that DEC's tweaked the code so
: > that this no longer causes major problems when a lot of people try to
: > log in at one time? 

: Nope.

I just found the following in the release notes,  "Sites which cannot
use NIS to share prpasswd information may be able to use NFS to share
the files /tcb/files and /var/tcb/files directories instead." (page
4-21).  This seems to me to be a real dubious idea, but I can't really
give a reason beyond a bad gut feeling.

All I want to do it let my users use either of two systems so we can
balance the load.  This shouldn't be that hard!

--


Paul Chapin
Unix Systems Manager
Amherst College




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NIS/C2, and Digital's abdication of responsibilty
  1996-04-11  4:00           ` PAUL D. CHAPIN
@ 1996-04-11  4:00             ` Saul Tannenbaum
  0 siblings, 0 replies; 8+ messages in thread
From: Saul Tannenbaum @ 1996-04-11  4:00 UTC (permalink / raw)


In article <4kj3ng$2h8@tom.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:
> Saul Tannenbaum (stannenb@emerald.tufts.edu) wrote:
> : In article <4kgk4r$f67@tom.amherst.edu>, PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:
> : > I'm afraid I missed the beginning of this thread.  I've just got the
> : > documentation for dUnix 4.0 and it looks like they're using the same
> : > basic design for handling NIS/C2 which creates a bottleneck at the
> : > /var/yp/src/prpasswd file.  Any chance that DEC's tweaked the code so
> : > that this no longer causes major problems when a lot of people try to
> : > log in at one time? 

> : Nope.

> I just found the following in the release notes,  "Sites which cannot
> use NIS to share prpasswd information may be able to use NFS to share
> the files /tcb/files and /var/tcb/files directories instead." (page
> 4-21).  This seems to me to be a real dubious idea, but I can't really
> give a reason beyond a bad gut feeling.

This does, in fact, work, at least in a limited sense. 

Our "compute server" is a 4 node Digital Unix farm, running version 3.0.

We installed it prior to having real documentation to read, and the
folks who did it guessed at how to distribute the protected password
database. They used NFS. It was months before we knew we did it wrong.

This is a vastly different system than the larger scale machines 
on which NIS/C2 has been problematic. A couple of hundred accounts.
A low login rate, where people login, stay logged in for hours, and
burn cycles. 

I'd be skeptical about this approach scaling to the thousands of users doing
not very class of systems.

	- Saul
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1996-04-11  4:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-02  5:00 NIS/C2, and Digital's abdication of responsibilty Saul Tannenbaum
1996-04-03  5:00 ` Paul David Fardy
1996-04-05  5:00   ` Saul Tannenbaum
1996-04-09  4:00     ` Paul David Fardy
1996-04-10  4:00       ` PAUL D. CHAPIN
1996-04-10  4:00         ` Saul Tannenbaum
1996-04-11  4:00           ` PAUL D. CHAPIN
1996-04-11  4:00             ` Saul Tannenbaum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox