LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-07-2007, 05:09 PM   #1
jason_b
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Diskless Linux with NIS


Hi the problem I am having is to do with setting up Diskless Linux to utilise NIS for authentication.

I am currently using Fedora Core 5. I installed linux using a kickstart file with the line:
authconfig --enableshadow --enablemd5 --enablenis --
nisdomain=<domainname> --nisserver=<servername>

The problems:
1. When the machine starts up, it has problems connecting to the NIS
server. It does find the nisdomain, but not the nis server. The error
on startup is:
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.................... [FAILED]

2. Logging in as root then typing the command:
authconfig --enableshadow --enablemd5 --enablenis --
nisdomain=<domainname> --nisserver=<servername> --update
works, but after logging out of root su -- <user> does not work
anymore.

ypbind --debug outputs this:

3657: parsing config file
3657: Trying entry: domain <domainname> server <servername>
3657: parsed domain '<domainname>' server '<servername>'
3657: add_server() domain: <domainname>, host: <servername>, slot: 0
YPBINDPROC_DOMAIN: Domain not bound
YPBINDPROC_DOMAIN: Domain not bound
3657: [Welcome to ypbind-mt, version 1.19]

3657: ping interval is 20 seconds

3658: ypbind-mt already running (pid 3602) - exiting

3813: parsing config file
3813: Trying entry: domain <domainname> server <servername>
3813: parsed domain '<domainname>' server '<servername>'
3813: add_server() domain: <domainname>, host: <servername>, slot: 0
3813: [Welcome to ypbind-mt, version 1.19]

3813: ping interval is 20 seconds

3815: ping host '<servername>', domain '<domainname>'
3815: Answer for domain '<domainname>' from server '<servername>'
3815: Pinging all active server.
3815: Pinging all active server.
3815: Pinging all active server.
3815: Pinging all active server.
3815: Pinging all active server.
....
3813: ypbindproc_domain_2_svc (<domain>)
3813: Pinging all active server.
3813: Requested <domain>, found <domainname>, ignored.
3813: Status: YPBIND_FAIL_VAL
....
 
Old 02-07-2007, 10:54 PM   #2
jason_b
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
authconfig

I also get this when running the authconfig command:

# authconfig --enablenis --nisdomain=<domainname> --nisserver=<domainserver> --update
/usr/sbin/pwconv: can't lock passwd file
/usr/sbin/grpconv: can't lock group file
failed to make symlink /etc/rc3.d/S13portmap: File exists
failed to make symlink /etc/rc4.d/S13portmap: File exists
failed to make symlink /etc/rc5.d/S13portmap: File exists
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
failed to make symlink /etc/rc3.d/S27ypbind: File exists
failed to make symlink /etc/rc4.d/S27ypbind: File exists
failed to make symlink /etc/rc5.d/S27ypbind: File exists
setsebool: SELinux is disabled.
Shutting down NIS services: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.
failed to make symlink /etc/rc3.d/K35winbind: File exists
failed to make symlink /etc/rc4.d/K35winbind: File exists
failed to make symlink /etc/rc5.d/K35winbind: File exists
 
Old 02-20-2007, 03:50 PM   #3
jason_b
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Can someone help please! I need to get NIS working in a diskless environment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to join NIS server (SUN machine) to Linux NIS server? KoRiR Linux - Networking 3 04-28-2004 01:19 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration