Multiple UID and mailbox nameIf a LDAP entry a multiple uid attribute likedn: uid=u1, ou=People,

Multiple UID and mailbox nameIf a LDAP entry a multiple uid attribute likedn: uid=u1, ou=People,
[14 byte] By [709441] at [2007-11-25 7:08:17]
# 1
It should be u1 as that's the UID in the DN.-Chris
709463 at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
And if the dn is not based on the uid ?Could we be sure that il will be the "first" value which will be used for the name of the mailbox ?
pascal.maes at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
The value of UID MUST be single. There are no gurantees of what order Directory will return them, if they're multiple.
jay_plesset at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

You need to think carefully about the question you need an answer to. I'm not sure quite what you mean by the name of the mailbox. By most definitions it is m@root.com. If you're just routing mail, entries like this may work. However I seem to remember that users with more than one uid attribute couldn't login to certain web tools.

clhedrick at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

Again, Messaging Server (and many other products) expects the UID value to be a single value. Depending on Directory Server to always return one value before another value in a multi-valued attribute is doomed to failure, as there's no gurantee of the order values will be returned.

Messaging Server indeed typically uses "uid" or "uid@domain" to create the path to the mailbox.

You can indeed use a different LDAP attribute to log into the system. That's configurable. Users don't actually need to know the disk path to their mailbox.

jay_plesset at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
You said that we can use another LDAP attribute to log in. In that case, I suppose that this attribute will be used as the name of the mailbox.Could we use the uid to log in but specify another LDAP attribute (unique also) for the name of the mailbox ?
pascal.maes at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7
The UID will always be the name of the mailbox. Why is this an issue for you? Users never see it.
jay_plesset at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8
Because we will perhaps modify all our uids and we are not sure that the decision will be taken before the migration to Sun JES.
pascal.maes at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 9

It is well to seriously consider your use of UID. Changing the UID of a user across Messaging and Calendar is not trivial. It's really much more than simply the directory name of the user's mailbox.

UID is the most basic identifier of your users. Planning for this to be permanant is a very good practice. Using a name that may get changed is a poor idea.

jay_plesset at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 10

Yes !

That the reason why we think to change.

Actually the uid are build with the firstname and lastname of the user but we have to take care about the length, the dubbles,...

We think to use an incremental number (preceded by a letter) which is already used in some SQL tables but we are afraid about the reactions of the user. A lot of them doesn't like to be treated as a number !

pascal.maes at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 11
I understand the resistance to using numbers, though for most users, the number is rarely seen by them. Especially, if you use another attribute for authentication/login, then the uid is never seen.
jay_plesset at 2007-6-29 17:39:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...