단일 olcRefintAttribute 값에 여러 이름을 제공하는 것은 지원되지 않으며 향후 릴리스에서도 허용되지 않습니다.

단일 olcRefintAttribute 값에 여러 이름을 제공하는 것은 지원되지 않으며 향후 릴리스에서도 허용되지 않습니다.

AlpineLinux 3.15에서 OpenLDAP 2.6.2를 몇 번 사용했기 때문에 이 slapcat명령을 실행하면 다음 경고가 생성됩니다.

Supplying multiple names in a single olcRefintAttribute value is unsupported and will be disallowed in a future version

오버레이 재구축을 olcRefintAttribute위한 속성 값 은 입니다 memberof member owner.

이 경고를 어떻게 해결할 수 있나요? 마이그레이션해야 합니까?

답변1

olcRefintAttribute이 경고는 단일 값을 여러 번 제공하여 해결할 수 있습니다.

sudo ldapmodify -Y EXTERNAL -H ldapi:/// << EOF
dn: olcOverlay={0}refint,olcDatabase={1}mdb,cn=config
changetype: modify
delete: olcRefintAttribute
-
add: olcRefintAttribute
olcRefintAttribute: memberof
olcRefintAttribute: member
olcRefintAttribute: manager
olcRefintAttribute: owner
EOF

관련 정보