<meta charset="utf-8">well hello all, seems I&#39;m having this problem myself....fresh install, and when I go to the configuration tab of the 389-console it tells me:<div><br></div><div>&quot;The user uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot does not have permission to perform this operation.&quot;</div>
<div><br></div><div>When I click ok, a box appears asking for DN/pass.  If I put the password in the box...it continues on with no errors (thus the &quot;mind annoyance&quot;).  Then again, if I just click &quot;ok&quot; and then &quot;cancel&quot; (meaning, I don&#39;t put in new credentials) the config tab works then too.  I don&#39;t actually see in the logs either what it is that I&#39;m not being allowed to do, it seems to just be a superfluous re-prompting for the password.  On a lark, I tried putting in the /wrong/ password...which it did indeed not like, telling me &quot;invalid credentials.&quot;  Clicked ok, then cancel...and I&#39;m able to access the configuration tab even after putting in the wrong pass and not correcting it.  I&#39;m assuming it is just using the original credentials that should have prevented the initial error in the first place, even though I tried putting in new credentials...</div>
<div><br></div><div>Again, fresh install, on a fresh build of Fedora14.  I am tunneling the console, but that shouldn&#39;t matter (?).  Is this just a bug in 389-console?  Should I open a ticket?  I&#39;m going to continue past it, since it...doesn&#39;t seem to be stopping me from doing anything.  I&#39;m using the standard repos, everything is current:</div>
<div><br></div><div><div>389-admin-console-1.1.5-1.fc14.noarch</div><div>389-admin-console-doc-1.1.5-1.fc14.noarch</div><div>389-adminutil-1.1.13-1.fc14.x86_64</div><div>389-admin-1.1.13-2.fc14.x86_64</div><div>389-ds-console-1.2.3-1.fc14.noarch</div>
<div>389-ds-console-doc-1.2.3-1.fc14.noarch</div><div>389-console-1.1.4-1.fc14.noarch</div><div>389-ds-base-1.2.7.5-1.fc14.x86_64</div><div>389-dsgw-1.1.6-1.fc14.x86_64</div><div>389-ds-1.2.1-1.fc14.noarch</div></div><div>
<br></div><div>Did I miss the response about what might have been causing this?</div><div><br></div><div>Brian</div><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 4:00 AM, trisooma <span dir="ltr">&lt;<a href="mailto:trisooma@xs4all.nl">trisooma@xs4all.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">&gt; On 11/30/2010 04:33 PM, trisooma wrote:<br>
&gt;&gt;&gt; On 11/30/2010 02:32 PM, Trisooma wrote:<br>
&gt;&gt;&gt;&gt;     On 11/30/2010 10:23 PM, Rich Megginson wrote:<br>
&gt;&gt;&gt;&gt;&gt; On 11/30/2010 02:20 PM, trisooma wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; If i am reading the code correctly (and looking at the logging<br>
&gt;&gt;&gt;&gt;&gt;&gt; below), the<br>
&gt;&gt;&gt;&gt;&gt;&gt; line that has a severity of &#39;crit&#39; should dump info for the ldap<br>
&gt;&gt;&gt;&gt;&gt;&gt; server we<br>
&gt;&gt;&gt;&gt;&gt;&gt; are connecting to.<br>
&gt;&gt;&gt;&gt;&gt;&gt; In my case (and Eric&#39;s too) only &#39;ldap://:389&#39; is printed; sometimes<br>
&gt;&gt;&gt;&gt;&gt;&gt; even<br>
&gt;&gt;&gt;&gt;&gt;&gt; with an odd number like 23395496 (see Eric&#39;s first post).<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; [Tue Nov 30 22:01:43 2010] [crit] openLDAPConnection():<br>
&gt;&gt;&gt;&gt;&gt;&gt; util_ldap_init<br>
&gt;&gt;&gt;&gt;&gt;&gt; failed for ldap://:389<br>
&gt;&gt;&gt;&gt;&gt;&gt; [Tue Nov 30 22:01:43 2010] [warn] Unable to open initial<br>
&gt;&gt;&gt;&gt;&gt;&gt; LDAPConnection to<br>
&gt;&gt;&gt;&gt;&gt;&gt; populate LocalAdmin tasks into cache.<br>
&gt;&gt;&gt;&gt;&gt;&gt; [Tue Nov 30 22:01:44 2010] [notice] Apache/2.2.17 (Unix) configured<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; resuming normal operations<br>
&gt;&gt;&gt;&gt;&gt;&gt; [Tue Nov 30 22:01:44 2010] [crit] openLDAPConnection():<br>
&gt;&gt;&gt;&gt;&gt;&gt; util_ldap_init<br>
&gt;&gt;&gt;&gt;&gt;&gt; failed for ldap://:389<br>
&gt;&gt;&gt;&gt;&gt;&gt; [Tue Nov 30 22:01:44 2010] [warn] Unable to open initial<br>
&gt;&gt;&gt;&gt;&gt;&gt; LDAPConnection to<br>
&gt;&gt;&gt;&gt;&gt;&gt; populate LocalAdmin tasks into cache.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The code that logs this error looks like this<br>
&gt;&gt;&gt;&gt;&gt;&gt; [mod_admserv/mod_admserv.c:517]<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;            ap_log_error(APLOG_MARK, APLOG_CRIT, 0 /* status */,<br>
&gt;&gt;&gt;&gt;&gt;&gt; NULL,<br>
&gt;&gt;&gt;&gt;&gt;&gt;                         &quot;openLDAPConnection(): util_ldap_init failed<br>
&gt;&gt;&gt;&gt;&gt;&gt; for<br>
&gt;&gt;&gt;&gt;&gt;&gt; ldap%s://%s:%d&quot;,<br>
&gt;&gt;&gt;&gt;&gt;&gt;                         data-&gt;secure ? &quot;s&quot; : &quot;&quot;,<br>
&gt;&gt;&gt;&gt;&gt;&gt;                         data-&gt;host, data-&gt;port);<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; It seems that the struct &#39;data&#39; is not filled with the correct<br>
&gt;&gt;&gt;&gt;&gt;&gt; values.<br>
&gt;&gt;&gt;&gt;&gt; That&#39;s why I asked for your /etc/dirsrv/admin-serv/adm.conf -<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://lists.fedoraproject.org/pipermail/389-users/2010-November/012548.html" target="_blank">http://lists.fedoraproject.org/pipermail/389-users/2010-November/012548.html</a><br>
&gt;&gt;&gt;&gt; My bad, see<br>
&gt;&gt;&gt;&gt; <a href="http://lists.fedoraproject.org/pipermail/389-users/2010-November/012551.html" target="_blank">http://lists.fedoraproject.org/pipermail/389-users/2010-November/012551.html</a><br>
&gt;&gt;&gt; First, upgrade to the latest versions of these components from the<br>
&gt;&gt;&gt; testing repo<br>
&gt;&gt;&gt; yum upgrade --enablerepo=updates-testing 389-admin 389-ds-base<br>
&gt;&gt;&gt; 389-adminutil<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Then, run<br>
&gt;&gt;&gt; <a href="http://setup-ds-admin.pl" target="_blank">setup-ds-admin.pl</a> -u<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Then try<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ldapsearch -x -LLL -H ldap://<a href="http://icicle.phasma.nl:389/" target="_blank">icicle.phasma.nl:389/</a> -D<br>
&gt;&gt;&gt; &quot;uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot&quot; -w<br>
&gt;&gt;&gt; youradminpassword -s base -b &quot;cn=389 Administration Server,cn=Server<br>
&gt;&gt;&gt; Group,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; and<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ldapsearch -x -LLL -H ldap://<a href="http://icicle.phasma.nl:389/" target="_blank">icicle.phasma.nl:389/</a> -D<br>
&gt;&gt;&gt; &quot;uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot&quot; -w<br>
&gt;&gt;&gt; youradminpassword -s base -b &quot;cn=admin-serv-icicle,cn=389<br>
&gt;&gt;&gt; Administration<br>
&gt;&gt;&gt; Server,cn=Server Group,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt; Using the above i can confirm that i can now use the console to log in<br>
&gt;&gt; and<br>
&gt;&gt; administer my DS (though i had to remove selinux-policy-targeted). The<br>
&gt;&gt; command &#39;<a href="http://setup-ds-admin.pl" target="_blank">setup-ds-admin.pl</a> -u&#39; ran without a hitch.<br>
&gt;&gt;<br>
&gt;&gt; the results of both ldap queries are below:<br>
&gt;&gt;<br>
&gt;&gt; [root@icicle /]# ldapsearch -x -LLL -H ldap://<a href="http://icicle.phasma.nl:389/" target="_blank">icicle.phasma.nl:389/</a> -D<br>
&gt;&gt; &quot;uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot&quot; -W -s<br>
&gt;&gt; base -b &quot;cn=389 Administration Server,cn=Server<br>
&gt;&gt; Group,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot&quot;<br>
&gt;&gt; Enter LDAP Password:<br>
&gt;&gt; dn: cn=389 Administration Server,cn=Server<br>
&gt;&gt; Group,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=phasma<br>
&gt;&gt;   .nl,o=NetscapeRoot<br>
&gt;&gt; nsBuildSecurity: domestic<br>
&gt;&gt; objectClass: top<br>
&gt;&gt; objectClass: nsApplication<br>
&gt;&gt; objectClass: groupOfUniqueNames<br>
&gt;&gt; cn: 389 Administration Server<br>
&gt;&gt; nsVendor: 389 Project<br>
&gt;&gt; installationTimeStamp: 20101124210830Z<br>
&gt;&gt; nsBuildNumber: 2010.328.157<br>
&gt;&gt; uniqueMember: cn=admin-serv-icicle,cn=389 Administration<br>
&gt;&gt; Server,cn=Server<br>
&gt;&gt; Grou<br>
&gt;&gt;   p,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot<br>
&gt;&gt; nsServerMigrationClassname:<br>
&gt;&gt; com.netscape.management.admserv.AdminServerProduct<br>
&gt;&gt;   @389-admin-1.1.jar<br>
&gt;&gt; nsProductName: 389 Administration Server<br>
&gt;&gt; nsProductVersion: 1.1.13<br>
&gt;&gt; nsNickName: admin<br>
&gt;&gt;<br>
&gt;&gt; [root@icicle /]# ldapsearch -x -LLL -H ldap://<a href="http://icicle.phasma.nl:389/" target="_blank">icicle.phasma.nl:389/</a> -D<br>
&gt;&gt; &quot;uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot&quot; -W -s<br>
&gt;&gt; base -b &quot;cn=admin-serv-icicle,cn=389 Administration Server,cn=Server<br>
&gt;&gt; Group,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot&quot;<br>
&gt;&gt; Enter LDAP Password:<br>
&gt;&gt; dn: cn=admin-serv-icicle,cn=389 Administration Server,cn=Server<br>
&gt;&gt; Group,cn=icicl<br>
&gt;&gt;   <a href="http://e.phasma.nl" target="_blank">e.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot<br>
&gt;&gt; objectClass: top<br>
&gt;&gt; objectClass: netscapeServer<br>
&gt;&gt; objectClass: nsAdminServer<br>
&gt;&gt; objectClass: nsResourceRef<br>
&gt;&gt; objectClass: groupOfUniqueNames<br>
&gt;&gt; serverHostName: <a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a><br>
&gt;&gt; cn: admin-serv-icicle<br>
&gt;&gt; installationTimeStamp: 20101124210830Z<br>
&gt;&gt; serverProductName: Administration Server<br>
&gt;&gt; uniqueMember: cn=admin-serv-icicle,cn=389 Administration<br>
&gt;&gt; Server,cn=Server<br>
&gt;&gt; Grou<br>
&gt;&gt;   p,cn=<a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>,ou=<a href="http://phasma.nl" target="_blank">phasma.nl</a>,o=NetscapeRoot<br>
&gt;&gt; nsServerID: admin-serv<br>
&gt;&gt;<br>
&gt;&gt; I proceeded to restart dirsrv-admin, and the log now looks like this:<br>
&gt;&gt;<br>
&gt;&gt; [Tue Nov 30 23:59:20 2010] [notice] Access Host filter is: *.<a href="http://phasma.nl" target="_blank">phasma.nl</a><br>
&gt;&gt; [Tue Nov 30 23:59:20 2010] [notice] Access Address filter is: *<br>
&gt;&gt; [Tue Nov 30 23:59:21 2010] [notice] Apache/2.2.17 (Unix) configured --<br>
&gt;&gt; resuming normal operations<br>
&gt;&gt; [Tue Nov 30 23:59:21 2010] [notice] Access Host filter is: *.<a href="http://phasma.nl" target="_blank">phasma.nl</a><br>
&gt;&gt; [Tue Nov 30 23:59:21 2010] [notice] Access Address filter is: *<br>
&gt;&gt; [Wed Dec 01 00:00:17 2010] [notice] [client 127.0.0.1]<br>
&gt;&gt; admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1<br>
&gt;&gt; [Wed Dec 01 00:00:18 2010] [notice] [client 127.0.0.1]<br>
&gt;&gt; admserv_check_authz(): passing [/admin-serv/authenticate] to the<br>
&gt;&gt; userauth<br>
&gt;&gt; handler<br>
&gt;&gt; [Wed Dec 01 00:00:33 2010] [notice] [client 192.168.134.10]<br>
&gt;&gt; admserv_host_ip_check: ap_get_remote_host could not resolve<br>
&gt;&gt; 192.168.134.10<br>
&gt;&gt; [Wed Dec 01 00:00:33 2010] [error] [client 192.168.134.10] File does not<br>
&gt;&gt; exist: /usr/share/dirsrv/html/java/jars<br>
&gt; This should be ok - it should fallback to /usr/share/dirsrv/html/java<br>
&gt;&gt; Still some errors are visible in the logfile,<br>
&gt; The one marked [error] above, or are there others?  [notice] messages<br>
&gt; are ok.<br>
<br>
</div></div>No, this is the only one marked as error.<br>
<div class="im"><br>
&gt;&gt; but i can log in and add<br>
&gt;&gt; users/groups using the console. When i navigate to &#39;Directory Server&#39;&gt;<br>
&gt;&gt; &#39;Configuration&#39; i get the following error message:<br>
&gt;&gt; &#39;Insufficient Permissions&#39;: The user<br>
&gt;&gt; uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot does<br>
&gt;&gt; not<br>
&gt;&gt; have permission to perform this operation.<br>
&gt;&gt; When i enter the correct credentials, it seems that everything is<br>
&gt;&gt; working<br>
&gt;&gt; as it is supposed to.<br>
&gt; &quot;correct credentials&quot;?<br>
<br>
</div>the password that is set for uid=admin,.......; This is only a minor<br>
annoyance, however it does seem strange that i am asked for the password<br>
again.<br>
<div class="im"><br>
&gt;&gt; The log complains about not being able to do a reverse lookup on<br>
&gt;&gt; 192.168.134.10, but this seems wrong (DNS works both ways):<br>
&gt; Yes.  See /etc/dirsrv/admin-serv/console.conf - HostnameLookups<br>
<br>
</div>oke, got it.<br>
<div><div></div><div class="h5"><br>
&gt;&gt; [shadowuser@icicle ~]$ host 192.168.134.10<br>
&gt;&gt; 10.134.168.192.in-addr.arpa domain name pointer <a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a>.<br>
&gt;&gt; [shadowuser@icicle ~]$ host <a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a><br>
&gt;&gt; <a href="http://icicle.phasma.nl" target="_blank">icicle.phasma.nl</a> has address 192.168.134.10<br>
&gt;&gt;<br>
&gt;&gt; Thanks for your patience,<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt; Trisooma<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; BTW. this code was taken from 389-admin-1.1.12.a2<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I hope this helps,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Trisooma<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; 389 users mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; 389 users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; 389 users mailing list<br>
&gt;&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
</div></div></blockquote></div><br>