From 0cb4658d4bc7e40a6ee2cbf16c2a0787e98b5784 Mon Sep 17 00:00:00 2001 From: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Date: Sat, 28 Jun 2025 13:59:39 +0300 Subject: [PATCH] ldapsearch: add long options to Korean translation, fix double-spaces (#16863) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages.ko/common/ldapsearch.md | 16 ++++++++-------- pages/common/ldapsearch.md | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pages.ko/common/ldapsearch.md b/pages.ko/common/ldapsearch.md index c226b62c58..92e9cda193 100644 --- a/pages.ko/common/ldapsearch.md +++ b/pages.ko/common/ldapsearch.md @@ -5,32 +5,32 @@ - 주어진 그룹의 멤버인 모든 항목을 LDAP 서버에서 쿼리하고 객체의 displayName 값을 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' displayName` - 줄바꿈 없는 비밀번호 파일을 사용하여 주어진 그룹의 멤버인 모든 항목을 LDAP 서버에서 쿼리하고 객체의 displayName 값을 반환: -`ldapsearch -D '{{관리자_DN}}' -y '{{비밀번호_파일}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-u|--keyStorePasswordFile]}} '{{비밀번호_파일}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' displayName` - 주어진 필터에 맞는 5개의 항목 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' -z 5 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` - 응답을 최대 7초 동안 대기: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' -l 7 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` - 필터 반전: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '(!(memberOf={{group1}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '(!(memberOf={{group1}}))' displayName` - 여러 그룹에 속한 모든 항목을 반환하고 각 항목의 display name 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` - 지정된 그룹 중 적어도 1개에 속한 모든 항목 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` - 여러 부울 논리 필터 결합: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` diff --git a/pages/common/ldapsearch.md b/pages/common/ldapsearch.md index dd81da1fb9..b5feda442d 100644 --- a/pages/common/ldapsearch.md +++ b/pages/common/ldapsearch.md @@ -9,28 +9,28 @@ - Query an LDAP server with a no-newline password file for all items that are a member of the given group and return the object's displayName value: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-u|--keyStorePasswordFile]}} '{{password_file}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-u|--keyStorePasswordFile]}} '{{password_file}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' displayName` - Return 5 items that match the given filter: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` - Wait up to 7 seconds for a response: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` - Invert the filter: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '(!(memberOf={{group1}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '(!(memberOf={{group1}}))' displayName` - Return all items that are part of multiple groups, returning the display name for each item: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` - Return all items that are members of at least 1 of the specified groups: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` - Combine multiple boolean logic filters: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName`