1.6. 기본 이름 지정 컨텍스트 변경


이름 지정 컨텍스트는 해당 DIT의 항목에 대한 루트 네임스페이스를 정의하는 디렉터리 트리(DIT)의 속성입니다. 여러 루트 접미사가 있는 인스턴스에서 데이터를 구성할 때 각각 다른 이름 지정 컨텍스트를 사용하여 인스턴스에 여러 개의 DIT가 있습니다.

이 절차에서는 인스턴스에서 여러 루트 접미사로 작업할 때 명령줄에 대한 기본 이름 지정 컨텍스트를 변경하는 방법을 설명합니다.

인스턴스에 액세스하는 클라이언트는 사용해야 하는 이름 지정 컨텍스트를 인식하지 못할 수 있습니다. Directory Server는 클라이언트에 알려진 이름 지정 컨텍스트의 다른 구성이 없는 경우 클라이언트에 기본 이름 지정 컨텍스트를 신호를 보냅니다.

cn=confignsslapd-defaultnamingcontext 속성에 기본 이름 지정 컨텍스트를 설정합니다. Directory Server는 이 값을 Directory Server Agent Service Entry(루트 DSE)에 전파하고 클라이언트가 이 값을 비정상적으로 쿼리할 수 있습니다.

사전 요구 사항

  • 인스턴스의 기본 이름 지정 컨텍스트를 정의하는 루트 접미사를 생성했습니다.

절차

  1. 선택 사항: 현재 기본 이름 지정 컨텍스트를 확인합니다.

    # dsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-defaultnamingcontextdsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-defaultnamingcontextdsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-defaultnamingcontextdsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-defaultnamingcontextdsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-defaultnamingcontext
    nsslapd-defaultnamingcontext: dc=example,dc=com
    Copy to Clipboard Toggle word wrap
  2. nsslapd-defaultnamingcontext 매개변수 값을 필수 이름 지정 컨텍스트로 바꿉니다.

    # dsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-defaultnamingcontext=dc=example,dc=netdsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-defaultnamingcontext=dc=example,dc=netdsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-defaultnamingcontext=dc=example,dc=netdsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-defaultnamingcontext=dc=example,dc=netdsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-defaultnamingcontext=dc=example,dc=netdsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-defaultnamingcontext=dc=example,dc=net
    Copy to Clipboard Toggle word wrap

검증

  • 현재 기본 이름 지정 컨텍스트를 봅니다. 값을 업데이트해야 합니다.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat