|
From: Jamie C. <jca...@we...> - 2006-10-08 04:40:38
|
On 7/Oct/2006 19:46 Craig White wrote ..
> I'm having an issue auto entering attributes in LDAP Useradmin when
> creating new users - these auto entries simply aren't created though the
> objectclass 'apple-user' is added and other samba attributes get
> automatically entered. Also, if I manually add these entries below
> (longhand - no ${USER} ), the entries are created.
>
> 1 - apple-user-homeDirectory, values typically look like
>
> /Network/Servers/srv1.example.com/NetUsers/administrator
>
> so my auto enter looks like
>
> apple-user-homeDirectory /Network/Servers/srv1.example.com/NetUsers/${USER}
>
> 2 - apple-user-homeurl, values typically look like
>
>
> <home_dir><url>afp://srv1.example.com/NetUsers/</url><path>administrator</path></home_dir>
>
> (actually, it appears that these values are Base64 encoded when saved in
> DSA)
>
> so my auto enter looks like
>
> <home_dir><url>afp://srv1.example.com/NetUsers/</url><path>${USER}</path></home_dir>
>
> so it leaves me wondering if I somehow need to escape these auto entries
> so they process properly in your perl scripts.
>
> Suggestions?
Is ${USER} a substitution done by the LDAP server, or by Webmin? Normally when you
specific an extra LDAP attribute like ${SOMETHING}, it will be replaced when the user
is saved with some attribute of the new user..
What did you mean by 'escape the auto extries' exactly?
- Jamie
|