Hi
I am trying to export a sitegroup with repligard. Here is my config
from repligard.conf:
<database
schema="/usr/local/midgard/share/midgard/repligard.xml"
name="midgard"
username="midgard"
password="midgard"
encoding="ISO-8859-1"
blobdir="/var/db/midgard/blobs"
/>
those are the default db,username and password as in httpd.conf and the mysql.user and
mysql.db tables. The schema is the default schema, the one without sitegroups.
<login
username="sadmin+SAGKB"
password="secretpw"
/>
These I discuss below.
<replicate all="yes"/>
The command I execute is:
./repligard -ddd -a -e replicafile.gz
replicafile.gz gets created, but no matter what I set in the <login ... > directive in
repligard.conf, it only contains the three lines that indicate 'no changes'.
I also tried repligard -m before I used the above command, same result.
The debug output from the repligard command shows lots of stuff:
^
REPLIGARD/SCHEMA-Message: ADDING OBJ article
REPLIGARD/SCHEMA-Message: Storing Link: person 6
... (lots of similar ones)
REPLIGARD/SCHEMA-Message: reverse linking pid blobs ptable id
... (lots of similar ones)
repligard-Message: Exporting to sagkbreplica.gz
repligard-Message: **************** WRITING DEPENDECIES ****************
$
A select id,changed,updated,realm,action from repligard where sitegroup=1; shows
| id | changed | updated | realm | action |
+-----+----------------+----------------+------------------+--------+
| 5 | 20021125094450 | 00000000000000 | person | update |
| 6 | 20021129144426 | 20021129144426 | person | delete |
| 67 | 20021125094824 | 00000000000000 | record_extension | create |
and lots of similar entries with most updated fields set to 0, but not all. Also, the
guid is set for every row.
Now the <login ...> directive in repligard.conf: I have the following users/password
combinations:
admin/password: the default midgard admin account
sadmin/secretpw: the admin for my sitegroup, sitegroup 1;
I tried different username/sitegroup combinations, all with the same result:
sadmin+SITEGROUP1
admin*SITEGROUP1
When I use asgard and log into it as sadmin+SITEGROUP1, I have read/write access to
the whole sitegroup 1. I created the whole site logged in like that (except the host,
of course).
In mysql.user, the midgard user has no priviledges, and in mysql.db, he has select,
insert, update and delete privs for the midgard db.
I hope this is all information you guys need to help my with that problem ;)
greets & thanks in advance, t.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]