Bug 15106 - net ads info returns LDAP server and LDAP server name as null
Summary: net ads info returns LDAP server and LDAP server name as null
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.16.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 12:41 UTC by Andreas Schneider
Modified: 2022-09-28 15:41 UTC (History)
2 users (show)

See Also:


Attachments
patch for 4.16 and 4.15 (23.36 KB, patch)
2022-06-30 09:45 UTC, Andreas Schneider
jra: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2022-06-22 12:41:08 UTC
ads_try_connect: sending CLDAP request to  (realm: EXAMPLE.LOCAL)
Failed to create cldap tsocket_address for  - NT_STATUS_ALLOTTED_SPACE_EXCEEDED
ads_try_connect: CLDAP request  failed.

NT_STATUS_ALLOTTED_SPACE_EXCEEDED is EOVERFLOW returned by getnameinfo()


Patch will follow ...
Comment 1 Andreas Schneider 2022-06-30 09:45:04 UTC
Created attachment 17401 [details]
patch for 4.16 and 4.15
Comment 2 Jeremy Allison 2022-06-30 16:14:21 UTC
Re-assigning to Jue for inclusion in 4.16.next, 4.15.next.
Comment 3 Jule Anger 2022-07-11 10:24:54 UTC
Pushed to autobuild-v4-{16,15}-test.
Comment 4 Samba QA Contact 2022-07-11 11:34:03 UTC
This bug was referenced in samba v4-16-test:

42edafd3ed7a99f9a18d1612ea7525b11c43356d
a708af36656329e0ca39f6f8ab355ea965707bdf
Comment 5 Samba QA Contact 2022-07-12 14:45:04 UTC
This bug was referenced in samba v4-15-test:

ae5d715bd2c8e62265aab4fe99d71339bb704e10
fce5a61033ad441129723fc62f17b006ad3f196c
Comment 6 Jule Anger 2022-07-12 15:26:42 UTC
Closing out bug report.

Thanks!
Comment 7 Samba QA Contact 2022-07-18 11:19:22 UTC
This bug was referenced in samba v4-16-stable (Release samba-4.16.3):

42edafd3ed7a99f9a18d1612ea7525b11c43356d
a708af36656329e0ca39f6f8ab355ea965707bdf
Comment 8 Samba QA Contact 2022-09-28 15:41:07 UTC
This bug was referenced in samba v4-15-stable (Release samba-4.15.10):

ae5d715bd2c8e62265aab4fe99d71339bb704e10
fce5a61033ad441129723fc62f17b006ad3f196c