Received: (qmail 57882 invoked by uid 65534); 16 Feb 2000 23:23:02 -0000 Message-Id: <20000216232302.57881.qmail@locus.apache.org> Date: 16 Feb 2000 23:23:02 -0000 From: Rob Sims Reply-To: robsims@hpesjro.fc.hp.com To: submit@bugz.apache.org Subject: AuthYPDomain, AuthYPUserTable, AuthYPGroupTable are broken X-Send-Pr-Version: 3.110 >Number: 5772 >Category: mod_auth-any >Synopsis: AuthYPDomain, AuthYPUserTable, AuthYPGroupTable are broken >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Feb 16 15:30:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: robsims@hpesjro.fc.hp.com >Release: 1.3.11 >Organization: apache >Environment: HP-UX hpesjro B.10.20 A 9000/782 2002236203 two-user license >Description: If these are not set in the config file, the defaults work. They take on bad values if set. Basically, the serverroot path is prepended to these names. Since these are YP map names, and not files, this makes no sense. >How-To-Repeat: Install optional module mod_auth_yp.c and attempt to set any of AuthYPDomain, AuthYPUserTable, or AuthYPGroupTable in httpd.conf. >Fix: In mod_auth_yp.c, in function set_auth_yp_slot, change return ap_set_file_slot(cmd, offset, f); to: *(char **) ((char *)offset + ((int) (long) cmd->info) ) = f; return NULL; >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]