* NIS Problems
@ 1993-12-09 14:31 Thomas Ertl
1993-12-09 16:41 ` Victor J. Martinez x6463
0 siblings, 1 reply; 8+ messages in thread
From: Thomas Ertl @ 1993-12-09 14:31 UTC (permalink / raw)
We have two problems with a DEC alpha running OSF V1.3 and configured as
a NIS master server.
First of all, netgroups in the form +@group in /etc/hosts.equiv seem to
be ignored. I am always prompted for a password when trying to rlogin to my
machine. Our svc.conf looks like
hosts=yp,bind,local
netgroup=yp
and we have the correct fully qualified hostname in position 1 in the hosts
map as well as in the netgroup. What appears to be strange is that the comment
lines of the netgroup source seem to make it into the netgroup map, at least
they can be seen with ypcat -k.
Second; the rpc.yppasswdd only changes the passwd source file, but does not
call make in /var/yp. We have tried it for the manpage example
rpc.yppasswdd /var/yp/src/passwd -m passwd DIR= /var/yp/src
and for passwd files residing in other directories (not in the root filesystem)
Any hints? Thank you very much.
Tom Ertl
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NIS Problems
1993-12-09 14:31 NIS Problems Thomas Ertl
@ 1993-12-09 16:41 ` Victor J. Martinez x6463
0 siblings, 0 replies; 8+ messages in thread
From: Victor J. Martinez x6463 @ 1993-12-09 16:41 UTC (permalink / raw)
Thomas Ertl (ertl@nova.tat.physik.uni-tuebingen.de) wrote:
: We have two problems with a DEC alpha running OSF V1.3 and configured as
: a NIS master server.
: First of all, netgroups in the form +@group in /etc/hosts.equiv seem to
: be ignored. I am always prompted for a password when trying to rlogin to my
: machine. Our svc.conf looks like
: hosts=yp,bind,local
: netgroup=yp
: and we have the correct fully qualified hostname in position 1 in the hosts
: map as well as in the netgroup. What appears to be strange is that the comment
: lines of the netgroup source seem to make it into the netgroup map, at least
: they can be seen with ypcat -k.
I have also ran into this problem. The comments in /etc/hosts.equiv or the
man page for hosts.equiv does not list netgroups as possible entries in the
/etc/hosts.equiv file.
: Second; the rpc.yppasswdd only changes the passwd source file, but does not
: call make in /var/yp. We have tried it for the manpage example
: rpc.yppasswdd /var/yp/src/passwd -m passwd DIR= /var/yp/src
: and for passwd files residing in other directories (not in the root filesystem)
: Any hints? Thank you very much.
: Tom Ertl
Haven't tried using our alpha as a ypmaster.
--
~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~
` If the future's looking dark // | Victor J. Martinez '
` We're the ones who have to shine \X/ | vic@fajita.saic.com '
` If there's no one in control | '
` We're the ones who draw the line (Neil Peart) | (This space for rent) '
` Though we live in trying times- (RUSH) | '
` We're the ones who have to try | '
` Though we know that time has wings- | '
` We're the ones who have to fly | '
~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~
^ permalink raw reply [flat|nested] 8+ messages in thread
* NIS problems
@ 1995-08-25 4:00 PAUL D. CHAPIN
1995-08-26 4:00 ` Mike Iglesias
0 siblings, 1 reply; 8+ messages in thread
From: PAUL D. CHAPIN @ 1995-08-25 4:00 UTC (permalink / raw)
We appear to have two problems with our NIS setup (dUnix 3.2). They
may be related. And just to make life interesting, we also have
enhanced security on.
First, neither the chfn or chsh appear to be working on either the
server or client. While I can understand the difficulty of doing this
on the client, the server is another matter. The error we're getting
back in unknown user, which seems to imply that the commands are still
looking in /etc/passwd. Is there a different version of these
comands, like yppasswd replacing passwd?
Second, on the client, it's asking for a new password. At first, I
thought this was just annoying in that the client thought that this
was the first log on since enhanced security was turned on. The
problem is that it apparently throws out the password it's given and
reverts to the original. Deliberately setting the password from the
client works. I've also received some reports that the problem
repeats itself, but I'm not convinced that those reports are accurate.
Is there away to either tell it not to ask, or to get it to accept the
password it's given?
--
Paul Chapin
A) Unix Systems Manager
B) User Services Coordinator
C) Information Coordinator
D) All of the above
Amherst College
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NIS problems
1995-08-25 4:00 NIS problems PAUL D. CHAPIN
@ 1995-08-26 4:00 ` Mike Iglesias
1995-08-28 4:00 ` Hamish Marson
0 siblings, 1 reply; 8+ messages in thread
From: Mike Iglesias @ 1995-08-26 4:00 UTC (permalink / raw)
In article <41kqqt$quo@amhux3.amherst.edu>,
PAUL D. CHAPIN <pdchapin@news.amherst.edu> wrote:
>First, neither the chfn or chsh appear to be working on either the
>server or client. While I can understand the difficulty of doing this
>on the client, the server is another matter. The error we're getting
>back in unknown user, which seems to imply that the commands are still
>looking in /etc/passwd. Is there a different version of these
>comands, like yppasswd replacing passwd?
ypchsh and ypchfn should be there, but Digital has, for reasons unknown,
chosen to not supply them with dUnix. If your source for the passwd
maps is /etc/passwd, I would think that chfn and chsh should work, but
you're using enhanced security so that may not be true.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NIS problems
1995-08-26 4:00 ` Mike Iglesias
@ 1995-08-28 4:00 ` Hamish Marson
1995-08-29 4:00 ` PAUL D. CHAPIN
0 siblings, 1 reply; 8+ messages in thread
From: Hamish Marson @ 1995-08-28 4:00 UTC (permalink / raw)
Mike Iglesias (iglesias@draco.acs.uci.edu) wrote:
: In article <41kqqt$quo@amhux3.amherst.edu>,
: PAUL D. CHAPIN <pdchapin@news.amherst.edu> wrote:
: >First, neither the chfn or chsh appear to be working on either the
: >server or client. While I can understand the difficulty of doing this
: >on the client, the server is another matter. The error we're getting
: >back in unknown user, which seems to imply that the commands are still
: >looking in /etc/passwd. Is there a different version of these
: >comands, like yppasswd replacing passwd?
: ypchsh and ypchfn should be there, but Digital has, for reasons unknown,
: chosen to not supply them with dUnix. If your source for the passwd
: maps is /etc/passwd, I would think that chfn and chsh should work, but
: you're using enhanced security so that may not be true.
If you are worried enough about security on your unix system to use
Digitals enhanced security, why the heck would you go out and bolt a
security hole like NIS onto it?
--
======================================================================
| Hamish Marson |
| Systems Programmer & News Manager news@news.waikato.ac.nz|
| Computer Services | INTERNET h.marson@waikato.ac.nz |
| University of Waikato | PHONE +64 7 8562889 xt 8181 |
| New Zealand | FAX +64 7 8384066 |
===========Disclaimer :- Remember. You heard it here first.===========
If nuclear bombs are so safe why don't the French test them under Paris
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NIS problems
1995-08-28 4:00 ` Hamish Marson
@ 1995-08-29 4:00 ` PAUL D. CHAPIN
0 siblings, 0 replies; 8+ messages in thread
From: PAUL D. CHAPIN @ 1995-08-29 4:00 UTC (permalink / raw)
Hamish Marson (hamish@hamish) wrote:
: If you are worried enough about security on your unix system to use
: Digitals enhanced security, why the heck would you go out and bolt a
: security hole like NIS onto it?
Enhanced security because it's the easiest way to stop people from
cracking the password file and NIS because I have 3000+ users using
multiple machines. I've got lots of users smart enough to run crack,
very few good enough to break in using NIS holes.
--
Paul Chapin
A) Unix Systems Manager
B) User Services Coordinator
C) Information Coordinator
D) All of the above
Amherst College
^ permalink raw reply [flat|nested] 8+ messages in thread
* NIS problems
@ 1997-11-28 5:00 Knut Hellebø
1997-11-28 5:00 ` Henk Markson
0 siblings, 1 reply; 8+ messages in thread
From: Knut Hellebø @ 1997-11-28 5:00 UTC (permalink / raw)
To: Alpha Sysadmin List
Regards,
We have the following problem:
"ypwhich -m" returns with the following 'funny' message:
ypwhich(v2dumpmaps): can't get maplist: Can't decode result
This error shows up on IRIX (5.3,6.2,6.3,6.4), Dec Unix (3.2c,4.0[BC]),
SunOS 4.1.x and AIX 3.2.5. AIX 4.x and Solaris 2.5.x seems to be OK.
We saw similar errors on a Solaris 2.5.1 box, but a 'ulimit -n 256' did
the trick (ie increased the number of filedescriptors). We suspect that
the error is caused by a large number of maps or fewer maps having long
names. It is possible that the total number of bytes transferred from
the server to the client issuing the ypwhich call will exceed some limit
or that the client is not capable of reassembling a maplist that arrives
in more than one packet.
Can anyone enlighten me here, please ?
-- =
******************************************************************
* Knut Helleb=F8 | DAMN GOOD COFFEE !! =
*
* Norsk Hydro a.s | (and hot too) *
* Phone: +47 55 996870, Fax: +47 55 996495 | *
* Cellular Phone: +47 93092402 | *
* E-mail: Knut.Hellebo@nho.hydro.com | Dale Cooper, FBI *
******************************************************************
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: NIS problems
1997-11-28 5:00 Knut Hellebø
@ 1997-11-28 5:00 ` Henk Markson
0 siblings, 0 replies; 8+ messages in thread
From: Henk Markson @ 1997-11-28 5:00 UTC (permalink / raw)
To: Knut Helleb�
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]
This is bug #518917.
The NIS client code has an historical limit of 1600 bytes on any
NIS request, so ypwhich fails to decode any packet larger than that.
You'd need to built a libc which uses (fe.)4096 byte buffers for NIS
requests. This increases the yp buffer size to 4096. None of the
getXbyY calls use this code any longer so this will only have an
effect on applications which directly use the yp library routines.
Knut Helleb� wrote:
>
> Regards,
>
> We have the following problem:
>
> "ypwhich -m" returns with the following 'funny' message:
>
> ypwhich(v2dumpmaps): can't get maplist: Can't decode result
>
> This error shows up on IRIX (5.3,6.2,6.3,6.4), Dec Unix (3.2c,4.0[BC]),
> SunOS 4.1.x and AIX 3.2.5. AIX 4.x and Solaris 2.5.x seems to be OK.
> We saw similar errors on a Solaris 2.5.1 box, but a 'ulimit -n 256' did
> the trick (ie increased the number of filedescriptors). We suspect that
> the error is caused by a large number of maps or fewer maps having long
> names. It is possible that the total number of bytes transferred from
> the server to the client issuing the ypwhich call will exceed some limit
> or that the client is not capable of reassembling a maplist that arrives
> in more than one packet.
>
> Can anyone enlighten me here, please ?
> --
>
> ******************************************************************
> * Knut Helleb� | DAMN GOOD COFFEE !! *
> * Norsk Hydro a.s | (and hot too) *
> * Phone: +47 55 996870, Fax: +47 55 996495 | *
> * Cellular Phone: +47 93092402 | *
> * E-mail: Knut.Hellebo@nho.hydro.com | Dale Cooper, FBI *
> ******************************************************************
--
----------------------------------
Henk Markson
Silicon Graphics AG
Support Zurich
----------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1997-11-28 5:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-09 14:31 NIS Problems Thomas Ertl
1993-12-09 16:41 ` Victor J. Martinez x6463
-- strict thread matches above, loose matches on Subject: below --
1995-08-25 4:00 NIS problems PAUL D. CHAPIN
1995-08-26 4:00 ` Mike Iglesias
1995-08-28 4:00 ` Hamish Marson
1995-08-29 4:00 ` PAUL D. CHAPIN
1997-11-28 5:00 Knut Hellebø
1997-11-28 5:00 ` Henk Markson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox