Index: [Article Count Order] [Thread]

Date:  Fri, 1 Feb 2008 15:07:01 +0100
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:11866] Re: Virtusertable problem, GUI adds user (at mark) www.domain.tld but not user (at mark) domain.tld
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200802011507.02187.bq (at mark) solarspeed.net>
In-Reply-To:  <024901c864d0$d53f9bf0$0101a8c0@systemax>
References:  <024901c864d0$d53f9bf0$0101a8c0@systemax>
X-Mail-Count: 11866

Hi Gerald,

> The problem appears to be that we are getting two entries on the bad
> ones;
> For example;
> [root (at mark) msi1 mail]# cat virtusertable | grep %1 (at mark)  | grep doman1.tld
>  (at mark) domain1.tld    %1 (at mark) domain1.tld
>  (at mark) domain1.tld    %1 (at mark) www.domain1.tld

Yeah, that is indeed bad. After all, the righthand side of that equations 
should always be %1 (at mark) host.domain.tld and the hostname part should NOT be 
missing there.

Both scripts polls CCE for the data and regenerates the virtusertable based on 
the information stored in CCE. Any output they generate will only be as good 
as the source of the data. Try it again with Brian's script and let us know 
if you get the same results.

If you do get the same results, then it will be necessary to dive into CODB 
and to remove or fix the records which don't have the fully qualified host 
and domain name.

I may have a script somewhere that does the exact opposite as the first ones 
mentioned to you: It takes a good virtusertable and shoves its contends back 
into CCE, fixing broken email related CODB entries. That could possibly help.

-- 
With best regards,

Michael Stauber