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)



On Wednesday, July 31, 2002, at 03:56 PM, Hannes Stein wrote:
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...


Yep.
[snip]

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.


Below you quote what the yp* stuff tell you, but what does lookupd tell you? do a "sudo lookupd -d" and then try a statisticForAgent: YPAgent and a userWithName: <user_on_nis_server> and see what's retutrned. If you get nil, something is wrong with your YP setup with netinfo/lookupd

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<------


That password looks very much like a MD5 password which OSX will not read. OSX's passwords must be encrypted with the standard unix crypt() call. On your suse system there's probably a utility called pwunconv which will (might) drop you down to crypt passwords. You should also disable md5 passwords on the SuSe machine and then add a new user and try to login as them.

You also need to make sure that the user has a Library directory in their homedir, else login's won't succeed because the system won't be able to write prefs files.

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

Ok..

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

Dunno what that is. CrashReporter? Anyone?

Jul 7 12:21:28 morkvomork lookupd: NetInfo connection failed for
server 127.0.0.1/local

lookupd couldn't connect to the local netinfo server on your machine. This would indicate a problem and may be why things aren't working. try the stuff above first before banging too hard on this, as I get the same every now anad agin.

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

Something is wrong with lookupd, possiblt it can't connect to netinfod

HTH

-n
--
......
nathan hruby - email@hidden
computer services specialist
uga drama
http://www.drama.uga.edu/
......
_______________________________________________
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: Hannes Stein <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.