Questions tagged [nsswitch.conf]
27 questions
40
votes
3 answers
nsswitch.conf: is there a daemon I need to restart?
When I modify /etc/nsswitch.conf, is there an "nss" daemon I should restart? I am not referring to modules such as mdns & nis.

jldupont
- 1,849
- 4
- 24
- 27
10
votes
1 answer
What is nsswitch compat mode?
Red Hat recommended me compat mode in /etc/nsswitch.conf as one of the options to enumerate LDAP users, but later said that it's not a much-used method.
nsswitch.conf
passwd: files compat
passwd_compat: ldap
in passwd file, add +@netgroup.
What is…

ujjain
- 3,983
- 16
- 53
- 91
4
votes
2 answers
id command is not showing secondary groups
During some days I've been working on a LDAP integration. Now, after configure almost everything that I needed, I came up with this last wall: The need of use secondary groups which are taken from the LDAP server.
Behaviour:
[root@sr-servicesLin ~]#…

ITPro Guy
- 43
- 1
- 5
4
votes
0 answers
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 , I get groups: cannot find name for group ID 504 What should I do to get my clients to display group names correctly ?
There are no id…

user186719
- 41
- 1
4
votes
2 answers
Samba/Winbind issues joing to Active directory domain
I'm currently in the process of setting up winbind/samba and getting a few issues.
I can test connectivity with wbinfo fine:
[root@buildmirror ~]# wbinfo -u
hostname username
administrator
guest
krbtgt
username
[root@buildmirror ~]# wbinfo -a…

jaxxstorm
- 606
- 6
- 10
4
votes
1 answer
Purpose of `[NOTFOUND=continue]` in nsswitch.conf?
I see the following configuration in /etc/nsswitch.conf:
shadow: files [NOTFOUND=continue] ldap
Is there any purpose to the [NOTFOUND=continue] action? Isn't this functionally the same as the following configuration, which is far more…

Stefan Lasiewski
- 23,667
- 41
- 132
- 186
4
votes
3 answers
Can nss/pam ldap send password to ldap server already hashed?
I have nss & pam configured so that I can authenticate linux users via LDAP against my companies AD server. All works fine except password are sent in plain text. For reasons out of my control our AD server does not support ssl/tls and I dont think…

startoftext
- 257
- 2
- 5
- 14
4
votes
1 answer
use of [!NOTFOUND=return] in nsswitch.conf
Has anyone come across the use of this config for passwd and groups config in nsswitch.conf? Where I'm working I've been told it's been shown to help situations where a group exists both locally and in ldap which was causing issues for group…

Chris Phillips
- 254
- 4
- 15
3
votes
1 answer
Debian and active directory authentication
I'm trying to link a debian server authentication to active directory.
I followed this tutorial: http://wiki.debian.org/Authenticating_Linux_With_Active_Directory but I'm stuck on the
getent passwd
Because this doesn't list all AD users but only…

Tobia
- 1,272
- 9
- 41
- 81
3
votes
1 answer
getent passwd fails, getent group works?
I've almost got my AD integration working completely on my OpenSUSE 12.1 server. I have a OpenSUSE 11.4 system successfully integrated into our AD environment. (Meaning, we use LDAP to authenticate to AD directory via Kerberos, so we can login to…

slugman
- 123
- 2
- 4
- 7
3
votes
1 answer
What do compat mean in name service switch?
What do compat mean in name service switch? /etc/nsswitch.conf

Codler
- 178
- 1
- 3
- 8
2
votes
1 answer
Since when the linux host utility ignores /etc/hosts?
I was struggling trying to find out the reason why the linux host utility was ignoring my /etc/hosts file until I find the answer to my question here: hosts file seems to be ignored:
With this configuration, most applications will happily work…

Luis Fernando Alen
- 540
- 1
- 5
- 11
2
votes
1 answer
PAM, nsswitch and LDAP configuration
I have a technical and precise question about two type of configuration about LDAP, pam configuration files and nsswitch.conf.
Wich is the difference between the passwd_compat configuration and the pam_list?
I'm quite confused...thanks in…

Possa
- 185
- 1
- 9
1
vote
0 answers
Samba4 in AD Domain: getent shows only local accounts
I had my samba domain member working a few days ago, but now it stopped serving domain users. Some of the steps I already tried: clear caches, rejoin domain, reboot, pam-auth-update, with and without "winbind use default domain = yes" and some…

grasp
- 11
- 5
1
vote
1 answer
Make likewise use password file first for logins
Is there a way I can make likewise check the passwd file first? Currently, nsswitch.conf does say files first. However, when I tried to log into the box as the root user, it was hanging until I removed the network cable. This was as direct login…

Kyle Brandt
- 83,619
- 74
- 305
- 448