s3/libads: simplify storing existing ads->ldap.ss
authorRalph Boehme <slow@samba.org>
Mon, 31 Jan 2022 11:54:12 +0000 (12:54 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 8 Feb 2022 19:27:29 +0000 (19:27 +0000)
commitc266ed40aeb1b1f59a1811cd4511e32e44a4a719
tree6e2d4463f03bd5963699217669cafd24146dabc6
parentfe275259603c6ca695e386cca4088ce6b039825d
s3/libads: simplify storing existing ads->ldap.ss

We just need temporal storage for ads->ldap.ss, no need to store it as a struct
samba_sockaddr.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14674
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2354

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libads/ldap.c