Skip to content

Commit 519d213

Browse files
author
stroeder
committed
more attribute checks in test_simple_anonymous_bind
1 parent 30a3be6 commit 519d213

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Tests/t_cext.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,12 @@ def test_simple_anonymous_bind(self):
161161
self.assertEquals(ctrls, [])
162162

163163
# see if we can get the rootdse while we're here
164-
m = l.search_ext("", _ldap.SCOPE_BASE, '(objectClass=*)')
164+
m = l.search_ext(
165+
"",
166+
_ldap.SCOPE_BASE,
167+
'(objectClass=*)',
168+
['objectClass', 'namingContexts'],
169+
)
165170
result, pmsg, msgid, ctrls = l.result4(m, _ldap.MSG_ALL, self.timeout)
166171
self.assertEquals(result, _ldap.RES_SEARCH_RESULT)
167172
self.assertEquals(pmsg[0][0], "") # rootDSE has no dn

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy