i have played with password syntax, enabling and disabling and restarting each time dirsrv, until i was not able to see anything in the directory tree then, i logged off by admin console and when i try to access again i see Cannot connect to directory server: netscape.ldap.LDAPException: error result(49): password expired!; Invalid Credentials i followed Rich suggestion and i read this: http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt but i cannot find anything o=netscaperoot related: /usr/bin/ldapsearch -x -b o=netscaperoot -D "cn=directory manager" -w xxxx "objectclass=nsAdminConfig" # extended LDIF # # LDAPv3 # base <o=netscaperoot> with scope subtree # filter: objectclass=nsAdminConfig # requesting: ALL # # search result search: 2 result: 0 Success # numResponses: 1 so admin config was lost? can i recover in same way? should i reinstall again? tia -m
----- The following is an automated response ----- to your message generated on behalf of david.donnan@thalesgroup.com Subject: Out of the office Hello. I''m out of the office from 10 July 2009 until 20 July 2009 (inclusive). Thanks, David (Dave) Donnan
Maurizio Marini wrote:> i have played with password syntax, enabling and disabling and restarting each time dirsrv, > until i was not able to see anything in the directory tree > > then, i logged off by admin console and when i try to access again i see > Cannot connect to directory server: > netscape.ldap.LDAPException: error result(49): password expired!; Invalid Credentials > > i followed Rich suggestion and i read this: > http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt > > but i cannot find anything o=netscaperoot related: > /usr/bin/ldapsearch -x -b o=netscaperoot -D "cn=directory manager" -w xxxx "objectclass=nsAdminConfig" > # extended LDIF > # > # LDAPv3 > # base <o=netscaperoot> with scope subtree > # filter: objectclass=nsAdminConfig > # requesting: ALL > # > > # search result > search: 2 > result: 0 Success > > # numResponses: 1 > > > so admin config was lost? can i recover in same way? > should i reinstall again? >What version of DS? What platform? Are you sure you are searching your configuration directory server? Do you have more than one directory server? Do you have anything under o=NetscapeRoot? /usr/bin/ldapsearch -x -b o=netscaperoot -D "cn=directory manager" -w xxxx "objectclass=*" What''s in /etc/dirsrv/admin-serv/adm.conf?> tia > > -m > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
On Wednesday 15 July 2009, Rich Megginson wrote:> > What version of DS? What platform?cat /etc/redhat-release CentOS release 5.3 (Final) uname -a Linux pdc.xxxxx.it 2.6.18-128.1.14.el5 #1 SMP Wed Jun 17 06:40:54 EDT 2009 i686 i686 i386 GNU/Linux> > Are you sure you are searching your configuration directory server? Do > you have more than one directory server?no, only one installed on Sunday> > Do you have anything under o=NetscapeRoot? > > /usr/bin/ldapsearch -x -b o=netscaperoot -D "cn=directory manager" -w xxxx > "objectclass=*" >i have only this scrolling up my konsole: ldapsearch -x -D "cn=directory manager" -w xxxxxx -s base -b "" "objectclass=*" # extended LDIF # # LDAPv3 # base <> with scope baseObject # filter: objectclass=* # requesting: ALL # # dn: objectClass: top namingContexts: dc=xxxxx, dc=it namingContexts: o=netscaperoot supportedExtension: 2.16.840.1.113730.3.5.7 supportedExtension: 2.16.840.1.113730.3.5.8 supportedExtension: 2.16.840.1.113730.3.5.10 supportedExtension: 2.16.840.1.113730.3.5.3 supportedExtension: 2.16.840.1.113730.3.5.5 supportedExtension: 2.16.840.1.113730.3.5.6 supportedExtension: 2.16.840.1.113730.3.5.9 supportedExtension: 2.16.840.1.113730.3.5.4 supportedExtension: 1.3.6.1.4.1.4203.1.11.1 supportedControl: 2.16.840.1.113730.3.4.2 supportedControl: 2.16.840.1.113730.3.4.3 supportedControl: 2.16.840.1.113730.3.4.4 supportedControl: 2.16.840.1.113730.3.4.5 supportedControl: 1.2.840.113556.1.4.473 supportedControl: 2.16.840.1.113730.3.4.9 supportedControl: 2.16.840.1.113730.3.4.16 supportedControl: 2.16.840.1.113730.3.4.15 supportedControl: 2.16.840.1.113730.3.4.17 supportedControl: 2.16.840.1.113730.3.4.19 supportedControl: 1.3.6.1.4.1.42.2.27.8.5.1 supportedControl: 1.3.6.1.4.1.42.2.27.9.5.2 supportedControl: 2.16.840.1.113730.3.4.14 supportedControl: 2.16.840.1.113730.3.4.20 supportedControl: 1.3.6.1.4.1.1466.29539.12 supportedControl: 2.16.840.1.113730.3.4.12 supportedControl: 2.16.840.1.113730.3.4.18 supportedControl: 2.16.840.1.113730.3.4.13 supportedSASLMechanisms: EXTERNAL supportedSASLMechanisms: DIGEST-MD5 supportedSASLMechanisms: PLAIN supportedSASLMechanisms: CRAM-MD5 supportedSASLMechanisms: GSSAPI supportedSASLMechanisms: ANONYMOUS supportedSASLMechanisms: LOGIN supportedLDAPVersion: 2 supportedLDAPVersion: 3 vendorName: Fedora Project vendorVersion: Fedora-Directory/1.2.0 B2009.118.1756 dataversion: 020090715072101020090715072101 netscapemdsuffix: cn=ldap://dc=pdc,dc=xxxxx,dc=it:389 # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1> What''s in /etc/dirsrv/admin-serv/adm.conf?i have not saved it, i have reinstalled later -- Maurizio Marini Via Collemare, 14 - 61039 San Costanzo (PU) - Italy GSM +39-335-8259739 RTG : +39-0721950396 0721870286 Skype: maumar@datalogica.com C.F. MRNMRZ59E17G920X P. Iva: 01332360419
On Wednesday 15 July 2009, Rich Megginson wrote:> What version of DS? What platform?i forget to report this: rpm -qa |grep fedora fedora-ds-admin-console-1.1.3-1.fc6 fedora-idm-console-1.1.3-1.fc6 fedora-ds-dsgw-1.1.2-1.fc6 fedora-ds-admin-1.1.7-3.fc6 fedora-ds-1.1.3-1.fc6 fedora-ds-console-1.2.0-1.fc6 fedora-ds-base-1.2.0-2.fc6 -m