New user in LDAP

I wonder if any one can help with a problem … I need to create person documents in an address book … for LDAP to use…

I have mostly got it working BUT when I create a person document via script … I can see the person using a LDAP Browser but get an error " No Object" if I try and access there details …

If I just edit the person … it then works fine …

I have tried nearly everything I can think of … i.e ComputewithFrom etc , another agent to go though and edit all documents … but still no luck

cheers

Mick

Subject: new user in LDAP

It could be that you are forgetting to fill a particular field.

Examine the document you create via script, and take note of all the fields (Properties of the document) and the way they are filled.

Now, edit the document and save it. Open it again and compare the fields.

Let me know if that helps.

Subject: Turn on ldap_debug=7

To isolate this more, enable Domino LDAP server debug logging by setting ldap_debug=7 in the server’s notes.ini file. Repeat the steps with the browser and examine the server console output when you try to access details. If the problem isn’t obvious, include the relevant snippet as a response and I’ll take a look.

btw Which LDAP browser are you using?

Subject: new user in LDAP

Hi Sebastian

Yep tried that already , it’s really driving me nutts… The next thing will try tomorrow … is to try and use the front end classes and see if that works … i.e NotesUIDatabase etc

Subject: RE: new user in LDAP

Have you tried an updall?

Try this in the server console:

load updall -R names.nsf -t $Users

(For a couple of thousands users it could take a minute or two). You could also try updall -R names.nsf alone.

Just a thought.

Subject: RE: new user in LDAP

Hi Ya

Yep … done all that … even redone all the LDAP ReloadSchema still no luck…

also put my client into debug mode then change a document to see if any other bits of code ran … still no luck …

There must be a difference between backend code to change a document and just editing the document … but for the life of me I can’t find what it is