Questions tagged [nis]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
180 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 ...
user avatar
3 votes
0 answers
152 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 ...
user avatar
  • 892
0 votes
0 answers
492 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 ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
  • 1
0 votes
0 answers
138 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 ...
user avatar
  • 1
2 votes
2 answers
3k 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 /...
user avatar
2 votes
0 answers
2k 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 ...
user avatar
-2 votes
1 answer
86 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? ...
user avatar
1 vote
0 answers
223 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 ...
user avatar
  • 878
1 vote
0 answers
549 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-...
user avatar
  • 111
1 vote
1 answer
1k 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 ...
user avatar
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?
user avatar
  • 156
0 votes
1 answer
585 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 ...
user avatar
  • 141
1 vote
1 answer
237 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 ...
user avatar
  • 141
1 vote
0 answers
329 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 ...
user avatar
  • 10.3k
1 vote
0 answers
904 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 ...
user avatar
  • 239
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....
user avatar
  • 381
1 vote
1 answer
71 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 ...
user avatar
  • 1,791
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 ...
user avatar
  • 621
0 votes
2 answers
408 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 ...
user avatar
0 votes
1 answer
620 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 ...
user avatar
  • 111
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/...
user avatar
  • 121
-1 votes
1 answer
97 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 ...
user avatar
1 vote
0 answers
85 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/...
user avatar
1 vote
2 answers
5k 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 ...
user avatar
  • 451
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 ...
user avatar
  • 9,893
2 votes
0 answers
138 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 ...
user avatar
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 ...
user avatar
  • 38.6k
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 ...
user avatar
  • 3
7 votes
4 answers
28k 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 ...
user avatar
  • 451
4 votes
0 answers
854 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 ...
user avatar
4 votes
1 answer
21k 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 ...
user avatar
  • 3,006
2 votes
1 answer
40 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:...
user avatar
1 vote
0 answers
109 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 ...
user avatar
  • 217
0 votes
1 answer
634 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 ...
user avatar
1 vote
1 answer
9k 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....
user avatar
  • 10.3k
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 ...
user avatar
  • 23.5k
1 vote
2 answers
4k 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 ...
user avatar
  • 21
6 votes
1 answer
9k 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 ...
user avatar
  • 99
0 votes
1 answer
1k 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 ...
user avatar
  • 9,893
1 vote
0 answers
486 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 ...
user avatar
  • 297
1 vote
1 answer
931 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 ...
user avatar
1 vote
0 answers
292 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 ...
user avatar
7 votes
4 answers
17k 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: ...
user avatar
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 ...
user avatar
  • 297
2 votes
0 answers
574 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 ...
user avatar
  • 21
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 ...
user avatar
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
user avatar
1 vote
0 answers
617 views

Automount parses NIS map incorrectly on SLES 11.2 x86_64

Good morning, I came across a problem in SLES 11.2 x86_64 where the automount daemon parses a NIS map file incorrectly. It seems to be working fine in SLES 11.1 32 bit, and I cannot see any ...
user avatar
  • 133
2 votes
1 answer
3k views

NIS user not being added to NIS group

I have set up a NIS server and several NIS clients. I have a user and a group on the NIS server like so: /etc/passwd: myself:x:5000:5000:,,,:/home/myself:/bin/bash /etc/group: fishy:x:3001:...
user avatar
  • 766