Apache 와 Active Directory의 Kerberos 인증 설정에서 에러가 발생합니다.

prankenmk2의 이미지

안녕하세요.

현재 SVN서버를 Apache와 연동하였고 이걸 AD서버와 ldap로 연동을 성공했습니다.

그런데 호기심이 생겨 커버로스 연동을 테스트 해보고 있는 중인데요...

http://support.microsoft.com/kb/555092

페이지를 보면서 셋팅을 했지만 에러가 발생하고 있습니다.

Apache 에러로그는 아래와 같습니다.

[Tue Nov 01 10:37:48 2011] [error] [client 192.168.0.200] krb5_get_init_creds_password() failed: KDC reply did not match expectations
[Tue Nov 01 10:37:51 2011] [error] [client 192.168.0.200] krb5_get_init_creds_password() failed: KDC reply did not match expectations
[Tue Nov 01 10:37:52 2011] [error] [client 192.168.0.200] krb5_get_init_creds_password() failed: KDC reply did not match expectations
[Tue Nov 01 10:37:53 2011] [error] [client 192.168.0.200] krb5_get_init_creds_password() failed: KDC reply did not match expectations
[Tue Nov 01 10:56:04 2011] [error] [client 192.168.0.200] krb5_get_init_creds_password() failed: KDC reply did not match expectations
[Tue Nov 01 10:56:06 2011] [error] [client 192.168.0.200] krb5_get_init_creds_password() failed: KDC reply did not match expectations

원인은 /etc/krb5.conf 파일 설정 문제로 추측이 되는데 해결법을 찾지 못해 해메고 있습니다.

/etc/krb5.conf 파일 내용은 아래와 같습니다.

====================================================================================
[libdefaults]
ticket_lifetime = 24000
default_realm = NEONEO.COM
dns_lookup_realm = false
dns_lookup_kdc = false

[realms]
neoneo.com = {
kdc = ad-main.neoneo.com:88
}

[domain_realm]
.neoneo.com = NEONEO.COM
neoneo.com = NEONEO.COM

[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}

====================================================================================

쉘에서 kinit svn1@neoneo.com ( AD 계정) 입력 후 패스워드를 입력하면

kinit: KDC reply did not match expectations while getting initial credentials

라는 에러가 발생합니다.

조언 부탁드립니다.!!

감사합니다.