|
From: Jamie C. <jca...@we...> - 2006-06-23 19:54:49
|
On 23/Jun/2006 14:24 Fran Fabrizio wrote ..
>
> > Have you tried using the 'LDAP properties for all new users' option
> > on the Module Config page? It can be used to define attributes that will
> > be added to all manually or batch created users ..
> >
> Thanks Jamie that does get me a little farther along. However, it seems
> I have to "hard code" the value of this field, or use one of the limited
> number of variables it allows me to use for replacement. Unfortunately,
> sn should get the value of the user's last name, which is not one of the
> replacements listed in the documentation. I was hoping to specify this
> within the batch file. Right now the closest I can come is to use
> ${USER} to insert login name or ${REAL} to insert the user's entire real
> name.
>
> This will get me going for now, but if you know of a way to do what I
> need, please let me know. Otherwise, I can probably hack it so that
> ${LAST} is an option, but I'd have to do that again each upgrade.
Sorry, but there isn't yet any way to specific the user's last name
from a batch file like this. Perhaps in future I will add a field to
the batch format for adding arbitrary LDAP attributes for each user..
- Jamie
|