Page 1 of 1

more than 30 characters for username

PostPosted: Thu Apr 03, 2008 5:36 am
by Vincent
Hi All,

I'm having a problem with user roles in gradm. When I add user roles with usernames longer than 30 characters, the usernames are just cut at character 30 and gradm complaints that the username doesn't exist. Because I am using domain names for usernames some of them are longer than 30 characters.

I looked in the gradm source myself, but couldn't find where this behaviour of gradm is caused. Is there something what could be done about this (except using shorter usernames ;) )?

Thnx in advance.

Re: more than 30 characters for username

PostPosted: Fri Apr 04, 2008 8:07 am
by spender
I'll look into it.

-Brad

Re: more than 30 characters for username

PostPosted: Fri Apr 04, 2008 4:08 pm
by spender
The latest version of gradm should fix this issue. I've extended the limit to 64 characters. Is that ok?

-Brad

Re: more than 30 characters for username

PostPosted: Fri Apr 04, 2008 6:21 pm
by cormander
Hey spender,

I noticed that all the changes for changing this from 30 to 64 happen in files that are processed by yaac (bison). Is it possible to make this a configurable variable instead and have it defined in the Makefile? I've never used bison before so I don't know :)

Re: more than 30 characters for username

PostPosted: Sun Apr 06, 2008 5:12 am
by Vincent
spender wrote:The latest version of gradm should fix this issue. I've extended the limit to 64 characters. Is that ok?


Thank you very much! That makes life a little bit easier :wink: :D