[REQADM-Users-L] Re: supporting usernames greater than 8 letters
Brought to you by:
rcopeland101,
slw
|
From: Steve W. <st...@al...> - 2004-11-09 16:53:44
|
Matthew White wrote:
> So, it seems that reqadm has a hard limit of 8 characters for the
> Unix username field. Is there a way around this? I tried editing
> and compiling a new schema file, but when I dbinit'd and ran reqadmd,
> it freaked out:
When you change the schema file you need to do more than that. For the
Perl and Tcl APIs to the database, that would be sufficient. But for
the C/C++ API, the database schema compiler (dbcomp) actually generates
a .h file containing structure/object definitions for each table in the
database. These need to be compiled into REQADM so its data structures
will match what is in the database, or things will get very unhappy. I
am actually out on vacation this week, but I'll see if I can look over the
code for any other potential issues with 8-character logins other than
the database field. For now, I'd recommend not changing that.
--steve
--
Steve Willoughby | "It is our choices... that show what we truly
<st...@al...> | are, far more than our abilities."
| --Albus Dumbledore, in Harry Potter and the
| Chamber of Secrets, by J. K. Rowling
|