Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NIS (was: Netinfo, NFS and general server question)



Hi!

Am Mittwoch den, 31. Juli 2002, um 21:32, schrieb nathan hruby:
You sent this only to me, I think you meant to send it to the whole OSX-Server list, so I'm cc'ing them in this reply.

Puh. I'd be dead if others wouldn't sometimes think for me... thanks! (just replied without taking a look at the adress...)

1 NIS works, I need to stop trying to fix things that are not broken. I'
m just gonna use my NIS setup till I can get 10.2 Server and Client and just not deal with the pain.

So you're creating new users on a NIS Server somewhere and they are able to login on all OSX Clients? Grrrr. I've been trying this for months...

The following URL will tell you *everything* you need to know about setting up NIS on OSX

Well, as it's the only URL in the whole web dealing with OSX and NIS (and as there is a german translation, too...) that was just my basic information.

http://bresink.de/osx/nis.html
Read it in careful detail and follow every step.

Did it four times on different machines. Maybe I'll go an try a sixth...

The Author of the above guide has even made a handy utility for enabling NIS client activities
http://bresink.de/osx/LookupManager.html

Also tried this. Well. Wasn't lucky...

So I'm glad to hear that it's possible. Now I can try another three months.
..

I want to get 10 OSX Clients to _work_ in a NIS-environment. NFS is no problem (well, at least compared to the rest) but the authentification doesn't work at all - although the YP-contact is available and ypbind kind of works...


Sounds like you didn't enable the YP agent in lookupd. See above URL's and the answers will become clear.

Thats just what I did. I would be glad if you could take a look at my description from <http://groups.google.de/groups?selm=dd197fd.0207070423.a51b0e1%40posting.
google.com>
------------->8--------------snipp------------------8<---------------------
From: hannsens (email@hidden)
Subject: MacOSX and NIS authentification: ypmatch works but no login possible... anybody has a NIS/OSX connection working?
Newsgroups:comp.sys.mac.misc

I'm having problems with my NIS/OSX configuration. All maps seem to be
transmitted from the server to the clients, but they don't appear in
the Log-In Window.
It's a NIS Server 2.2-92 (SUSE Linux 8.0) and a NIS Client (MacOSX
10.1.4, configuration as discriped in
http://www.bresink.de/osx/nis.html done by
http://www.bresink.de/osx/LookupManager.html). The NIS-Server works
fine and I'm even able to get answers just by asking about the maps
(morkvomork is the Macs name):

-------->8--------snipp-------8<------
[morkvomork:/] root# ypcat group
users:*:100:
nobody:x:65533:nobody,root
nogroup:*:65534:nobody,root
-------->8--------/snipp-------8<------

I even get the passwd entry of a user "zzadmin" who only exists on the
NIS-Server, but not on the local OSX-Mac (the NIS-Client):

-------->8--------snipp-------8<------
[morkvomork:/] root# ypmatch -k zzadmin passwd
zzadmin zzadmin:KnZRC/pB8ji1s:600:100::/home/zzadmin:/bin/bash
-------->8--------/snipp-------8<------

So the NIS Server seems to be allright and there seems to be some kind
of binding with the client. But the NIS-user is not appearing in the
LogIn-Window of OSX, even if I type login/pass in the explicit fields
that doesn't work. No ssh connection to the Mac with this l/p
possible, too.

My /var/log/system seems to show some problems with the DNSAgent (this
is while booting):
-------->8--------snipp-------8<------
Jul 7 12:16:17 morkvomork netinfod local[193]: setsid failed:
Operation not permitted
Jul 7 12:16:18 morkvomork netinfod local[193]: ni_crashed's udp
binder connection to peanuts[192.168.1.191]/local failed during
opening (UDP) - socket_open failed
Jul 7 12:16:18 morkvomork netinfod local[193]: ni_crashed's tcp
binder connection to peanuts[192.168.1.191]/local failed during
opening (TCP) - socket_connect failed
Jul 7 12:21:28 morkvomork lookupd: NetInfo connection failed for
server 127.0.0.1/local
Jul 7 12:21:28 morkvomork lookupd[203]: lookupd (version 233.1)
starting - Sun Jul 7 12:21:28 2002
Jul 7 12:21:28 morkvomork lookupd[203]: configuration initialization
failed: using defaults
-------->8--------/snipp-------8<------

after booting he's still trying to connect (this message is repeated
every minute):
-------->8--------snipp-------8<------
Jul 7 13:56:01 localhost lookupd[201]: DNSAgent:
dns_send_query_server - timeout for 192.168.1.1
Jul 7 13:56:11 localhost last message repeated 2 times
Jul 7 13:56:11 localhost lookupd[201]: DNSAgent:
dns_fqdn_query_server - query failed for 192.168.1.1
-------->8--------/snipp-------8<------

So he seems to search my DNS-Server. But all DNS-Queries work fine -
even the lokal computer names can be typed and the right one gets
connected (and there's no local hostname-entry).

And that's the other problem: if I have the Vigor-Router (which also
is the DNS&DHCP-Server) connectet while booting, the NIS-Client tells
me, that the Vigor is the YP-Server. But he still gets the right
information from the NIS-Server - so everything's working the way it
does when the Vigor's not connectet (so all the quotes above look the
same, doesn't matter if the Vigor's connected or not).

The only difference: With the Vigor connected:
-------->8--------snipp-------8<------
[morkvomork:/] root# ypwhich
igor2200
-------->8--------/snipp-------8<------

Without Vigor it's just the right NIS-Server
-------->8--------snipp-------8<------
[morkvomork:/] root# ypwhich
peanuts.tiefgang
-------->8--------/snipp-------8<------

I have absolutely no idea what else I should try. Pleas help me with
this problem, I hate to configure all the users on each mac; I would
really like to do it once for all.

Merci,

Hannes Stein
------------->8--------------snipp------------------8<---------------------

Still trying. Still hoping.

Thanks so far,

Hannes
----------------------------------
Hannes Stein
email@hidden
ICQ #118301645
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NIS (was: Netinfo, NFS and general server question) (From: nathan hruby <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.