Questions tagged [nis]
The Network Information Service (NIS) is a client–server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network.
92
questions
0
votes
0
answers
23
views
Disconnect NIS authentication on SVN server
I have SVN configured to authenticate against NIS, also not sure how it authenticates against NIS.
I want to disconnect the server from NIS and convert it to local authentication.
How this can be ...
0
votes
1
answer
2k
views
ypbind.service times out, but ypbind runs manually
I've got a new Rocky 8.6 system, and I've run into an issue I've never seen before.
The ypbind.service times out when I try to start/restart, but if I run ypbind as root, it starts just fine.The ...
0
votes
0
answers
976
views
Using active directory group as netgroup in sssd
I have an active directory domain with a handful of linux servers that interact with AD through sssd. I want to have a different sudoers configuration on different servers, and I know this can be ...
3
votes
0
answers
1k
views
How to remove NIS server role from all domain controllers before upgrading to Windows server 2019
So we are currently have 4 2012R2 domain controllers with IDMU (Identity Management for Unix) and NIS server role installed. For NIS server role, one DC is in master mode, other 3 DCs are in ...
0
votes
0
answers
726
views
How to replace NIS authentication with Kerberos: Client not found in Kerberos database
I followed the Oracle tutorial for configuring NIS and using Kerberos as the authentication mechanism. I believe I got the Realm and KDC configured and running correctly on a server that is running ...
0
votes
1
answer
196
views
Unable to open Firefox and some other applications after switching to new NIS and NFS servers
We have just upgraded two servers providing a number of services to our network including NFS and NIS. User authentication is done by one server (serverA) and home directories and a number of shared ...
0
votes
0
answers
228
views
usb stick "not authorized to perform"
Hello (sorry for my poor english).
I have a fresh install of desktop clients linux mint 19.2 with a NIS authentication.
Local users can plug usb-stick and it automount without problem.
On the other ...
2
votes
2
answers
5k
views
trying to find which static port for NIS or NFS service in firewalld
On our slave NIS server we have in /etc/sysconfig/network I've set
YPSERV_ARGS="-p 944"
YPXFRD_ARGS="-p 945"
and OTHER_YPBIND_OPTS="-p 3000" in /etc/ypbind.conf and YPPASSWDD_ARGS="--port 946" in /...
2
votes
0
answers
3k
views
How to set up NIS client in Docker container?
I am setting up a Jenkins master inside a Docker container. The container runs on an Ubuntu 16.04 host, which itself is a virtual machine.
We use NIS for authentication in Jenkins, but I cannot get ...
-2
votes
1
answer
99
views
Overwriting /etc/ Files between two servers
I'm the process of migrating an NIS server from one machine running Ubuntu 9.10 to a new one running Ubuntu 14.04.4 Server, and following these instructions:
How do I replace an NIS master server?
...
1
vote
0
answers
331
views
rfc2307bis LDAP schema: ipNetmaskNumber lookup for an ipHost object
I'm using Openldap for IAM, and consider using it also as a configuration management backend.
The rfc2307bis schema has an ipHost class, which allows for ipHostNumber attribute, but not for the ...
1
vote
0
answers
644
views
Why my profile looks for /usr/local/etc/profile.global (NIS)
My Ubuntu ID is manged by NIS/yellowpage. For some reason, when I log in, I'm getting this message.
cat@local:~$ ssh catserver
cat@catserver's password:
Welcome to Ubuntu 15.10 (GNU/Linux 4.2.0-25-...
1
vote
1
answer
2k
views
SAMBA+NIS on Linux with Windows 7/8/10 clients
I'm trying to figure out if it is possible to run a samba server on a Linux distribution with a NIS service and use them in conjunction with a Widnows 7/8/10 client to make it work as it's local ...
1
vote
1
answer
1k
views
How to create a custom NIS map?
I'd like to create a custom NIS map in order to be able to look up my own information using ypmatch and map between local and centralised usernames. How can this be achieved?
0
votes
1
answer
651
views
Seemingly acceptable iptables rule blocking NIS (ypbind) from operating
I am not an iptables expert.
I have a use case to block all outgoing traffic that does not destined for either 10.0.0.0/8 or 167.114.0.0/16. I have two NIS servers (10.57.132.11, 10.57.132.40). I ...
1
vote
1
answer
351
views
NIS not respecting files first in nsswitch.conf
Okay, first off, I know NIS is a turd, but it's what we've got until we do a major migration next year.
Today we had a NIS server outage which predictably prevents user logins. What surprised me was ...
1
vote
0
answers
385
views
Linux: What could be the reason for random fails in updating passwd.byuid by running yppasswd?
In order to allow NOC users in my company to manage users through NIS I've created the following script:
#!/bin/bash
# This script will simplicate NIS user management.
# You will not be able to ...
1
vote
0
answers
1k
views
can't change NIS account password from Centos-7 client “NIS server Centos-6”
I'm trying to change password for a NIS account from a Centos-7.0.1406 client and the server is Centos-6.6
it seems that passwd command don't ask me neither to change password nor ask me for old ...
2
votes
1
answer
1k
views
Why does NIS map error prevent postfix from resolving local alias?
Postfix quit sending me mail from an Ubuntu 10.04LTS server. I spent an hour to two checking /etc/aliases, running and re-running sudo newaliases and sudo postfix reload, web searches for my issue etc....
1
vote
1
answer
74
views
Neglected services on old DC - how to move to new DC?
We have installed a new Server 2012.
The new server: DC3 (192.168.0.3), has been promoted, and is now our main DC (includes : DNS, DHCP)
Schema master DC3.domain
Domain naming master ...
1
vote
2
answers
6k
views
NIS users suddenly can't login to SSH
I've recently added a new (client) server to my NIS. For a month or so this worked fine, but since today I suddenly can't login through SSH anymore. Some other services (e.g. IMAP) on the same server ...
0
votes
2
answers
449
views
puppet nis user management
I started using puppet for managing our RHEL servers. At this point I try to setup the user management. We are running a NIS environment on our campus, so until now I added the line +testuser::::: to ...
0
votes
1
answer
702
views
Create alias for UNIX username in LDAP for DB2
I want to use LDAP data for the authentication process in DB2.
I have already configured DB2 via PAM to retrieve the information of the NIS server that is in the ActiveDirectory. It works perfect ...
1
vote
1
answer
6k
views
How to autostart `ypbind` on Ubuntu 14.04
It seems I need to use sysv-rc-conf to manage service startup/shutdown, but no scripts were added to /etc/init.d/ when I installed NIS. I would expect to either have /etc/init.d/nis or /etc/init.d/...
-1
votes
1
answer
285
views
Deletion of User and home directory from NFS
I have 10 systems with opensuse installed in each of them.I have created 2 servers such that one is NIS and other is NFS , i have added lets say 5 users to NIS and their corresponding home ...
1
vote
0
answers
91
views
Strange glitch with NIS
Good day. One of the network users with the NIS account (yp and automount) has some problems: after editing network service configufation file (/etc/sysconfig/network) and rebooting (/etc/init.d/...
1
vote
2
answers
6k
views
nobody user/group with NIS/NFS
Software overview
Machine A(NIS server): CentOS 6.2
Machine B:(NFS server) CentoS 6.2
Client machines: OpenSuse 12.3, CentOS 6.4 and CentOS 5.6
Introduction and setup
Machine A is an NIS server ...
1
vote
1
answer
1k
views
How to test that DNS from NIS is working?
In my /etc/nsswitch.conf have I set
hosts: files nis dns
With
ypwhich
ypcat hosts
ypcat passwd
can I verify that passwd and group are retrieved over NIS.
Question
How do I verify that DNS is ...
2
votes
0
answers
164
views
Root denied login if networking down (on NIS/YP environment)
My 70+ hosts network (mixed CentOS, Fedora) uses NIS/YP. If networking is working OK, then no major issues occur, normally a trouble-less operation.
If connectivity is lost, either by a simple loose ...
4
votes
1
answer
4k
views
Enable NIS extensions (rfc2307) on Samba 4 AD after installation
I'm testing out our samba 4 migration process and when the initial forest/domain was created, it was created without using --use-rfc2307:
sudo samba-tool domain provision \
--domain ...
0
votes
1
answer
1k
views
Upgrading NFS/NIS Shared `/home` Setup
I am currently managing a network of workstations running different flavours of Ubuntu. The server (also Ubuntu) runs a NIS server and exports a shared /home directory over NFS (in v3 compatibility ...
8
votes
4
answers
31k
views
NIS failing to bind
I have a bunch of machines which authenticate via NIS to a central server. I just bought a new CentOS 6.2 client machine, and it can't authenticate.
The following is a list of the classics people ...
4
votes
0
answers
987
views
NIS client doesn't see group names
I have added a user to libvirt (id = 504) group on NIS server. On the client when I do group <user>, I get <user> groups: cannot find name for group ID 504 What should I do to get my ...
5
votes
1
answer
23k
views
How can I change passwords on a Linux NIS master?
This seems like it should be simple, but if it is, I must be missing something. I have a Linux NIS master from which I would like to be able to change users' passwords (in cases of forgotten ...
2
votes
1
answer
46
views
NIS - Proper Format for Multiple Hosts
I'm very new to working with NIS and have been tasked with reorganizing the files. Which is the proper delimiter that should be used for a NIS file with this format:
username server1:server2:...
1
vote
0
answers
154
views
Automount directories only on certain clients via NIS and NFS
Is it possible to serve certain files via NIS only to a group of clients and not to all of them? It's probably a very easy task but I'm searching for a while now and don't seem to find an answer. I'm ...
0
votes
1
answer
714
views
NIS netgroup map empty for nis client
We had a NIS master server disaster and an outdated backup for it, but some slaves.
I've been put in charge without any NIS knowledge so far except a few basics.
I've dumped every map via ypcat from ...
1
vote
1
answer
11k
views
Trying to configure NIS on a centos client and getting error Domain not bound
I'm trying to set a host to use NIS.
I've instlled ypbind and yp-tools.
edited /etc/yp.conf:
domain mydomain.local server hostname
then edited: /etc/sysconfig/network and added:
NISDOMAIN="mydomain....
1
vote
2
answers
2k
views
One of my NIS users can't login - why?
I've got an old Solaris 8 server as a client in a NIS domain. All users can login just fine except for one (user 'oracle'). It used to work but late last year "something" changed (I wasn't here at the ...
1
vote
2
answers
5k
views
How to have logs about users logins/logouts in a NIS server?
I have a NIS server in a Debian machine with several user accounts in passwd and shadow files.
Also, I have 10 Ubuntu desktop boxes rununning as NIS clients. The users can login by binding to the NIS ...
6
votes
1
answer
10k
views
How do I replace an NIS master server?
I need to take down my current NIS master server because it is running on RHEL 4 which is too old for the auditors to approve now.
I think I need to copy some files off the master over to a slave ...
0
votes
1
answer
2k
views
Possible to deny all NIS users from logging in over SSH?
Is it possible to deny all NIS users from logging in?
There is no physical access to the host, so if NIS can not be configured to deny all, is the solution then to configure SSH to only allow root to ...
1
vote
0
answers
618
views
ssh login attempts fail randomly - but work otherwise for same user
I'm having strange ssh login issues, where the login for a user does work in general, but sometimes it doesn't. here's a failed login attempt:
Mar 28 14:49:55 hostname sshd[32247]: Invalid user ...
1
vote
1
answer
1k
views
Need to put two NIS servers in yp.conf file
How do I configure 2 servers in yp.conf
I tried :
domain domain.com server server1 server2
but it seems to take the first one
Tried:
domain domain.com server server1
domain domain.com server ...
1
vote
0
answers
324
views
NIS user/group ID resolution fails for one NFS volume but succeeds for another
Network setup:
(1) NIS server (nisserver),
(2) file server (fserver),
(3) cluster head server (queuemaster)
(4) cluster compute nodes (node1,node2,...) (gateway=queuemaster)
fserver is a NIS ...
7
votes
4
answers
20k
views
do_ypcall: clnt_call: RPC: Timed out
faulters:
Despite much troubleshooting in my NIS/YP setup, rebooting systems, restarting & debugging ypbind, putting nscd to run, a group of newly purchased systems regularly spam my email with:
...
1
vote
1
answer
1k
views
NIS login: one user account multiple home directories possible?
I have a network of linux clients and servers that are used for numerical computations; and I'm using NIS for user authentication. After a successful login, every user lands in her / his home ...
2
votes
0
answers
747
views
Group membership not transferred from server to client
I have a Suse Version 11.1.0.21 Server with home-partitions for every user and shared partitions for different groups. Groups and group rights (3775) are defined. When the group member is logged in at ...
3
votes
1
answer
2k
views
NIS: which mechanism hides shadow.byname for unpriviledged users?
On some Linux box (SLES 11.1) which is a NIS client I can do as root:
ypcat shadow.byname
and get output, i.e. some lines with the encrypted passwords, amongst other information.
On the same Linux ...
1
vote
1
answer
6k
views
how to install NIS client on windows server 2012?
how to install NIS client on windows server 2012?
Can I do it or not?
It seems only migrate it but no client