Score:0

phpldapadmin not respecting min uidnumber

in flag

The first hit on this question as a suggestion is:

phpldapadmin uidNumber stopped auto-updating on new user creation

I looked at that and while my error is smilar, it seems it is a rather old question and the version of phpldapadmin I am running is different.

When I create a new user it uses 1001 as the uid everytime. I want to start in the 2000s, so I changed the config.php to use that:

$servers->setValue('auto_number','min',array('uidNumber'=>2000,'gidNumber'=>500));

and made sure the search was set:

$servers->setValue('auto_number','mechanism','search');

Maybe my other values are not set right?

$servers->setValue('auto_number','enable',true);
$servers->setValue('auto_number','mechanism','search');
$servers->setValue('auto_number','search_base',null);
$servers->setValue('auto_number','min',array('uidNumber'=>2000,'gidNumber'=>500));
$servers->setValue('auto_number','dn',null);
$servers->setValue('auto_number','pass',null);

Not sure what I need to do but everytime it has 1001 in a new user, I want it to autoupdate with the next number and start at 2000.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.