[ZWeb] Re: Help with Ldap Setup

Chris McDonough chrism@zope.com
27 May 2002 21:24:48 -0400


I wish I could help but I leaned pretty heavily on Jens to get it
working over here... you may want to ask on the Zope list and hope it's
got an easy solution.

Sorry!

- C


On Mon, 2002-05-27 at 17:00, Sidnei da Silva wrote:
> Howdy people.
> 
> After a week of hard work, now i can have some time for NZO again.
> 
> Today, I tried to get ldap membership working, but no clue yet. Well, almost. 
> 
> I have a LDAP Server working, zopeOrg Schema installed in place and tried to 
> import zope_org.ldif. It gave me just one error, seems like it couldnt import 
> ou=cvsaccess. I've lost the message. Attached there is a slapcat of my 
> database.
> 
> Then i modified the External Method setupZopeOrgMembership to fit my setup 
> and ran it. It just failed in the step where it sets up the skins. i 
> commented this part out and then it worked.
> 
> But now i have a problem that i couldnt figure out how to fix:
> 
> On the LDAP User Folder, in the Groups tab i have the following message:
> ###Error###: Cannot find (|(uniquemember=*)(member=*)) ... 
> 
> And if i try to add a group:
> An Error occurred:
> Error Type: No such object
> Server Message: parent does not exist (2002-05-27 17:34) 
> 
> Seems to be something simple, but all this ldap thing is a little beyond my 
> understanding. I tried to use LDAP User Folder for 6 times until today, and 
> just got it to work once, so, if anyone knows how to fix this (maybe ChrisM) 
> i would be glad if you can help me.
> 
> []'s
> 
> -- 
> Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
> X3ng Web Technology <http://www.x3ng.com.br>
> GNU/Linux user 257852
> Debian GNU/Linux 3.0 (Sid) 2.4.18-newpmac ppc
> 
> "It's not just a computer -- it's your ass."
> 		-- Cal Keegan
> ----
> 

> [root@serranet etc]# slapcat
> dn: dc=zope,dc=org
> objectClass: top
> objectClass: dcObject
> dc: zope
> 
> dn: ou=people,dc=zope,dc=org
> objectClass: top
> objectClass: organizationalUnit
> ou: people
> description: All user records are stored here
> 
> dn: ou=groups,dc=zope,dc=org
> objectClass: top
> objectClass: organizationalUnit
> ou: groups
> description: All groupings are stored underneath this unit
> 
> dn: ou=websites,ou=groups,dc=zope,dc=org
> objectClass: top
> objectClass: organizationalUnit
> ou: websites
> description: All website membership groups are underneath this unit
> 
> dn: ou=maillists,ou=groups,dc=zope,dc=org
> objectClass: top
> objectClass: organizationalUnit
> ou: maillists
> description: All mailing list membership groups go here
> 
> dn: ou=cvsaccess,ou=groups,dc=zope,dc=org
> objectClass: top
> objectClass: organizationalUnit
> ou: cvsaccess
> description: CVS access control groups
> 
> dn: ou=www.zope.org,ou=websites,ou=groups,dc=zope,dc=org
> objectClass: top
> objectClass: organizationalUnit
> ou: www.zope.org
> description: membership groups for www.zope.org
> 
> dn: cn=baymtn,ou=people,dc=zope,dc=org
> objectClass: top
> objectClass: zopeOrgPerson
> cn: baymtn
> 
> dn: cn=zopeorg,ou=people,dc=zope,dc=org
> objectClass: top
> objectClass: zopeOrgPerson
> cn: zopeorg