reset "Number of Users" count in DA console..?
Hi all..!
My domain have 4300 user. But went create user by command line, I fail at user 2800.
Affter that I delete 2800 user had been created and create again.
Now went all user had been created, DA web Console present 7100 user in "Number of Users" field.
Anyone could tell me the way to fix this.
Thank all, and I am sorry if my word is not corrected.
[392 byte] By [
le_hunga] at [2007-11-27 3:54:48]

# 1
Hi,
They number of users is controlled by the sunnumusers domain attribute. You can manually change this value in the directory, e.g. for my domain which has a base of o=aus.sun.com,dc=aus,dc=sun,dc=com and 4 users I would use:
ldapmodify -h <directory server> -D "cn=directory manager" -w <directory manager password>
dn: o=aus.sun.com,dc=aus,dc=sun,dc=com
changetype: modify
replace: sunnumusers
sunnumusers: 4
-
Regards,
Shane.
# 2
Thank shane_hjorth a lot.
I did what you say, it work.
And an other question, in my DA Web Console, It very slowly to load 4300 when I click on my Organization, my Domain.
It take me 2-3 minutes if I want to create a new user.
Any way to speed it up?
Thank you again...!
# 3
Hi,
Sounds like your directory server needs tuning - check the access logs and make sure you are not doing any notes=U (unindexed) searches.
Also from memory the latest version of DA have a few speed/search improvements. So you may want to try these as well.
Jay may be able to offer some more suggestions, DA is not my strong suit.
Regards,
Shane.
# 4
Yeah Shane.
My problem is Index.
In my DA Console, if I click in my Organization, errors log file of Directory Server have more line :
Backend Database - conn=37 op=2407 msgId=2727 - search is not indexed
And in my access log file :
--
[13/May/2007:18:55:14 +0700] conn=37 op=2407 msgId=2727 - SRCH base="o=viettel.com.vn,dc=viettel,dc=com,dc=vn" scope=2 filter="(&(&(uid=*)(&(objectClass=inetOrgPerson)(!(inetUserStatus=d eleted)))))" attrs="*" authzid="dn:cn=dsameuser,ou=DSAME Users,dc=viettel,dc=com,dc=vn"
--
[13/May/2007:18:50:38 +0700] conn=37 op=2391 msgId=2704 - RESULT err=3 tag=101 nentries=991 etime=121 notes=U
I had been reindex suffix like Sun Java Directory Server 2005Q1 Administration Guide, and my nsslapd-allidsthreshold=4000
what can i do to fix this problem?
# 5
Hi,
> And in my access log file :
>
> --
> [13/May/2007:18:55:14 +0700] conn=37 op=2407
> msgId=2727 - SRCH
> base="o=viettel.com.vn,dc=viettel,dc=com,dc=vn"
> scope=2
> filter="(&(&(uid=*)(&(objectClass=inetOrgPerson)(!(ine
> tUserStatus=deleted)))))" attrs="*"
> authzid="dn:cn=dsameuser,ou=DSAME
> Users,dc=viettel,dc=com,dc=vn"
>
> what can i do to fix this problem?
Sounds like you are hitting bug #6307620 - DA should not use inequality indexes due to performance hit on directory server. The !(inetUserStatus=deleted) is what is slowing down the searches.
This bug is fixed in 119777-15, so you could try applying the latest publicly available patch (119777-19) which also includes the fix.
Regards,
Shane.