Re: 16-character username limit in quotas?

From: Chris Dillon (cdillon_at_wolves.k12.mo.us)
Date: 08/20/04

  • Next message: JJB: "RE: 5.3-BETA1 released today for testing"
    Date: Fri, 20 Aug 2004 10:44:14 -0500 (CDT)
    To: Dan Nelson <dnelson@allantgroup.com>
    
    

    On Thu, 19 Aug 2004, Dan Nelson wrote:

    > In the last episode (Aug 19), Chris Dillon said:
    >> I've just run into a 16-character username limit in our quota
    >> support, or at least in the edquota command itself (5-CURRENT):
    >>
    >> edquota -u -e /afilesystem:614400:716800:4000:5000 areallylongusername
    >> edquota: areallylongusern: no such user
    >>
    >> Does anybody know what would it take to raise this limit to at least
    >> 32 characters?
    >
    > Try bumping MAXLOGNAME in /usr/include/sys/param.h and UT_NAMESIZE in
    > /usr/include/utmp.h and rebuilding world.

    Thank you, I'm building a new kernel+world right now. For some reason
    I thought we had already bumped those particular limits up past 16
    characters so I didn't look at them. I ran into this problem because
    I'm using Samba's winbindd with nsswitch, and the usernames are
    prepended with our Windows 2000 domain name, making them longer than
    usual. Samba, chown, ls, etc. don't seem to have a problem with these
    long names (nsswitch is great!), so they must not pay any attention to
    MAXLOGNAME and UT_NAMESIZE and that's what made me think it was
    specific to quotas. Is there any reason this couldn't be bumped up to
    32 characters (or more) by default for better compatability with
    alternate namespaces?

    -- 
      Chris Dillon - cdillon(at)wolves.k12.mo.us
      FreeBSD: The fastest, most open, and most stable OS on the planet
      - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
      - PowerPC, ARM, MIPS, and S/390 under development
      - http://www.freebsd.org
    Q: Because it reverses the logical flow of conversation.
    A: Why is putting a reply at the top of the message frowned upon?
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: JJB: "RE: 5.3-BETA1 released today for testing"

    Relevant Pages

    • Re: POS Printer
      ... printer These special codes are non-printable ... characters ... I see no reason to be concerned with it at all. ... I know that a POS printer has an internal buffer so just because we send ...
      (microsoft.public.vc.mfc)
    • Re: What is the maximal length of usernames on Solaris?
      ... You've just made the determination that eight characters is it ... >> that this is a reason not to try and change it. ... >> I don't know how many times I've been preaching the merits of UNIX to ... >for updating all the apps and spending it on his bonus. ...
      (comp.sys.sun.admin)
    • Re: Y&R Tuesdays Show
      ... for not a very good reason except corporate mandate. ... I find Victor compelling when he's in cold/angry mode...but I ... Many actors/actresses have said that they'd much rather play evil than ... long-tenured characters that don't learn from their mistakes. ...
      (rec.arts.tv.soaps.cbs)
    • Re: Layering: For a moment, she stood in silence
      ... then pull back to the present time scene. ... reason to talk about it, and you have to get that across _before_ ... just that with this rambling, there's nothing new for the characters. ...
      (rec.arts.sf.composition)
    • Re: Wolf In The Fold - Plot, New Effect
      ... [For some reason I got this post with absurdly long lines, ... I'll have a fair number of points with the joke based on the Federation treating Argelius ... if the point needed to be made with our characters rather than ...
      (rec.arts.startrek.tech)