[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Re: CVS update: skolelinux/src/webmin-ldap-skolelinux fileimport-example.txt



Am Donnerstag, den 24 Juli hub Andreas Schuldei folgendes in die Tasten:

> what is the preferred algorithm of converting "Digernes Ine
> Høyland" into a proper login name? (c:

I think, the easiest way to do that is to use 1 character of the first
name, 6 chars of the last name an one incremented integer.

Andreas Schuldei
=> aschuld1

This algorithm allows us, to handle people who have the same or similar
names very easily.
* Get the first char of the first name
* Get 6 chars of the last name
* figure out an integer

=> The only data we play with is an integer.

Ciao
Max
-- 

	Follow the white penguin.

Attachment: pgp00032.pgp
Description: PGP signature