openldap서버를 통하여 samba인증을 하려고 시도하고 있습니다.
# 다음과 같은 버전이 설치되어있습니다.
openldap-2.1.22-8
openldap-servers-2.1.22-8
samba-3.0.1-2
(참고로, samba는 with-ldapsam 옵션을 주고 컴파일했습니다)
# smb.conf 파일의 global에 다음을 추가하였습니다.
ldap admin dn = "cn=root,dc=test,dc=com"
ldap server = localhost
ldap suffix = "ou=users,dc=test,dc=com"
ldap port = 389
ldap ssl = start_tls
passdb backend = ldapsam:ldap://ldap.test.com, guest
이후 smb를 재구동하고 smb client로 접속 테스트를 해보면
아래와 같은 samba 로그가 발생됨니다.
lib/smbldap.c:smbldap_open_connection(610)
Failed to issue the StartTLS instruction: Connect error
인증이 제대로 이루어지지 않은것 같은데,
잘 모르겠군요.
http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html
를 참조하여 설정하고 있는데,
문제가 무엇인지 알수가 없습니다.
고수님의 도움이 필요합니다.
|