Index: [Article Count Order] [Thread]

Date:  Thu, 7 Sep 2006 08:13:19 +0200
From:  =?ISO-8859-1?Q?Tom_M=FCller-Kortkamp?= <tmueko (at mark) kommunity.net>
Subject:  [coba-e:06778] Re: Problem mit codb
To:  coba-e (at mark) bluequartz.org
Message-Id:  <635E3254-F863-4506-8C6C-3AFE81FC0823 (at mark) kommunity.net>
In-Reply-To:  <020b01c6d1f1$201023d0$14001fac@DELLP4TACO>
References:  <Pine.LNX.4.44.0609070152240.31956-100000 (at mark) staff.singnet.com.sg> <020b01c6d1f1$201023d0$14001fac (at mark) DELLP4TACO>
X-Mail-Count: 06778

Yes, I want to add files and Directories to codb.

When I use cceclient, it tries to add the User to System and fail as  
the User exist.

When I want to use cceclient, I have to provide alternate vsite.pm,  
user.pm, etc  with systemcalls disabled ... isn't there an easier way?



Tom Mueko


Am 06.09.2006 um 22:14 schrieb Taco Scargo:

> Patrick,
>
> I think Tom wants to add files/dictories to the codb manually and  
> then make them visible in the codb
> I don't remember how to do that anymore unfortunately.
>
> I have been trying this lat weekend actually.
>
> Taco
> ----- Original Message ----- From: <patricko (at mark) staff.singnet.com.sg>
> To: <coba-e (at mark) bluequartz.org>
> Sent: Wednesday, September 06, 2006 8:06 PM
> Subject: [coba-e:06775] Re: Problem mit codb
>
>
>> Hi,
>>
>>  Something related.
>>
>>  /usr/sausalito/codb/db.classes can be rebuild via cceclient / web  
>> GUI.
>>
>>  Meaning using cceclient or even web GUI to re-add the records.
>>
>>
>>  The problem come when codb engine did a system check for
>>   existing username and found a match in /var/db/<.db> and
>>   thus rejected your record addition.
>>
>>  ie: /var/db/gshadow.db
>>      /var/db/group.db
>>      /var/db/passwd.db
>>      /var/db/shadow.db
>>
>>
>>  If you edit .db in /var/db, please take care of BerkeleyDB version.
>>  fyi, BQ is using an older version and not compatible with newer  
>> version.
>>
>>
>>  Consequence for not taking care of BerkeleyDB versioning ==
>>  account corruption, ie: pop3 intermittent failure,
>>  cannot delete accounts, etc...
>>
>>
>>  ps: See thread
>>        http://bluequartz.org/ml/archive/coba-e/4100/4138.html
>>
>>      If you want to add your code to BQ meta-verify, let me know.
>>       So that we have one coherent copy with proper contribution  
>> listing.
>>
>>  Thanks
>>
>>
>> Cheers
>> patrick
>>
>>
>> On Wed, 6 Sep 2006, [ISO-8859-1] Tom MÍler-Kortkamp wrote:
>>
>>> I have a Server with a lot of people missing in the Webfrontend, but
>>> the exist in Unix.
>>> I tried to create my own /usr/sausalito/codb/objects/<free_id> and
>>> add it to /usr/sausalito/codb/codb.oids.
>>> I guess I have to rebuild /usr/sausalito/codb/db.classes, but how do
>>> I do that?
>>>
>>> Anaother Solution would be a new meta-verify.pl like in RaQ2 ... I
>>> think ?!?
>>>
>>> I have tried something like this in perl put i got "unexpected file
>>> type or format":
>>> #!/usr/bin/perl
>>>
>>>
>>> use strict ;
>>> use BerkeleyDB ;
>>> use vars qw( %h ) ;
>>> my $filename = "db.classes";
>>>
>>>
>>> tie %h, 'BerkeleyDB::Btree',
>>>          -Filename => $filename,
>>>          -Flags    => DB_RDONLY
>>>          or die "Cannot open file $filename: $! $BerkeleyDB::Error 
>>> \n" ;
>>>
>>>
>>> Any suggestion?
>>>
>>> tmueko
>>>
>>>
>>
>>
>>
>
>
>

-- 
kommunity GmbH & Co.KG
Tom MÍler-Kortkamp
Netzwerke & Internet
Goseriede 4
D-30159 Hannover

Phone +49 (0)5 11 - 80 72 58 0
Fax +49 (0)5 11 - 80 72 58 10
http://www.kommunity.net