New User in Group -- Can't authenticate via web

I have an automated LotusScript in a db outside of names.nsf that does the following from a customer document:

  1. Creates a person document with First Name, Last Name, Username and Internet password

  2. Adds the username to a specific group in the NAB

After this process has run, I cannot log in as the user; I have had successful login attempts only after I have manually resaved the person and group documents, run adminp, and then waited about 15 minutes.

What am I missing here? Obviously I need to automate some sort of update in my LotusScript, but I cannot figure out where exactly this needs to happen. Is it an index update? Do I really need to resave all these documents?

Subject: New User in Group – Can’t authenticate via web

Type “show nlcache reset” on the server console.

Though I don’t know how to automate that. Typically, a short waiting period after registration is expected.

Subject: RE: New User in Group – Can’t authenticate via web

I know a short wait is expected, but I wait forever unless I perform the tasks I discussed. I will try your suggestion; just wondering if there’s a server setting I’m missing or something.

Subject: RE: New User in Group – Can’t authenticate via web

Not that I know of, this is something I have struggled with time after time. Especially when building registration processes.

Anybody else?

Subject: New User in Group – Can’t authenticate via web

I know that when doing a simple add of a person and not registering them, I have problems authenticating as that person via LDAP until the views have been rebuilt.

You may want to try initiating the UPDALL task via your agent after you add a batch of users.

+Josh+