Hi,

I'm trying to change the posixAccount.xml template so that I can generate a 
uidNumber starting with 10001 and haven't had much luck. I tried using the 4 
arguments and adding +9000 (since phpldapadmin is automatically choosing 1001 
as the starting number).

But what that does is select 10001 the first time around I create a user 
account, and it never increments. So the next user I create, it shows 10001 
again.

I tried doing it like this:

php.GetNextNumber(/,uid,false,(objectClass=posixAccount),+9000)

and also

php.GetNextNumber(/,uid,false,(objectClass=posixAccount),+9000)

But that always seems to return a fixed number, the "getnext" doesn't seem to 
work.

Also, another question... I'm also trying to use the "ou" within the 
posixAccount.xml so that I can autofill the homedirectory, but I don't know how 
to do that, is there a variable I can use for substitution?

Thanks
Ricardo
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to