FW: [SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-963-g6a4efcc

Karthikeyan R karthikeyan_r at spanservices.com
Tue Oct 13 22:31:36 MDT 2009


 

-----Original Message-----
From: samba-technical-bounces at lists.samba.org [mailto:samba-technical-bounces at lists.samba.org] On Behalf Of Jelmer Vernooij
Sent: Wednesday, October 14, 2009 12:43 AM
To: Matthias Dieter Wallnöfer
Cc: samba-technical at lists.samba.org; samba-cvs at samba.org
Subject: Re: [SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-963-g6a4efcc

Hi Matthias,

On Tue, Oct 13, 2009 at 04:18:17PM +0200, Matthias Dieter Wallnöfer wrote:
> Jelmer, have you done some more investigations on this one?
Sorry, I don't have time to look into this one right now. 

Chers,

Jelmer

> 
> Matthias Dieter Wallnöfer schrieb:
> >Hi Jelmer,
> >
> >could you please look for a solution for this (locale setting - I 
> >personally don't know much about)? So I can reactivate this code 
> >snippet.
> >
> >Matthias
> >
> >Jelmer Vernooij schrieb:
> >>Hi Matthias,
> >>
> >>On Sat, 2009-10-03 at 09:55 -0500, Matthias Dieter Wallnöfer wrote:
> >>>@@ -1254,7 +1254,9 @@ member: CN=ldaptestutf8user 
> >>>èùéìòà,CN=Users,""" + self.base_dn + """
> >>>         self.assertTrue("member" not in res[0])
> >>>           print "Testing ldb.search for (&(cn=ldaptestutf8user 
> >>>ÈÙÉÌÒÀ)(objectClass=user))"
> >>>-        res = ldb.search(expression="(&(cn=ldaptestutf8user
> >>>ÈÙÉÌÒÀ)(objectClass=user))")
> >>>+# TODO UTF8 users don't seem to work fully anymore
> >>>+#        res = ldb.search(expression="(&(cn=ldaptestutf8user
> >>>ÈÙÉÌÒÀ)(objectClass=user))")
> >>>+        res = ldb.search(expression="(&(cn=ldaptestutf8user
> >>>èùéìòà)(objectclass=user))")
> >>>         self.assertEquals(len(res), 1, "Could not find 
> >>>(&(cn=ldaptestutf8user ÈÙÉÌÒÀ)(objectClass=user))")
> >>>           self.assertEquals(str(res[0].dn), ("CN=ldaptestutf8user 
> >>>èùéìòà,CN=Users," + self.base_dn)) @@ -1275,9 +1277,9 @@ member: 
> >>>CN=ldaptestutf8user èùéìòà,CN=Users,""" + self.base_dn + """
> >>>         ldb.delete(("CN=ldaptestgroup2,CN=Users," + self.base_dn))
> >>>           print "Testing ldb.search for
> >>>(&(cn=ldaptestutf8user2 ÈÙÉÌÒÀ)(objectClass=user))"
> >>>-        res = ldb.search(expression="(&(cn=ldaptestutf8user
> >>>ÈÙÉÌÒÀ)(objectClass=user))")
> >>>-
> >>>-        #FIXME: self.assert len(res) == 1, "Could not find
> >>>(expect space collapse, win2k3 fails) (&(cn=ldaptestutf8user2 
> >>>ÈÙÉÌÒÀ)(objectClass=user))"
> >>>+# TODO UTF8 users don't seem to work fully anymore
> >>>+#        res = ldb.search(expression="(&(cn=ldaptestutf8user
> >>>ÈÙÉÌÒÀ)(objectClass=user))")
> >>>+#        self.assertEquals(len(res), 1, "Could not find
> >>>(&(cn=ldaptestutf8user ÈÙÉÌÒÀ)(objectClass=user))")
> >>>           print "Testing that we can't get at the configuration DN 
> >>>from the main search base"
> >>>         res = ldb.search(self.base_dn, 
> >>>expression="objectClass=crossRef", scope=SCOPE_SUBTREE,
> >>>attrs=["cn"])
> >>>@@ -1360,8 +1362,8 @@ member: CN=ldaptestutf8user 
> >>>èùéìòà,CN=Users,""" + self.base_dn + """
> >>>         self.delete_force(self.ldb, 
> >>>"cn=ldaptestcomputer,cn=computers," + self.base_dn)
> >>>         self.delete_force(self.ldb, 
> >>>"cn=ldaptest2computer,cn=computers," + self.base_dn)
> >>>         self.delete_force(self.ldb, 
> >>>"cn=ldaptestcomputer3,cn=computers," + self.base_dn)
> >>>-        self.delete_force(self.ldb, "cn=ldaptestutf8user
> >>>èùéìòà ,cn=users," + self.base_dn)
> >>>-        self.delete_force(self.ldb, "cn=ldaptestutf8user2
> >>>èùéìòà ,cn=users," + self.base_dn)
> >>>+        self.delete_force(self.ldb, "cn=ldaptestutf8user
> >>>èùéìòà,cn=users," + self.base_dn)
> >>>+        self.delete_force(self.ldb, "cn=ldaptestutf8user2
> >>>èùéìòà,cn=users," + self.base_dn)
> >>>         self.delete_force(self.ldb, "cn=ldaptestcontainer," +
> >>>self.base_dn)
> >>>         self.delete_force(self.ldb, "cn=ldaptestcontainer2,"
> >>>+ self.base_dn)
> >>These tests still run fine, but unfortunately we seem to depend on a 
> >>particular locale being set (in the environment?). We might want to 
> >>force a particular locale during these tests .
> >>
> >>Cheers,
> >>
> >>Jelmer
> >
> >
> 

-- 
DISCLAIMER:

This email message and all attachments are  confidential and may contain information that
is privileged,  confidential or exempt from  disclosure under applicable law.  If you are
not  the intended  recipient,  you  are notified  that any dissemination, distribution or 
copying  of this email  is strictly prohibited. If you have received this email in error, 
please notify us immediately by return email or to mailadmin at spanservices.com and destroy 
the original message.

Opinions, conclusions, and other  information in  this message that  do not relate to the 
official business of SPAN, shall be understood to be neither given nor endorsed by SPAN.



More information about the samba-technical mailing list