지금 Iiplanet ldap 서버를 윈도우에서 설치를 하고
처음 ldap의 디렉토리 서버를 구경한 사람입니다
JNDI를 이용해서 LDAP 서버에 내용을 검색만 해 봤는데요
LDAP으로 사용자를 추가 하려고 합니다
책을 보니깐(원서 ㅠㅠ) 사용자 인증 부터 해야 된다고 되어 있던데요
env.put(Context.SECURITY_PRINCIPAL, "이부분...");
"이부분"에 뭐가 들어 가야되는지 잘 모르겠습니다
ldif에 정의된 dn을 써주는 부분 같은데 자꾸 이거때문에 익셉션이 뜨는거 같은데요.
보니깐 여기에 cn=Manager 이게 들어 가는거 같은데 이건 뭔지도 모르겠구요 Common Name인가요??
ldap 프로토콜을 이용해서 저장 하기 위해서 무엇 무엇을 해줘야 되는지
그리고 ldap은 프로토콜인데... 백단에 db를 설치 안하고 저장이 가능한지?? 보니깐 ldap 서버 백단에 db2를 사용하는거 같은데...
저장 하기 위한 설정 및 저장 방법에 대해 알고 싶습니다
또 사용자 정보를 넣기 위해서는 ENTRY 추가 후 ADD 해서 넣어야 하는건지... 아니면 다른 방법이 있는지... 궁금합니다
고수님들 제발 살려 주세요~~
두서가 맞지가 않은점 이해해 주세요...
|