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

Re: Proposed stable update: webmin-ldap-user-simple (1.3-1 -> 1.3-20)

Am Mittwoch, 17. November 2004 22:51 schrieb Andreas Schuldei:
> On Wed, Nov 17, 2004 at 06:04:19PM +0100, Ralf Gesel|ensetter wrote:
> > would it be difficult to extend the module configuration page to
> > - define valid chars for usernames
> that would be possible, except that it would be ugly to display.
> not sure what that would look like.

I could imagine something like this:
(x) default settings (alphanumerics only)
( ) printable excluding {INPUT FIELD}
( ) only allow characters {INPUT FIELD}

Alternatively to radio buttons, one could use an option menu plus edit 
field (one row then)
> > - define own rule how to determine username - like "%1f%7l" to have
> > one char of first name (%f) and 7 of last name (%l).
> that would be much harder to do properly. the present algorhythm
> is a good deal more advanced. this one (and similar ones) are
> much more likely to produce collisions and be unable to come up
> with a new unique username.

Also, when importing user names from lists, there is already now some 
fallback algorithm in case of duplicates -- how about just putting the 
suggestion / user defined auto calculation one stage before your 
fallback algorithm? 

Further enhancements could then be:
- complain about "bad" user defined rule (more than x% duplicates)
- let user double check login names altered due to conflicts before 
- suggest list of alternative usernames if predefined was not possible
> (the problem is that if users shoot themselfs in the foot despite
> beeing warned about the consequences of their doing they still
> blame debian-edu for their pain and suffering later.)

okay, this must have bullet proof boots, then :)
fallback / maybe: check user defined rule on existing users / check 
before adding (like calculated column with pre-view of import)

But in the end, you'll have to know, what's feasible - your the 
expert :)


Reply to: