Bug 15851 - dcerpcd not able to bind to listening port
Summary: dcerpcd not able to bind to listening port
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DCE-RPCs and pipes (show other bugs)
Version: 4.22.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-17 16:32 UTC by Björn Jacke
Modified: 2025-05-09 12:31 UTC (History)
3 users (show)

See Also:


Attachments
Patch for v4-22-test (5.05 KB, text/plain)
2025-04-28 14:35 UTC, Stefan Metzmacher
asn: review+
Details
Patch for v4-21-test (5.05 KB, text/plain)
2025-04-28 14:36 UTC, Stefan Metzmacher
asn: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2025-04-17 16:32:26 UTC
in situations, where we have an existing IPv4 TCP session with the same src port that dcerpcd wants to bind to, then dcerpcd fails and does not use a different port.
Comment 1 Samba QA Contact 2025-04-28 14:32:03 UTC
This bug was referenced in samba master:

783ca9dc434bd1d18b762185ee936fcbcf292124
Comment 2 Stefan Metzmacher 2025-04-28 14:35:53 UTC
Created attachment 18638 [details]
Patch for v4-22-test
Comment 3 Stefan Metzmacher 2025-04-28 14:36:25 UTC
Created attachment 18639 [details]
Patch for v4-21-test
Comment 4 Andreas Schneider 2025-04-30 07:13:48 UTC
Comment on attachment 18639 [details]
Patch for v4-21-test

lgtm
Comment 5 Andreas Schneider 2025-04-30 07:14:19 UTC
Jule, please apply the patches to the corresponding branches! Thank you.
Comment 6 Jule Anger 2025-04-30 12:21:41 UTC
Pushed to autobuild-v4-{22,21}-test.
Comment 7 Samba QA Contact 2025-04-30 16:43:11 UTC
This bug was referenced in samba v4-21-test:

30d13d2c3cc7b24971b9548be13bf2a082a935ed
Comment 8 Samba QA Contact 2025-05-08 14:05:04 UTC
This bug was referenced in samba v4-22-test:

6f21f9527d6f1c6046bfc8bb5495eef8edbcfb08
Comment 9 Jule Anger 2025-05-09 11:53:01 UTC
Closing out bug report.

Thanks!