Character encoding
by Francisco José Pérez González
Hi
I have a simple question i guess... How do i find out wich character encoding
it's been in my DS(utf-8,latin1, etc..)?
Regards.
--
Francisco José Pérez González
Ingeniero Informático
CCNA Exploration Netacad V 4.0 Pass
12 years, 2 months
Issue with 389 Console: re-auth request / manage certificates doesn't load
by Matt Juszczak
Hi folks,
I setup 389-ds from scratch today on a CentOS box - simple "yum -y install
389-ds", then ran the setup script with default options. I then restarted
the server and connected with the 389 console. I'm running
389-Directory/1.2.7.5 B2010.350.198.
The console loads fine. I'm able to do most things. However, when I
click the + sign next to "Server Group" on the initial screen, I get the
following in my terminal:
java.lang.NoSuchMethodException:
com.netscape.management.client.util.LDAPUtil.isValidDN(java.lang.String)
at java.lang.Class.getMethod(Class.java:1622)
at com.netscape.admin.dirserv.DSUtil.<clinit>(Unknown Source)
at com.netscape.admin.dirserv.DSAdmin.initialize(Unknown Source)
at
com.netscape.management.client.topology.ServerNode.createServerInstance(Unknown
Source)
at
com.netscape.management.client.topology.ServerNode.reload(Unknown Source)
at
com.netscape.management.client.topology.ServerNode.initialize(Unknown
Source)
at
com.netscape.management.client.topology.ServerNode.<init>(Unknown Source)
at
com.netscape.management.client.topology.AdminGroupNode.reload(Unknown
Source)
at
com.netscape.management.client.topology.ServerLocNode.getChildCount(Unknown
Source)
at
com.netscape.management.client.ResourcePage.treeWillExpand(Unknown Source)
at javax.swing.JTree.fireTreeWillExpand(JTree.java:2729)
at javax.swing.JTree.setExpandedState(JTree.java:3427)
at javax.swing.JTree.expandPath(JTree.java:2171)
at
javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2241)
at
javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2228)
at
javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2186)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3550)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3498)
at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6172)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5940)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4536)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4362)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4122)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4362)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Furthermore, when I double click on directory server and hit the
"Configuration" tab, I get a permission denied (logged in as admin...) and
I'm asked to re-authenticate. If I hit cancel, things continue to work as
normal, so that isn't a huge deal. However, if I hit "Manage
Certificates", nothing happens. This is not the case when hitting
"Manange Certificates" inside the Admin Server window.
I'm experiencing the exact same problem that was experienced in the second
part of this thread:
http://www.spinics.net/lists/fedora-directory/msg12552.html (scroll down
to the bottom and look for the text "When i enter the correct credentials,
it seems that everything is"). There was never a resolution posted to
that issue.
Please let me know if anyone has any ideas. Re-authenticating isn't a big
deal once I open up the Directory Server window, but this is stopping me
from setting up SSL on the directory through the console.
Thanks,
Matt
12 years, 2 months
389 Directory server + passwd problem
by MAP 007
Hi,
Recently i have setup 389 DS on my CentOS machine.Now yesterday i m able to
reset user's password. Now i m not able to reset it....
I have checked my directory server's setting and found that i have
mistakenly set "disallow_pw_change_aci" ACL. Now i have deleted this one.
But whenever i restart my dirsrv and dirsrv-admin services i see
"disallow_pw_change_aci" ACL again in my directory server.
Que.1 Now how to remove parmanently ?
And secondly when i remove this from directory server and then try to change
password i am getting below error:-
LDAP password information update failed: Server is unwilling to perform
user is not allowed to change password
passwd: Permission denied
Que.2 Now how to sort out this one... ?
Que.3 And one more question is, where i will find all these logs...if
someone file these command at client as well as server machine(i.e.
ldapsearch, ldapadd, ldapdelete, passwd, passwd lock etc...)
Thank you.
Piyush
12 years, 2 months
Re: [389-users] memory allocator - calloc of 4098 elems of 4 bytes failed; OS error 12 (Cannot allocate memory)
by Rich Megginson
On 12/24/2010 12:15 AM, mahao wrote:
>
> Hi all,
>
> Fedora-ds was down for some reason,
>
> And I got these logs:
>
> [23/Dec/2010:18:59:32 +0200] - libdb: User-specified malloc function
> returned NULL
>
> [23/Dec/2010:18:59:32 +0200] - id2entry error 12
>
> [23/Dec/2010:18:59:32 +0200] - id2entry get error 12
>
> [23/Dec/2010:18:59:32 +0200] - next_search_entry db err 12
>
> [23/Dec/2010:18:59:32 +0200] memory allocator - calloc of 4098 elems
> of 4 bytes failed; OS error 12 (Cannot allocate memory)
>
> The server has probably allocated all available virtual memory. To solve
>
> this problem, make more virtual memory available to your server, or reduce
>
> one or more of the following server configuration settings:
>
> nsslapd-cachesize (Database Settings - Maximum entries in cache)
>
> nsslapd-cachememsize (Database Settings - Memory available for
> cache)
>
> nsslapd-dbcachesize (LDBM Plug-in Settings - Maximum cache size)
>
> nsslapd-import-cachesize (LDBM Plug-in Settings - Import cache size).
>
> Can't recover; calling exit(1).
>
> It looks like no more available virtual memory to use, so should
> I set a lager nsslapd-dbcachesize?
>
> I don't know if it will down again, and please give me some
> advice . its important to me. Thanks a lot
>
What version of fedora-ds or 389-ds-base?
What platform?
This usually means you have run out of memory. The usual thing is to
reduce your cache sizes (as specified above). Start with
nsslapd-dbcachesize as the minimum. Set nsslapd-cachememsize to be
large enough to cache all of your entries, but no larger.
>
> BS
>
> Ma Hao
>
12 years, 2 months
REPLICATION ISSUE CONSUMER TO CONSUMER !!!!
by Amit Chaudhary
Hi Friends,
I have below setup :
Server 1 –Active Directory
Server2—Directory Server Consumer to Server1 and replication working fine
Server 3—Dedicated Consumer to Sever2.Replication agreement from Server2 to
Server 3. Sync option Always keep directories in sync.
So the issue is :
Automatic replication from Server1 to Server2 working.
On manual consumer initialization replication from Server2 to Server3
successful
Automatic Server2 and Server3 replication not happening
Have anyone else faces the same issue.
Regards
Amit Chaudhary
12 years, 2 months