summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-26s3-utils: Use ads_do_search_retry in net ads searchAndrew Bartlett1-1/+1
This makes it possible to search against a slow server, as will fallback from 1000 to (eventually) 125 users at a time. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 26 03:53:34 CEST 2012 on sn-devel-104
2012-05-23Move source3/libads/dns.c to lib/addnsSimo Sorce1-1/+1
2012-05-23s3-ads-dns: Break dependency on lp_parmSimo Sorce1-2/+6
In preparation of making this code common to s3 and s4
2012-05-08s3-net: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2012-01-31s3:net ads join: remove a useless empty comment blockMichael Adam1-2/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Jan 31 18:37:45 CET 2012 on sn-devel-104
2012-01-31s3:net ads join: add a comment for the call to _net_ads_join_dns_update()Michael Adam1-0/+5
2012-01-31s3:net ads join: reduce indentation in _net_ads_join_dns_updates()Michael Adam1-46/+47
2012-01-31s3:net ads join: move dns update code out to new function ↵Michael Adam1-77/+84
_net_ads_join_dns_updates()
2012-01-31s3:net ads join: improve comment for dns update blockMichael Adam1-4/+4
2012-01-31s3:net ads join: improve status evaluation for call to net_update_dns()Michael Adam1-2/+5
untangle assignment from check and log error code in message if failed.
2012-01-31s3:net ads join: interpret return code of ads_kinit_password() in dns update ↵Michael Adam1-1/+8
block If failed, print according error message and skip the attempt to do dns update.
2012-01-31s3:net ads join: check for malloc success and react accordingly in dns ↵Michael Adam1-0/+5
update block
2012-01-31s3:net ads join: check for success of fetching machine password in dns ↵Michael Adam1-0/+5
update block log and cleanup accordingly if failed
2012-01-31s3:net ads join: untangle assignment from check, fix return code and improve ↵Michael Adam1-2/+8
error logging only the dns update failed, not the join. Also do proper memory cleanup
2012-01-31s3:net ads join: reduce indentation and improve logging in the dns update ↵Michael Adam1-13/+17
code block by doing an early goto done upon error condition
2012-01-31s3:net ads join: untangle assignment from check.Michael Adam1-1/+2
2011-11-03s3:utils: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher1-1/+1
metze
2011-10-31s3: fix typo in net ads join outputDavid Disseldorp1-1/+1
Space missing from "DNS update in aclustered setup". Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 16:01:35 CET 2011 on sn-devel-104
2011-10-28s3-net: Make sure to always re-use the "good" dc for the DNS updates as well.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 19:13:49 CEST 2011 on sn-devel-104
2011-10-10s3-net: when all DNS servers fail to operate, the overal DNS registration resultGünther Deschner1-0/+2
must be a failure. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 10 15:59:20 CEST 2011 on sn-devel-104
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-12/+12
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-01Fix const warning.Jeremy Allison1-1/+1
2011-05-18s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett1-4/+4
strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-2/+2
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-06More const fixes... getting near the end now.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-05More simple const fixups.Jeremy Allison1-3/+3
2011-04-28s3-libads Pass a struct sockaddr_storage to cldap routinesAndrew Bartlett1-4/+3
This avoids these routines doing a DNS lookup that has already been done, and ensures that the emulated DNS lookup isn't thrown away. Andrew Bartlett
2011-04-15s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner1-1/+1
Guenther
2011-04-12s3: Retry the join with the short nameVolker Lendecke1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-10s3-build: remove -I../lib/addns.Günther Deschner1-1/+1
Guenther
2011-02-28Fix some typesJelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-01-18s3-net: use correct spoolss header in net_ads.c.Günther Deschner1-1/+1
Guenther
2011-01-06s3-net: Fix bug #7690: retry DNS updates when connection to one nameserver ↵Günther Deschner1-6/+21
has failed. Initial patch from Patrik Martinsson <patrik.martinsson@smhi.se>. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jan 6 17:29:11 CET 2011 on sn-devel-104
2010-12-22Fix a warning message.Jeremy Allison1-1/+2
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104
2010-12-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke1-1/+1
2010-12-17s3:net ads dns register: use "cluster addresses" option if configured (bug ↵Stefan Metzmacher1-3/+11
#7871) metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 17 16:49:14 CET 2010 on sn-devel-104
2010-12-17s3:net ads dns register: add support for specifying addresse on the ↵Michael Adam1-3/+40
commandline (bug #7871) In the clustering case, this is also made the only possiblity to do dns updates, since the list addresses on the local interfaces is not suitable in that case. This fixes the "net ads dns register" part of bug #7871. It might be extended by a parsing of the "cluster addresses" setting. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17s3:net: add net_update_dns_ext() that accepts a list of addresses as ↵Michael Adam1-12/+27
parameter (bug# 7871) This generalized form of net_update_dns() will be used to add support for specifying a list of addresses on the commandline of "net ads dns register". This prepares the "net ads dns register" part of the fix for bug #7871. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17s3:net: disable dynamic dns updates at the end of "net ads join" in a ↵Michael Adam1-0/+19
cluster (bug #7871) In a clustered environment, registering the set of ip addresses that are assigned to the interfaces of the node that performs the join does usually not have the desired effect, since the local interfaces do not carry complete set of the cluster's public IP addresses. And it can also contain internal addresses that should not be visible to the outside at all. In order to do dns updates in a clustererd setup, use net ads dns register. This fixes the net ads join part of bug #7871. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-15Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison1-0/+13
Someone wasn't careful about testing when not running as root :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 20:45:25 CET 2010 on sn-devel-104
2010-12-10s3-net Allow 'net ads dns register' to take an optional hostname argumentAndrew Bartlett1-6/+10
This allows the administrator to more carefully chose what name to register. Andrew Bartlett
2010-11-22s3-net: use dns_errstr() when dns commands fail.Günther Deschner1-1/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 22 12:31:33 CET 2010 on sn-devel-104
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-09-23s3-dsgetdcname: always pass in messaging context.Günther Deschner1-0/+2
Volker, please check. Guenther
2010-08-26s3-build: only include krb5 environment variables where required.Günther Deschner1-0/+1
Guenther
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3: avoid global include of ads.h.Günther Deschner1-1/+1
Guenther
2010-07-13s3-libnet: better separate headers.Günther Deschner1-0/+4
Guenther