Questions tagged [nsswitch.conf]

27 questions
1
vote
0 answers

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 /etc/nsswitch.conf? I simply want to auth against a…
cytopia
  • 177
  • 1
  • 14
1
vote
1 answer

/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 nsswitch.conf file, I want that users are first search…
vercetty92
  • 11
  • 5
1
vote
1 answer

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.04 / LTS minimal server image install…
chrisv
  • 287
  • 2
  • 5
1
vote
0 answers

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.840.113556.1.4.1941:=cn=Group1,OU=groupsOU,DC=x I…
Jayen
  • 1,857
  • 4
  • 16
  • 28
1
vote
1 answer

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), 1000(admins) [root@xyz ~]# ps aux [..cutting some…
JMW
  • 1,463
  • 4
  • 19
  • 27
1
vote
1 answer

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.log, My filters / maps I've setup in nslcd.conf are…
thinice
  • 4,716
  • 21
  • 38
0
votes
1 answer

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. LDAP authentication works fine but we have…
ColOfAbRiX
  • 1,080
  • 2
  • 12
  • 23
0
votes
2 answers

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 kernel. I can however just boot to the default Solaris…
Joe
  • 11
  • 2
0
votes
0 answers

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 me please, how to setup it? My nsswitch is…
Dave
  • 13
  • 2
0
votes
1 answer

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 proxy server itself, it did work when I use a…
Ashraf
  • 101
  • 1
  • 1
0
votes
0 answers

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 nsswitch.conf? Specifically, on CentOS 6, I have been…
plong
  • 101
  • 2
-1
votes
2 answers

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 directly, but when i reboot host, changes are lost. I…
Quest Monger
  • 189
  • 2
  • 4
  • 12
1
2