2014-02-19 5 views
0

나는 된 OpenDS 패키지를 (이 부드럽고 매우 큰 LDAP입니다)를 사용하고 난 연구와 I를했다ldappaswordmodify는 -w 허용하지 않습니다 - 옵션

:~# ldappasswordmodify --version 
OpenDS Directory Server 2.2.0 
Build 20091123144827Z 
-- 
      Name     Build number   Revision number  
Extension: snmp-mib2605   2.2.0    6181   

~# ldappasswordmodify -h localhost -D "cn=Directory Manager" -w - -a "dn:uid=user,ou=People,dc=acme,dc=org"An error occurred while attempting to connect to the Directory Server: The 
simple bind attempt failed 
:~# ldappasswordmodify -h localhost -D "cn=Directory Manager" -w xxxxxxx -a "dn:uid=user,ou=People,dc=acme,dc=org" 
The LDAP password modify operation was successful 
Generated Password: F8F2R1W6V 

ldappasswordmodify 명령의 옵션으로 작은 문제가 생겼어요 오라클 사이트에서 이걸 발견 : 내가 뭘 잘못했는지 http://docs.oracle.com/cd/E19623-01/820-6171/ldappasswordmodify.html

-w, --bindPassword bindPassword 

    Use the bind password when authenticating to the directory server. This option can be used for simple authentication as well as password-based SASL mechanisms. This option must not be used in conjunction with --bindPasswordFile. To prompt for the password, type -w -. 

? 도움 주셔서 감사합니다. 어쨌든

:~# read -s A ; ldappasswordmodify -h localhost -D "cn=Directory Manager" -w $A -a "dn:uid=user,ou=People,dc=acme,dc=org" 
The LDAP password modify operation was successful 
Generated Password: F8F2R1W6V 

감사 :

답변

0

나는이 라인의 작업을 발견