How do I run adminp in primary directory only?

Hi all,

I have created a second directory for authentication using an application we’ve made. The second directory (names2.nsf) as an exact copy of the primary directory (names.nsf). An agent makes a copy of all users in the primary directory every morning.

The issue in hand is that adminp when changing http passwords looks in both primary directory and the second one and therefor finds multiple matches.

How can I prevent adminp from looking i my names2.nsf? I’ve tried to change rights and editing the directory profile för names2.nsf but no result.

Is there any way I can tell adminp to run only against primary directory?