Directory Server 5.2.5(Java ES Release 4) 이상을 실행하고 있는 경우 아래 설명된 절차를 따릅니다.
Directory Server 5.2.4(Java ES Release 4)를 실행하고 있는 경우 먼저 패치 5.2_Patch_4_6313027을 적용한 후 다음 절차를 시작해야 합니다.
이전 버전의 Directory Server를 실행하고 있는 경우 시작하기 전에 먼저 Directory Server 5.2.5 이상으로 업그레이드해야 합니다.
Directory Server 패치에 액세스하려면 http://sunsolve.sun.com으로 이동합니다.
다음 줄이 포함된 텍스트 파일을 생성합니다. 파일에 표시된 매개 변수를 사용자의 설치에 맞는 값으로 바꿉니다.
dn: cn=Uniqueness in Attribute Set,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin objectClass: ds-signedPlugin objectClass: extensibleObject cn: Uniqueness in Attribute Set nssldap-pluginPath: server_root/lif/uid-plugin.so nsslapd-pluginInitfunc: NSUniqueAttrSet_Init nsslapd-pluginType: preoperation nsslapd-pluginEnabled: on nsslapd-pluginarg0: attributeset=mail,mailalternateaddress,mailequivalentaddress nsslapd-pluginarg1: ugldapbasedn nsslapd-plugin-depends-on-type: database nsslapd-pluginId: NSUniqueAttrSet nsslapd-pluginVersion: 5.2 nsslapd-pluginVendor: Sun Microsystems, Inc. nsslapd-pluginDescription: Enforce unique values among an attribute set |
다음 매개 변수를 변경합니다.
server_root를 Directory Server가 설치된 디렉토리로 바꿉니다. 예를 들면 /var/opt/mps/serverroot로 바꿉니다.
ugldapbasedn을 루트 접미어로 바꿉니다. 이 접미어 아래에 있는 모든 항목에 대해 고유성 검사가 수행됩니다.
Directory Server를 중지합니다.
수정한 텍스트 파일을 Directory Server dse.ldif 파일에 추가합니다.
dse.ldif 파일의 위치:
dse.ldif 파일은 다음 디렉토리에 있습니다.
server_root/slapd- machine_name/config
여기서
server_root는 Directory Server가 설치된 디렉토리입니다. 예를 들면 /var/opt/mps/serverroot입니다.
machine_name은 Directory Server가 설치된 호스트 시스템의 이름입니다.
텍스트 파일 추가 위치:
dse.ldif 파일의 uid uniqueness 섹션 뒤에 텍스트 파일을 추가합니다. 이 섹션의 첫 번째 줄(dn)은 다음과 같습니다.
dn: cn=uid uniquenss,cn=plugins,cn=config
Directory Server를 다시 시작합니다.
Directory Server가 시작되면 수정된 dse.ldif 파일을 디렉토리에 설치합니다.
dse.ldif 파일에 오류가 발생하여 Directory Server가 시작되지 않을 경우 샘플 텍스트 파일에서 매개 변수를 바꿀 때 사용했던 값을 확인합니다. LDAP 루트 접미어, Directory Server 설치 경로 및 호스트 시스템이 설치 내용에 맞게 정확해야 합니다.
여전히 Directory Server가 시작되지 않으면 최후의 수단으로 dse.ldif 파일에서 텍스트 파일을 제거하고 Directory Server를 다시 시작할 수 있습니다.