ahasenack(a)terra.com.br wrote:
> On Fri, Sep 22, 2006 at 07:48:33PM +0000, hyc(a)symas.com wrote:
>> Yes, this makes sense.
>>
>> Since all of the CSNs under ou=global are greater than any CSN under
>> dc=example,dc=com, none of those entries are sent. In server B your
>> consumer should be configured on dc=example,dc=com, with a searchbase of
>> ou=global,dc=example,dc=com. That will allow the server B provider to
>> stay in sync with its consumer.
>
> With this change, the replication is better, but the B server cannot be
> written to anymore: moving the syncrepl directive to the
> dc=example,dc=com database makes it read-only because it is then
> considered a consumer.
This portion of your report is the same as ITS#4623. The fix for ITS#4623 is
in HEAD and probably will only be in 2.4. The other part of the problem,
where objects get turned into glue objects, is fixed by ITS#4813. This fix is
in RE23 and will be in 2.3.34. I'm closing this ITS, you can followup to
#4623 or #4813 if you need to make any further comments.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
Chief Architect, OpenLDAP http://www.openldap.org/project/
ahasenack(a)terra.com.br wrote:
> Full_Name: Andreas Hasenack
> Version: REL_ENG_2_3 (2.3.24+)
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (200.140.247.99)
>
>
> I have a provider with two databases glued together:
> dc=example,dc=com
> ou=global,dc=example,dc=com
>
> One consumer has the syncrepl base search pointing to ou=global on the
> provider.
> The slapd.conf(5) manpage says that in this scenario, one should load the
> overlays at the provider in this order:
>
> overlay glue
> overlay syncprov
>
> If my provider config is as follows, however, I get a "findbase failed! 32"
> error at the provider:
The docs were wrong in this case; the required hooks for the overlay support
here were not implemented. These hooks have been added to CVS HEAD and this
configuration works correctly there. The changes will be part of 2.4. I don't
think they'll be backported for 2.3.
> I was under the impression (caused by the slapd.conf(5) manpage) that one should
> only need to load the syncprov overlay once, right after glue, and it would
> attend to both databases. But if I do that, then I get the error I mentioned
> above when attempting to replicate the subordinate database.
Right, that was the intent, but because of the missing hooks, it couldn't work.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
Chief Architect, OpenLDAP http://www.openldap.org/project/
This is a multi-part message in MIME format.
------=_NextPart_000_0018_01C7492A.5D6431D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Great work! I submitted a patch to update the old overlay of Neil Dunbar =
to
OpenLDAP 2.3. It works for our identity management (using Novell IDM =
3.01) -
see ITS#4685. As my patch needs cleanup to get into OpenLDAP HEAD I =
would
like to ask, wether this patch (ITS#4656) is likely to be accepted in =
the
near future. In this case I won't maintain a separate overlay. But it
doesn't seem to be in HEAD, for now?
--
MfG
Sebastian Rieger
Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=F6ttingen=20
Am Fassberg - 37077 G=F6ttingen
Fon: +49 551 201 1878 -- Fax: +49 551 201 2150
Die digitale Unterschrift dieser Mail kann anhand des Zertifikats des =
DFN
=FCberpr=FCft werden: =
https://ca.gwdg.de/certs/root-classic/root-ca-cert.der
------=_NextPart_000_0018_01C7492A.5D6431D0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIXujCCBHUw
ggNdoAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwWzELMAkGA1UEBhMCREUxEzARBgNVBAoTCkRGTi1W
ZXJlaW4xEDAOBgNVBAsTB0RGTi1QS0kxJTAjBgNVBAMTHERGTi1WZXJlaW4gUENBIENsYXNzaWMg
LSBHMDEwHhcNMDUwMjI4MDAyOTM3WhcNMTMwNDI4MDAyOTM3WjBbMQswCQYDVQQGEwJERTETMBEG
A1UEChMKREZOLVZlcmVpbjEQMA4GA1UECxMHREZOLVBLSTElMCMGA1UEAxMcREZOLVZlcmVpbiBQ
Q0EgQ2xhc3NpYyAtIEcwMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggE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lIDIgR2VuZXJpYy1DQSBHMDIuMTELMAkGA1UECxMCY2ExQjBABgNVBAoTOUdlc2Vs
bHNjaGFmdCBmdWVyIHdpc3NlbnNjaGFmdGxpY2hlIERhdGVudmVyYXJiZWl0dW5nIG1iSDELMAkG
A1UEBhMCREUxCjAIBgNVBAUTATICCi7owiAAAAAABJowgbcGCyqGSIb3DQEJEAILMYGnoIGkMIGV
MSkwJwYDVQQDEyBHV0RHLUNBIEViZW5lIDIgR2VuZXJpYy1DQSBHMDIuMTELMAkGA1UECxMCY2Ex
QjBABgNVBAoTOUdlc2VsbHNjaGFmdCBmdWVyIHdpc3NlbnNjaGFmdGxpY2hlIERhdGVudmVyYXJi
ZWl0dW5nIG1iSDELMAkGA1UEBhMCREUxCjAIBgNVBAUTATICCi7owiAAAAAABJowDQYJKoZIhvcN
AQEBBQAEgYBDAP54LC4wafAmgrYjD6sC+pMKai6fgCmLMrECkBQXB9rlGKryTaDSPUzh3SGrY+/h
V08OQW2Il+H1y8GqqQz4U4VvMauOiLR5i7HrDFcRPYQsJ5tS2dpgYwvtHKrjwOl3mM5kOP2UnAMG
G7AbGU4201tBu44H9EbaWLA/jfgIdgAAAAAAAA==
------=_NextPart_000_0018_01C7492A.5D6431D0--
quanah(a)stanford.edu wrote:
>
> --On Friday, February 02, 2007 8:26 PM +0000 quanah(a)stanford.edu wrote:
>
>> Full_Name: Quanah Gibson-Mount
>> Version: 2.3.33
>> OS: Linux 2.6 (64-bit)
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (171.64.19.81)
>>
>>
>> In doing a base query of a dynamic group I had created, I found that the
>> information returned when using the dynlist overlay is bogus.
>
> And what I expected to see was something more along the lines of:
>
> dn: cn=registry-consult,cn=groups,cn=applications,dc=stanford,dc=edu
> objectClass: groupOfURLs
> cn: registry-consult
> memberURL:
> ldap:///cn=people,dc=stanford,dc=edu??sub?(suprivilegegroup=value:value2)
One of the distinguishing features of the dynlist overlay is that it can
actually __create__ a dynamic view of the listed data by collecting all
values of all attributes (honoring few constraints, like all additional
values of single-valued attributes get discarded; I believe in HEAD code
it also avoids merging other structural objectClasses unless they fit
into the hierarchy of the current structuralObjectClass). To limit
this, you can use the <attrs> field of the URL, so that only the listed
attrs are actually merged. Or, if you want it to behave exactly like a
group, you should configure it with the <member-ad> field:
dynlist-attrset <group-oc> <URL-ad> [<member-ad>]
The value <group-oc> is the name of the objectClass that trig-
gers the dynamic expansion of the data.
The value <URL-ad> is the name of the attributeDescription that
cointains the URI that is expanded by the overlay; if none is
present, no expansion occurs. If the intersection of the
attributes requested by the search operation (or the asserted
attribute for compares) and the attributes listed in the URI is
empty, no expansion occurs for that specific URI. It must be a
subtype of labeledURI.
The value <member-ad> is optional; if present, the overlay
behaves as a dynamic group: this attribute will list the DN of
the entries resulting from the internal search. In this case,
the <attrs> portion of the URI must be absent, and the DNs of
all the entries resulting from the expansion of the URI are
listed as values of this attribute. Compares that assert the
value of the <member-ad> attribute of entries with <group-oc>
objectClass apply as if the DN of the entries resulting from
the expansion of the URI were present in the <group-oc> entry
as values of the <member-ad> attribute.
To see what you expect, you need to add the manageDSAit control (I
believe this is undocumented; I'll fix it in a moment).
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati(a)sys-net.it
------------------------------------------
--On Friday, February 02, 2007 8:26 PM +0000 quanah(a)stanford.edu wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.3.33
> OS: Linux 2.6 (64-bit)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (171.64.19.81)
>
>
> In doing a base query of a dynamic group I had created, I found that the
> information returned when using the dynlist overlay is bogus.
And what I expected to see was something more along the lines of:
dn: cn=registry-consult,cn=groups,cn=applications,dc=stanford,dc=edu
objectClass: groupOfURLs
cn: registry-consult
memberURL:
ldap:///cn=people,dc=stanford,dc=edu??sub?(suprivilegegroup=value:value2)
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
Full_Name: Quanah Gibson-Mount
Version: 2.3.33
OS: Linux 2.6 (64-bit)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.64.19.81)
In doing a base query of a dynamic group I had created, I found that the
information returned when using the dynlist overlay is bogus.
ldapsearch -LLL -Q -h ldap-dev1 -s base -b
"cn=registry-consult,cn=groups,cn=applications,dc=stanford,dc=edu" | more
was the query run. It returns:
dn: cn=registry-consult,cn=groups,cn=applications,dc=stanford,dc=edu
objectClass: groupOfURLs
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: suPerson
cn: registry-consult
cn: member A's cn
cn: member B's cn
.....
description: member A's description
description: member B's description
......
displayName: member A's displayName
givenName: member A's givenName
givenName: member B's givenName
....
etc, for every populated attribute in the *objects of the members*. This seems
horribly broken to me.
Note that this is an unmodified version of dynlist (pure 2.3.33)
--Quanah
Full_Name: Andreas Hasenack
Version: 2.3.33
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (200.140.247.99)
Hello,
while running make test on a 2.3.33 build, I get an error in
test030-relay when using the meta backend:
(...)
Using meta backend...
Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Searching base="dc=example,dc=com"...
Searching base="o=Example,c=US"...
Search failed (255)!
./scripts/relay: line 78: kill: (31577) - Processo inexistente
>>>>> ./scripts/test030-relay failed (exit 255)
make: ** [bdb-yes] Erro 255
The log shows:
$ tail testrun/slapd.1.log
conn=3 op=1 >>> meta_search_dobind_init[0]
conn=3 op=1 <<< meta_search_dobind_init[0]=1
==> rewrite_context_apply [depth=1] string='o=Example,c=US'
==> rewrite_rule_apply rule='((.+),)?o=Example,[ ]?c=US$'
string='o=Example,c=US' [1 pass(es)]
==> rewrite_context_apply [depth=1] res={0,'dc=example,dc=com'}
[rw] searchBase: "o=Example,c=US" -> "dc=example,dc=com"
==> rewrite_context_apply [depth=1] string='(objectClass=*)'
==> rewrite_context_apply [depth=1] res={0,'NULL'}
[rw] searchFilter: "(objectClass=*)" -> "(objectClass=*)"
/home/andreas/updates-svn/openldap/BUILD/openldap-2.3.33/servers/slapd/.libs/lt-slapd:
symbol lookup error:
+../servers/slapd/back-meta/.libs/back_meta-2.3.so.0: undefined symbol:
ldap_back_proxy_authz_ctrl
Full_Name: Gavin Henry
Version: N/A
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.159.59.85)
Dear All,
If we are to suppose that slapd-config is to provide 100% remote configuration,
then directories should be created as set in:
olcDbDirectory
set_lg_dir
Questions/Needs:
1. How to handle existing directories on mkdir?
2. Some global cn=config setting to say what cn=config is allowed to do
3. Plus many more I'm sure.
Thanks,
Gavin.
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry(a)suretecsystems.com
Open Source. Open Solutions(tm).
http://www.suretecsystems.com/
Hello,
I have 3 installations of openldap-server-2.3.33 running on FreeBSD
6.1-REL: ldap-master, ldap1, ldap2. I am using syncrepl to replicate
ldap-master to ldap1 and ldap2. The replicated directory is missing
entire ou branches in my tree.
I have created the following objects in my directory:
cn=syncrepl-ldap1,dc=example,dc=com
cn=syncrepl-ldap2,dc=example,dc=com
I've made the following configurations on the provider:
| access to *
| by dn.regex="cn=syncrepl-(ldap1|ldap2),dc=example,dc=com" read
| by * break
|
| # More ACLs Follow
|
| # For Sync Replication
| overlay syncprov
| syncprov-checkpoint 100 10
| syncprov-sessionlog 100
And on the consumer (ldap1):
| # Sync Replication
| syncrepl rid=001
| provider=ldaps://ldap-master.example.com/
| type=refreshAndPersist
| interval=00:01:00:00
| searchbase="dc=example,dc=com"
| scope=sub
| schemachecking=off
| bindmethod=simple
| binddn="cn=syncrepl-ldap1,dc=example,dc=com"
| credentials=supersecret
Now, when I query:
$ ldapsearch -D 'cn=admin,dc=example,dc=com' -Wx -H \
'ldaps://ldap-master.example.com/' '(ou=*)' ou | grep '^ou'
| ou: People
| ou: Roaming
| ou: Group
| ou: Reshall People
| ou: Reshall Group
| ou: Services
| ou: System Accounts
| ou: System Groups
But:
$ ldapsearch -D 'cn=admin,dc=example,dc=com' -Wx -H \
'ldaps://ldap1.example.com/' '(ou=*)' ou | grep '^ou'
| ou: People
| ou: Roaming
| ou: Group
| ou: Reshall People
| ou: Reshall Group
| ou: Services
You'll notice that the "System Accounts" and "System Groups" ou's are
not visible in the replicated directory. Odd.
Next, I run the query:
$ ldapsearch -D 'cn=admin,dc=example,dc=com' -Wx -H \
'ldaps://ldap-master.example.com/' '(objectClass=*)' ou | grep '^ou'
| ou: People
| ou: Roaming
| ou: Group
| ou: Reshall People
| ou: Reshall Group
| ou: Services
| ou: System Accounts
| ou: System Groups
But the syncrepl process is binding as "cn=syncrepl-ldap1":
$ ldapsearch -D 'cn=syncrepl-ldap1,dc=example,dc=com' -Wx -H \
'ldaps://ldap-master.example.com/' '(objectClass=*)' ou | grep '^ou'
| ou: People
| ou: Roaming
| ou: Group
| ou: Reshall People
| ou: Reshall Group
| ou: Services
So, if I configure the consumer to bind as my rootdn (cn=admin), the
entire directory gets replicated (as the final ldapsearch's would
imply). My question is how do I properly configure the ACLs here?
Shouldn't the 'read *' at the beginning of my ACL declarations match?
I'm attaching the full list of my ACLs to the message.
Thanks for any help or pointers you can offer.
--
Chris Cowart
Network and Infrastructure Systems Administrator
RSSP-IT, UC Berkeley
"May all your pushes be popped"
ando(a)sys-net.it wrote:
> hyc(a)symas.com wrote:
>> Howard Chu wrote:
>>> michael.stroeder(a)t-systems.com wrote:
>>>> Full_Name: Michael Ströder
>>>> Version: HEAD
>>>> OS: opensuse Linux 10.2
>>>> URL: ftp://ftp.openldap.org/incoming/
>>>> Submission from: (NULL) (83.124.17.145)
>>> Hmm, all tests are passing for me right now.
>>>
>> Never mind. I just refreshed back-ldap and back-meta and test032 is failing
>> for me now too.
>
> I've recently added some diagnostics messages to proxy failures, to
> indicate the reason of returning LDAP_UNAVAILABLE upon failed attempts
> to contact the remote target. Apparently, slapo-chain(5) leaves 'round
> some sr_text while setting sr_err to LDAP_SUCCESS. I'll check it.
Looks fine now, thanks.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
Chief Architect, OpenLDAP http://www.openldap.org/project/