[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax changes in cfservd.conf, 2.0.8p1
From: |
Iain Morgan |
Subject: |
Re: syntax changes in cfservd.conf, 2.0.8p1 |
Date: |
Tue, 9 Dec 2003 15:19:45 -0800 (PST) |
On Thu Nov 20 12:46:36 2003, Marion Hakanson wrote:
>
> > Well, then you'll have to solve more problems than you need to.
> > There is no reason not to go to 2.1.0p1.
> > . . .
>
> Except that 2.1.0p1 appears to have this same bug. Here's the code
> from src/parse.c, function HandleServerRule(), in both 2.1.0p1 and 2.0.8p1:
>
> ============================================
> void HandleServerRule(object)
>
> char *object;
>
> { char buffer[bufsize];
>
> ExpandVarstring(object,buffer,"");
> Debug("HandleServerRule(%s=%s)\n",object,buffer);
>
> if (*object == '/')
> {
> Debug("\n\nNew admit/deny object=%s\n",buffer);
> strcpy(CURRENTAUTHPATH,buffer);
> }
> else
> . . .
> ============================================
>
>
> The fix is to change
>
> if (*object == '/')
>
> to
>
> if (*buffer == '/')
>
>
> It's hard to believe I'm the only person in the world to use variables
> in my cfservd.conf....
>
> Regards,
>
> --
> Marion Hakanson <hakanson@cse.ogi.edu>
> CSE Computing Facilities
>
You're not the only one to encounter this issue.
--
Iain Morgan
NAS Desktop Support Group
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: syntax changes in cfservd.conf, 2.0.8p1,
Iain Morgan <=