All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

Change authentication order GNU/Linux

I've got a CentOS7 server joined to a Windows Active Directory Server. I'm trying to connect to CentOS using my Active Directory credentials but it seems that it checks the local account as first step ...
0
votes
3answers
1k views

find user name through full name / gecos field?

Given a system where the user data comes from e.g. an OpenLDAP database and is not in the /etc/passwd file. Is it possible to search through the getent passwd database and look up the user id/name by ...
3
votes
1answer
193 views

Determine which name service created entry in database (eg passwd)?

On Linux and Unix-like systems the Name Service Switch is used to gather entries for the systems name databases. There are databases such as files, dns, nis and ldap. Is it possible to determine for ...
3
votes
1answer
415 views

Creating Unix local groups for AD users

I am implementing LDAP authentication against Samba 4 AD for admins login to our Linux servers. I successfully configured PAM with libpam-ldapd and libnss_ldapd with auto creation of the home ...
2
votes
0answers
791 views

How to add all netgroup members to a group

I have multiple virtualized servers, all configured to use LDAP for their passwd/shadow (in nsswitch.conf) and authentication (PAM). I would like to have an easily configurable set of users who will ...
0
votes
0answers
426 views

Doesn't these program respect nsswitch?

I've set up LDAP and nsswitch on ubuntu and to some extent it seem to work. For example getent passwd lists accounts from both /etc/passwd and LDAP server. However for example id <user>, sudo -...
1
vote
0answers
3k views

LDAP: Local and remote user with same username

I have configured an openLDAP server with LDAP user and group ids beginning at 10000. My client successfully binds to the LDAP server via ldapsearch. Additionally, getent passwd|group returns a full ...
2
votes
1answer
332 views

How to disconnect a server from LDAP

I have a Fedora server configured for LDAP. However, the LDAP server is gone, and now I'm unable to SSH into it. I've rebooted the server into single-user mode, brought up eth0 and started sshd, but ...
1
vote
2answers
13k views

getent passwd when nsswitch passwd setting is: files ldap

If /etc/nsswitch.conf has: passwd: files ldap this line in it, and I do getent passwd will it first run down the /etc/passwd list and then go through every user in LDAP? That seems to be what's ...