linux authentication


I have installed git on my windows machine. When I ssh into a linux box (username and password) I use to get into linux are active directory username and password. Where in fedora is it configured that where would it get authenticated from ?
Who is Participating?
JammyPakConnect With a Mentor Commented:
have a look in /etc/ldap.conf and /etc/nsswitch.conf - your AD info could be defined in there
aasheeAuthor Commented:

What is difference between these two files ?
Jerry MillerConnect With a Mentor Commented:
/etc/ldap.conf contains configuration information for which server holds your LDAP information.

/etc/nsswitch.conf is used to configure which services are to be used to determine information such as hostnames, password files, and group files.
Hi.. have you try this link..
u need to add your linux client with ADC
There are 2 alternatives to authenticate against Active Directory:

Using the kerberos client (requires Active Directory)
Using Winbind & samba client
In my opinion, option 1 is the cleanest. I definitely found it more simple to setup. Option 2 offers some additional features, notably the use of th net command through which you can enumerate domain users and more. However on most workstations this will not be required. Therefore, if you have active directory i recommend option 1.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.