Jan-Piet Mens schrieb:
On Fri Mar 24 2006 at 13:32:41 CET, Karsten Römke wrote:
Now I want to authenticate the same but under a
different name - the email-Name, eg
not user xyz but user xyz.theo
Search your directory for the attribute type and value you are looking for
e.g. (&(objectclass=inetOrgPerson)([EMAIL PROTECTED])) and
retrieve the distinguished name (DN). Then you can use that DN with the
password supplied by the user to bind to the directory. If the bind
succeeds, you know that the credentials are correct.
I note that you have no mail: attribute type in the LDIF above.
That is right, I used scripts named MigrationTools
and they give me the above entries. There was another tool
that give me entries in the form
dn: cn=Xyz.Theo,ou=Aliases,dc=cologne,dc=de
cn: Xyz.Theo
objectClass: nisMailAlias
objectClass: top
rfc822MailMember: xyz
I can't add them simply by ldap-add to the database, but
I thought, that I could use this file to generate the
alias entries of the form I want to use.
Maybe I just go the complete wrong way.
Thanks
Karsten
-JP
---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.