This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# custom ldap.conf for connecting with Server 2003 R2 | |
############### | |
host 10.10.10.1 | |
base dc=domain,dc=com | |
uri ldap://windows-dc-hostname.domain.com/ | |
binddn cn=linux-ldap-user,cn=Users,dc=domain,dc=com | |
bindpw ldap-user-passwd | |
scope sub | |
bind_timelimit 15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# krb5.conf for connecting with Windows Server 2003# | |
############### | |
[logging] | |
kdc = FILE:/var/log/krb5/krb5kdc.log | |
admin_server = FILE:/var/log/krb5/kadmind.log | |
default = SYSLOG:NOTICE:DAEMON | |
[libdefaults] | |
ticket_lifetime = 24000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# /etc/hosts | |
############### | |
# This file describes a number of hostname-to-address | |
# mappings for the TCP/IP subsystem. It is mostly | |
# used at boot time, when no name servers are running. | |
# On small systems, this file can be used instead of a | |
# "named" name server. | |
# Syntax: | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host 10.10.10.10 | |
base dc=example,dc=com | |
uri ldap://server.example.com/ | |
binddn [email protected] | |
bindpw adldapbindpw | |
scope sub | |
ssl no | |
nss_base_passwd dc=example,dc=com?sub | |
nss_base_shadow dc=example,dc=com?sub | |
nss_base_group dc=mydomain,dc=com?sub?&(objectCategory=group)(gidnumber=*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host 10.10.10.10 | |
base dc=example,dc=com | |
binddn cn=ldap,cn=Users,dc=example,dc=com | |
bindpw adldapbindpw | |
scope sub | |
ssl no | |
nss_base_passwd dc=example,dc=com | |
nss_base_shadow dc=example,dc=com | |
nss_base_group dc=example,dc=com | |
nss_map_objectclass posixAccount user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[logging] | |
default = FILE:/var/log/krb5libs.log | |
kdc = FILE:/var/log/krb5kdc.log | |
admin_server = FILE:/var/log/kadmind.log | |
[libdefaults] | |
default_realm = EXAMPLE.COM | |
dns_lookup_realm = true | |
dns_lookup_kdc = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%PAM-1.0 | |
# This file is auto-generated. | |
# User changes will be destroyed the next time authconfig is run. | |
auth required /lib/security/$ISA/pam_env.so | |
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok | |
auth sufficient /lib/security/$ISA/pam_krb5.so | |
auth required /lib/security/$ISA/pam_deny.so | |
account sufficient /lib/security/$ISA/pam_krb5.so | |
account required /lib/security/$ISA/pam_unix.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host 10.10.10.10 | |
base dc=example,dc=com | |
uri ldap://server.example.com/ | |
binddn [email protected] | |
bindpw adldapbindpw | |
scope sub | |
ssl no | |
pam_filter objectClass=User | |
nss_base_passwd dc=example,dc=com?sub | |
nss_base_shadow dc=example,dc=com?sub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[logging] | |
default = FILE:/var/log/krb5libs.log | |
kdc = FILE:/var/log/krb5kdc.log | |
admin_server = FILE:/var/log/kadmind.log | |
[libdefaults] | |
default_realm = EXAMPLE.COM | |
dns_lookup_realm = true | |
dns_lookup_kdc = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule auth_kerb_module modules/mod_auth_kerb.so | |
<Location /secured> | |
AuthType Kerberos | |
AuthName "Kerberos Login" | |
KrbMethodNegotiate On | |
KrbMethodK5Passwd On | |
KrbAuthRealms EXAMPLE.COM | |
Krb5KeyTab /etc/httpd/conf/httpd.keytab | |
require valid-user |