Is there something special that has to be done to create user names longer then 16 characters? The documentation wiki says they can be up to 30 characters?
Is there something special that has to be done to create user names longer then 16 characters? The documentation wiki says they can be up to 30 characters?
Any more then 8 characters will risk multi-environment interoperability. 16 characters is usually interoperable but above that will bite you when you least want it.
Use shorter names ( and the users will thank you )
It looks like it was 30, then changed back to 16 with this commit: http://support.freenas.org/changeset/6845/freenas. I'll update the docs accordingly. The 16 limit is to satisfy a legacy FreeBSD API, cuserid(3). pw(1) uses this limit for compatibility reasons.
Thanks for bringing this up!
To further this thread, a patch (http://freenas.svn.sourceforge.net/v...&pathrev=11388) was just added to 8.2 to raise that limit to 32 to allow for longer AD names. The suggestion to limit manually generated usernames to 8 characters is still the best practice for interoperability and backwards compatibility with some applications.