История изменений
Исправление olegd, (текущая версия) :
ldapwhoami -xWD «cn=admin,dc=activemq,dc=apache,dc=org» -H «ldap://localhost:389»
Enter LDAP Password: sunflower ldap_connect_to_host: TCP localhost:389 ldap_new_socket: 616 ldap_prepare_socket: 616 ldap_connect_to_host: Trying ::1 389 ldap_pvt_connect: fd: 616 tm: -1 async: 0 attempting to connect: connect success dn:cn=admin,dc=activemq,dc=apache,dc=org
ldapsearch -xWD «cn=admin,dc=activemq,dc=apache,dc=org» -H «ldap://localhost:389» -b «dc=activemq,dc=apache,dc=org»
Выдаёт много строк:
Enter LDAP Password: sunflower ldap_connect_to_host: TCP localhost:389 ldap_new_socket: 628 ldap_prepare_socket: 628 ldap_connect_to_host: Trying ::1 389 ldap_pvt_connect: fd: 628 tm: -1 async: 0 attempting to connect: connect success # extended LDIF # # LDAPv3 # base <dc=activemq,dc=apache,dc=org> with scope subtree # filter: (objectclass=*) # requesting: ALL # # activemq.apache.org dn: dc=activemq,dc=apache,dc=org objectClass: dcObject objectClass: organization objectClass: top dc: activemq o: activemq ......... # search result search: 2 result: 0 Success # numResponses: 38 # numEntries: 37
Вроде, всё работает.
Исходная версия olegd, :
ldapwhoami -xWD «cn=admin,dc=activemq,dc=apache,dc=org» -H «ldap://localhost:389»
Enter LDAP Password: sunflower ldap_connect_to_host: TCP localhost:389 ldap_new_socket: 616 ldap_prepare_socket: 616 ldap_connect_to_host: Trying ::1 389 ldap_pvt_connect: fd: 616 tm: -1 async: 0 attempting to connect: connect success dn:cn=admin,dc=activemq,dc=apache,dc=org
ldapsearch -xWD «cn=admin,dc=activemq,dc=apache,dc=org» -H «ldap://localhost:389» -b «dc=activemq,dc=apache,dc=org»
Выдаёт много всего. В конце:
# search result search: 2 result: 0 Success # numResponses: 38 # numEntries: 37
Вроде, всё работает.