[Kroupware] Custom UID

Kervin L. Pierre kervin at blueprint-tech.com
Sun Jun 22 18:04:46 CEST 2003


Mike Hurn wrote:
> For auto-creation UID's I suggest using the three letters of the users
> givenName, the first three letters of there last name and a number.
> In my case "michur01"
> 

Why not have multiple algorithms for UID generation?  Different 
admins/organizations have different schemes for uid generation.  I 
myself prefer 'first letter, firstname + first 7 letters lastname', then 
trying different permutations of the person's name if that is taken.

> 
> As Christoper has pointed out using the users email address becomes unusable
> when it is also needed as a logon ID.
> 

Your logon ID is part of the posixAccount schema, isn't it?  It's been a 
while but I believe the 'uid' attribute.  That attribute can be set to 
whatever you want, regardless of what the mail attributes are.  mailbox 
doesn't have to equal the 'uid' attribute.

Without looking at the kolab code, I think the only thing is that kolab 
should not assume the user's 'cn' attribute is their mailbox. Or use the 
'uid' attribute from the posixAccount schema, that may cause trouble in 
the future. Eg system account that are not kolab enabled, or kolab 
accounts that are not meant to be system accounts.

Christopher's 'big boss' example is a case for aliases.  Someone with 
email addresses in multiple domains, who just needs one account for 
checking email needs 1 mailbox and multiple email aliases.  And 
therefore, only has to remember one account, the mailbox account.


-- 

------------------------------------------------
Kervin Pierre

http://kervin.net/

kervin at blueprintinc.com
kervin at kervin.net
kpierre at fit.edu



More information about the Kroupware mailing list