Possible fix for DsRGetDCNameEx2

Andrew Bartlett abartlet at samba.org
Tue Apr 27 05:43:25 MDT 2010

This is an attempted fix for the problem of DsRGetDCNameEx2 failing when
the domain is NULL.  MS-NRPC DsrGetDcNameEx2 says that we
should use the current domain in this case. 


Can you please look at this, and decide if this check should instead be
in the CLDAP code, add tests and if OK push it to the tree?  (or else,
I'll get back to it, but it's your area, so I wanted to give you the
first go). 


Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drsgetdcnamesex.diff
Type: text/x-patch
Size: 1286 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100427/325ca587/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100427/325ca587/attachment.pgp>

More information about the samba-technical mailing list