Skip to main content

Questions tagged [nsswitch.conf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
72 views

How to check which package/process updated nsswitch?

I've experincing problems with my /etc/nsswitch.conf. I'm not longer able to use sudo as my personal user (ldap). I've checked dpkg.log, and it seems it's been som upgrades on the packages which ...
N. J's user avatar
  • 125
0 votes
0 answers
26 views

New libnss service : getent is empty

I want to login users base on a local SQLite db. I used this repo github.com/agamez/libnss-sqlite3, placed libnss_sqlite.so in lib folder and edited /etc/nsswitch.conf as follows, but getent passwd is ...
SAMPro's user avatar
  • 117
1 vote
0 answers
305 views

How to setup pam on debian 11

I have installed debian 11 and pam-ldapd. Now, I want to setup authenticating for openvpn with pam. When I wanted to test it with 'getent passwd' command, I got only local users response. Can you help ...
Dave's user avatar
  • 25
0 votes
2 answers
5k views

use hosts file with proxy

It is obvious that local /etc/hosts file is ignored when using a proxy while browsing. How can I use hosts file when using a proxy? I've access to the proxy server. I changed /etc/hosts file on the ...
Ashraf's user avatar
  • 101
1 vote
0 answers
3k views

How can I change nsswitch.conf?

I have been using RADIUS and TACACS+ AAA on CentOS 6 and need to duplicate that functionality on CentOS 8. However, the changes to how you now configure NSS confuse me. How do I make changes to ...
plong's user avatar
  • 111
1 vote
0 answers
1k views

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 "...
grasp's user avatar
  • 11
1 vote
0 answers
629 views

Samba auth against windows domain: Is /etc/nsswitch.conf required?

When I use samba to authenticate users against an existing windows domain controller, do I have to use winbind and add winbind to /etc/nsswitch.conf? Is there a way to do this without having to use /...
cytopia's user avatar
  • 177
1 vote
1 answer
2k views

/etc/nsswitch.conf file not working correctly

I have a little problem regarding the way my users are authenticated. My debian 7 is connected to an LDAP server using /etc/libnss-ldap.conf I have some local users, and some ldap users. On the ...
vercetty92's user avatar
4 votes
2 answers
7k views

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 ...
ITPro Guy's user avatar
-1 votes
2 answers
3k views

How to set "sudoers" in nsswitch.conf on Solaris-11

I am doing this on Solaris 11. When i open '/etc/nsswitch.conf' i see this - ... sudoers: files ... I would like to change this to - ... sudoers: files ldap ... I tried editing the file ...
Quest Monger's user avatar
4 votes
0 answers
967 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 ...
user186719's user avatar
10 votes
1 answer
26k views

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 ...
ujjain's user avatar
  • 4,043
0 votes
1 answer
1k views

LDAP queries for local users

Recently, in the company where I work, we have had a general system crash and we are figuring out the causes. Our machines are configured for LDAP authentication plus some local users in some of them. ...
ColOfAbRiX's user avatar
  • 1,090
1 vote
1 answer
258 views

Ubuntu 12.04 VPS doesn't boot with mysql in nsswitch.conf

1and1 VPS ("dynamic cloud server") does not boot any more as soon as mysql lookup is enabled in nsswitch.conf - any suggestions appreciated. Minimal setup to reproduce the problem: install Ubuntu 12....
chrisv's user avatar
  • 307
0 votes
2 answers
661 views

Solaris 11 nsswitch.conf messed up, need to edit it from an alternate kernel

Ok, so I was editing the name-service/switch service and messed up my nsswitch.conf, I overwrote the "passwd = files" with "passwd = filesasdf" so now I can't auth to the server when I boot that ...
Joe's user avatar
  • 11
4 votes
2 answers
2k views

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 ...
jaxxstorm's user avatar
  • 626
3 votes
1 answer
1k views

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 ...
Tobia's user avatar
  • 1,322
1 vote
0 answers
801 views

openldap + active directory + nested groups + nss

I'm using nss and openldap on linux to get a list of passwd entries from active directory. I'm getting all the users from a nested group by doing nss_base_passwd OU=peopleOU,DC=x?sub?memberof:1.2....
Jayen's user avatar
  • 1,877
3 votes
1 answer
3k views

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 ...
slugman's user avatar
  • 143
1 vote
1 answer
152 views

How to poll the username, when having the UID?

we're using ldap with sssd for the usermanagement, so our users are not in the "/etc/passwd" Unfortunately, ps just shows the UIDs: [root@xyz ~]# id jmw uid=1582(jmw) gid=1582(jmw) groups=1582(jmw), ...
JMW's user avatar
  • 1,473
2 votes
1 answer
3k views

Since when the linux host utility ignores /etc/hosts? [closed]

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 ...
Luis Fernando Alen's user avatar
4 votes
1 answer
626 views

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 ...
Stefan Lasiewski's user avatar
3 votes
1 answer
6k views

What do compat mean in name service switch?

What do compat mean in name service switch? /etc/nsswitch.conf
Codler's user avatar
  • 178
4 votes
3 answers
1k views

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 ...
startoftext's user avatar
4 votes
1 answer
4k views

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 ...
Chris Phillips's user avatar
2 votes
1 answer
3k views

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 ...
Possa's user avatar
  • 185
1 vote
1 answer
5k views

libpam_ldapd - pam_ldap(sshd:account): 'Could not identify user'

I'm attempting to test the install procedure for libpam_ldapd on an Ubuntu/Debian Virtual machine. I have the nscd / nslcd services off, and I'm watching the output from nslcd -d and /var/log/auth....
thinice's user avatar
  • 4,736
1 vote
1 answer
362 views

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 ...
Kyle Brandt's user avatar
  • 84.4k
41 votes
3 answers
81k views

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's user avatar
  • 1,879