summaryrefslogtreecommitdiff
path: root/source4/libcli/finddcs_cldap.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-12libcli: Fix improper use of tevent_req_simple_recv_ntstatusVolker Lendecke1-6/+10
tevent_req_simple_recv_ntstatus is just for the simple return without anything to do after it. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-12-02s4:libcli/finddcs_cldap: allow io->in.server_address as hostnameStefan Metzmacher1-3/+58
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-12-02s4:libcli/finddcs_cldap: try all NBT#1C addressesStefan Metzmacher1-12/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2011-11-26s4:libcli/finddcs_cldap.c - let "finddcs_cldap" work either with the IP ↵Matthias Dieter Wallnöfer1-14/+27
address or the domain name This will be useful for a new "samba-tool domain info" command. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-10s4:finddcs_cldap: debug the correct server address instead of NULLStefan Metzmacher1-1/+2
metze
2011-10-22s4:finddcs_cldap: talloc free old memory before allocating a new netlogon structStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 04:55:54 CEST 2011 on sn-devel-104
2011-10-22s4:finddcs_cldap: close the socket when it's not used anymoreStefan Metzmacher1-1/+2
The amount of possible fd's might be restricted, so close them early. metze
2011-10-22s4:finddcs_cldap: finddcs_cldap_recv() returns NTSTATUSStefan Metzmacher1-1/+6
We need to convert the errno based error to NTSTATUS before calling tevent_req_error (via tevent_req_nterror). metze
2011-10-22s4-cldap: fix cldap_socket_init to always specify the dest if local is NULLMatthieu Patou1-17/+18
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 22 00:02:00 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher1-1/+2
metze
2010-12-12s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer1-2/+0
And optimise includes
2010-11-06s4-cldap: fixed debug message to match contentAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 6 04:26:45 UTC 2010 on sn-devel-104
2010-11-05s4-cldap: print all the DNS servers foundAndrew Tridgell1-0/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-15s4-finddcs: better debug messages to help track down DNS problemsAndrew Tridgell1-1/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-12libcli/security Use common security.hAndrew Bartlett1-1/+1
This includes dom_sid.h and security_token.h and will be moved to the top level shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
2010-09-25s4-finddcs: allow override of server IP addressAndrew Tridgell1-1/+35
this will be used to implement --ipaddress option to net commands Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-19s4-cldap: improved debug msgs in finddcs_cldap()Andrew Tridgell1-3/+5
2010-09-19s4-finddcs: added some debug messages on failureAndrew Tridgell1-4/+7
2010-09-15s4-finddcs: ensure we free previous cldap requests before starting a new oneAndrew Tridgell1-1/+1
2010-09-15s4-finddcs: show required server type bits on failureAndrew Tridgell1-2/+3
when we skip a DC because it doesn't have the required server type bits, show what bits we wanted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell1-13/+98
once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell1-1/+1
this prevents conflicts with old generated files and we can only even return one DC with this interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddcs: added finddcs_cldap()Andrew Tridgell1-0/+244
this finds DCs with a specified set of server_type bit using SRV lookups and CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>