LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-28-2019, 06:44 AM   #1
lelunicu
Member
 
Registered: Jun 2019
Posts: 105

Rep: Reputation: 0
kerberos


hi,
i have rhel using sssd ->the back end is AD(active directory)
i like to find out how the authentication work.
i think in order to authenticate is using kerberos (AD is configured with kerberos).
What is the role of AD?mean that the users are seeking in AD then the authentication is done with kerberos?
or the authentication is done with kerberos and authorization(cifs share) is done with AD.
tnx

Last edited by lelunicu; 08-28-2019 at 06:46 AM.
 
Old 08-28-2019, 04:11 PM   #2
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 243

Rep: Reputation: Disabled
It depends on how your SSSD configuration. SSSD can use LDAP or Kerberos. Look at the SSSD configuration files in /etc/sssd
 
Old 08-29-2019, 01:50 AM   #3
lelunicu
Member
 
Registered: Jun 2019
Posts: 105

Original Poster
Rep: Reputation: 0
sudo more /etc/krb5.conf
[sudo] password for entraam:
# Configuration snippets may be placed in this directory as well
includedir /etc/krb5.conf.d/

includedir /var/lib/sss/pubconf/krb5.include.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
# default_realm = EXAMPLE.COM
default_ccache_name = KEYRINGersistent:%{uid}

default_realm = DCP.ERICSSON.NET
[realms]
# EXAMPLE.COM = {
# kdc = kerberos.example.com
# admin_server = kerberos.example.com
# }

DCP.ERICSSON.NET = {
}

[domain_realm]
# .example.com = EXAMPLE.COM
# example.com = EXAMPLE.COM
dcp.ericsson.net = DCP.ERICSSON.NET
.dcp.ericsson.net = DCP.ERICSSON.NET
sudo more /etc/sssd/sssd.conf
[sssd]
domains = dcp.ericsson.net
config_file_version = 2
services = nss, pam


[domain/dcp.ericsson.net]
ad_domain = dcp.ericsson.net
krb5_realm = DCP.ERICSSON.NET
realmd_tags = manages-system joined-with-samba
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = False
fallback_homedir = /home/%u
access_provider = ad
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh and kerberos error: Server not found in Kerberos database Felipe Linux - Server 1 01-17-2011 03:12 AM
Why does ftp give kerberos warnings? SForsgren Linux - General 0 04-27-2003 02:40 PM
Kerberos krieger Linux - Security 1 01-29-2002 01:40 PM
IBM DB2 with Kerberos fenriswolf Linux - Security 0 10-11-2001 12:50 PM
Kerberos daemon emanners Linux - General 1 06-20-2001 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration