summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_ads.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-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
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-181-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
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-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
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes... getting near the end now.Jeremy Allison2011-05-061-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
* More simple const fixups.Jeremy Allison2011-05-051-3/+3
|
* s3-libads Pass a struct sockaddr_storage to cldap routinesAndrew Bartlett2011-04-281-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
* s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner2011-04-151-1/+1
| | | | Guenther
* s3: Retry the join with the short nameVolker Lendecke2011-04-121-0/+5
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-build: remove -I../lib/addns.Günther Deschner2011-03-101-1/+1
| | | | Guenther
* Fix some typesJelmer Vernooij2011-02-281-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3-net: use correct spoolss header in net_ads.c.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3-net: Fix bug #7690: retry DNS updates when connection to one nameserver ↵Günther Deschner2011-01-061-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
* Fix a warning message.Jeremy Allison2010-12-221-1/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104
* s3: Remove unused "retry" from cli_full_connectionVolker Lendecke2010-12-201-1/+1
|
* s3:net ads dns register: use "cluster addresses" option if configured (bug ↵Stefan Metzmacher2010-12-171-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
* s3:net ads dns register: add support for specifying addresse on the ↵Michael Adam2010-12-171-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>
* s3:net: add net_update_dns_ext() that accepts a list of addresses as ↵Michael Adam2010-12-171-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>
* s3:net: disable dynamic dns updates at the end of "net ads join" in a ↵Michael Adam2010-12-171-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>
* Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison2010-12-151-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
* s3-net Allow 'net ads dns register' to take an optional hostname argumentAndrew Bartlett2010-12-101-6/+10
| | | | | | This allows the administrator to more carefully chose what name to register. Andrew Bartlett
* s3-net: use dns_errstr() when dns commands fail.Günther Deschner2010-11-221-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
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-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
* s3-dsgetdcname: always pass in messaging context.Günther Deschner2010-09-231-0/+2
| | | | | | Volker, please check. Guenther
* s3-build: only include krb5 environment variables where required.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-1/+1
| | | | Guenther
* s3-libnet: better separate headers.Günther Deschner2010-07-131-0/+4
| | | | Guenther
* s3-libads: only include libds flags where needed.Günther Deschner2010-07-011-0/+1
| | | | Guenther
* s3-libads: move ads_dns out of main includes.Günther Deschner2010-07-011-0/+1
| | | | Guenther
* s3-libads: use shared well known guids.Günther Deschner2010-07-011-2/+2
| | | | Guenther
* s3: only use netlogon/nbt header when needed.Günther Deschner2010-05-311-0/+1
| | | | Guenther
* s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing ↵Günther Deschner2010-05-251-2/+2
| | | | | | rules" warning. Guenther
* s3-net: fix net_ads_gpo() for non-ads case.Günther Deschner2010-05-211-1/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-2/+2
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-net: let net_ads_gpo() call no_ads when built w/o ads support.Günther Deschner2010-05-201-0/+5
| | | | Guenther
* s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATAAndrew Bartlett2010-05-111-4/+2
| | | | | | | | | | | | | | | All the callers just want the PAC_LOGON_INFO, so search for that in ads_verify_ticket(), and don't bother the callers with the rest of the PAC. This change makes sense on it's own (removing boilerplate wrappers that just confuse the code), but it also makes it much easier to implement a matching ads_verify_ticket() function in Samba4 for the s3compat proposal. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* Fix more S3 build breakage. Matthias, please ensure S3 builds whenJeremy Allison2010-04-271-2/+2
| | | | | | changing common code. Jeremy.
* s3-net: fix net ads dns usage calls.Günther Deschner2010-02-081-3/+8
| | | | | | Bjoern, please check. Guenther
* s3 net: Fix compile warningsKai Blin2010-01-191-45/+80
|
* s3 net: Fix compile error with WITH_DNS_UPDATESKai Blin2010-01-191-2/+2
| | | | | bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error when building with WITH_DNS_UPDATES.
* s3/net: split up some printable stings to ease i18nBjörn Jacke2010-01-181-47/+48
| | | | | | If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
* s3-net: use generated krb5.conf in 'net ads testjoin'Günther Deschner2009-12-231-0/+4
| | | | Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-121-2/+2
| | | | | initialize return variables. Jeremy.
* s3-net: better use memory credential cache in net_ads_kerberos_pac().Günther Deschner2009-11-061-1/+1
| | | | Guenther
* s3-net: allow to call "net ads kerberos pac <impersonation principal> -P".Günther Deschner2009-11-061-1/+7
| | | | Guenther
* s3 net: i18n support for net adsKai Blin2009-07-291-378/+389
|