-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: skip OpenLDAP tests on Packit #4540
Conversation
until I figure out whether it's possible to set up slapd there by analogy with what the scapy action on GitHub does. It's a follow-up to secdev#4539.
Looks like the OpenLDAP tests failed: https://github.com/secdev/scapy/actions/runs/11085252379/job/30801458305?pr=4540. It's not related to this PR though. ###(001)=[failed] (OpenLDAP) connect to server, bind, search
>>> cli = LDAP_Client()
>>> cli.connect("127.0.0.1")
┃ Connecting to 127.0.0.1 on port 389...
└ Connected from ('127.0.0.1', 53032)
>>> cli.bind(LDAP_BIND_MECHS.SIMPLE, simple_username="cn=admin,dc=scapy,dc=net", simple_password="Bonjour1")
>> LDAP_BindRequest
<< LDAP_BindResponse
SIMPLE bind succeeded !
>>> res = cli.search("dc=scapy,dc=net", "(&(givenName=Another)(sn=Test))", scope=2)
>> LDAP_SearchRequest
<< LDAP_SearchResponseEntry
###[ LDAP ]###
messageID = 0x2 <ASN1_INTEGER[2]>
\protocolOp\
|###[ LDAP_SearchResponseEntry ]###
| objectName= <ASN1_STRING[b'uid=another,ou=People,dc=scapy,dc=net']>
| \attributes\
| |###[ LDAP_SearchResponseEntryAttribute ]###
| | type = <ASN1_STRING[b'objectClass']>
| | \values \
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'top']>
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'person']>
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'inetOrgPerson']>
| |###[ LDAP_SearchResponseEntryAttribute ]###
| | type = <ASN1_STRING[b'cn']>
| | \values \
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'Another Test']>
| |###[ LDAP_SearchResponseEntryAttribute ]###
| | type = <ASN1_STRING[b'uid']>
| | \values \
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'another']>
| |###[ LDAP_SearchResponseEntryAttribute ]###
| | type = <ASN1_STRING[b'sn']>
| | \values \
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'Test']>
| |###[ LDAP_SearchResponseEntryAttribute ]###
| | type = <ASN1_STRING[b'givenName']>
| | \values \
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'Another']>
| |###[ LDAP_SearchResponseEntryAttribute ]###
| | type = <ASN1_STRING[b'userPassword']>
| | \values \
| | |###[ LDAP_SearchResponseEntryAttributeValue ]###
| | | value = <ASN1_STRING[b'testing']>
Controls = None
Traceback (most recent call last):
File "<input>", line 2, in <module>
File "/home/runner/work/scapy/scapy/scapy/layers/ldap.py", line 2085, in search
raise TimeoutError("Search timed out.")
TimeoutError: Search timed out. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4540 +/- ##
==========================================
- Coverage 81.62% 81.51% -0.11%
==========================================
Files 356 356
Lines 85533 85533
==========================================
- Hits 69814 69723 -91
- Misses 15719 15810 +91 |
Thanks for reporting that. In the mean time, thanks for the PR ! |
until I figure out whether it's possible to set up slapd there by analogy with what the scapy action on GitHub does.
It's a follow-up to #4539.