samba.git
13 years agos3-waf: fixed paths in s3 waf build for rpc_server
Andrew Tridgell [Sun, 24 Oct 2010 23:27:14 +0000 (10:27 +1100)]
s3-waf: fixed paths in s3 waf build for rpc_server

paths in waf rules are relative

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos3-waf: fixed waf configure for recent changes
Andrew Tridgell [Sun, 24 Oct 2010 23:14:41 +0000 (10:14 +1100)]
s3-waf: fixed waf configure for recent changes

13 years agolibcli/security Remove unused sec_acl_equal()
Andrew Bartlett [Sun, 24 Oct 2010 21:30:00 +0000 (08:30 +1100)]
libcli/security Remove unused sec_acl_equal()

This was orphaned by changing sec_desc_equal() to the stricter
security_descriptor_equal() by
f4195183a47b0e7c8bc9644d62b123f7880f3fcd in 2009.

(The difference here was that sec_acl_equal allowed for equivilent ordering.  I've checked the callers, and this function is only used to skip actual ACL sets, or to reference a cache, so this seems

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Oct 24 22:21:23 UTC 2010 on sn-devel-104

13 years agos3: Use cli_setpathinfo in cli_posix_unlink_internal
Volker Lendecke [Sun, 24 Oct 2010 16:32:29 +0000 (18:32 +0200)]
s3: Use cli_setpathinfo in cli_posix_unlink_internal

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 21:28:08 UTC 2010 on sn-devel-104

13 years agos3: Avoid passing down a boolean to cli_posix_unlink_internal_send
Volker Lendecke [Sun, 24 Oct 2010 16:27:25 +0000 (18:27 +0200)]
s3: Avoid passing down a boolean to cli_posix_unlink_internal_send

13 years agos3: Use cli_setpathinfo in cli_posix_chown_chmod_internal
Volker Lendecke [Sun, 24 Oct 2010 16:05:03 +0000 (18:05 +0200)]
s3: Use cli_setpathinfo in cli_posix_chown_chmod_internal

13 years agos3: Use cli_setpathinfo in cli_posix_link_internal
Volker Lendecke [Sun, 24 Oct 2010 15:06:47 +0000 (17:06 +0200)]
s3: Use cli_setpathinfo in cli_posix_link_internal

13 years agos3: Use tevent_req_simple_recv_ntstatus where appropriate
Volker Lendecke [Sun, 24 Oct 2010 14:59:56 +0000 (16:59 +0200)]
s3: Use tevent_req_simple_recv_ntstatus where appropriate

13 years agos3: Pass down a level instead of a flag to cli_posix_link_internal
Volker Lendecke [Sun, 24 Oct 2010 14:56:34 +0000 (16:56 +0200)]
s3: Pass down a level instead of a flag to cli_posix_link_internal

13 years agos3: Add async cli_setpathinfo
Volker Lendecke [Sun, 24 Oct 2010 14:45:54 +0000 (16:45 +0200)]
s3: Add async cli_setpathinfo

13 years agos3: Add "setea" to smbclient
Volker Lendecke [Sun, 24 Oct 2010 13:43:34 +0000 (15:43 +0200)]
s3: Add "setea" to smbclient

13 years agos3: Add "geteas" to smbclient
Volker Lendecke [Sun, 24 Oct 2010 11:32:30 +0000 (13:32 +0200)]
s3: Add "geteas" to smbclient

13 years agoAdd dump_data_cb()
Volker Lendecke [Sun, 24 Oct 2010 13:42:45 +0000 (15:42 +0200)]
Add dump_data_cb()

13 years agoAdd print_asc_cb()
Volker Lendecke [Sun, 24 Oct 2010 13:23:41 +0000 (15:23 +0200)]
Add print_asc_cb()

13 years agos4-test: Print correct partition DN in msDSIntId test
Kamen Mazdrashki [Sat, 9 Oct 2010 03:04:52 +0000 (06:04 +0300)]
s4-test: Print correct partition DN in msDSIntId test

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Oct 24 20:45:21 UTC 2010 on sn-devel-104

13 years agos4:dsdb - remove some calls of "samdb_msg_add_string" when we have talloc'ed strings
Matthias Dieter Wallnöfer [Thu, 14 Oct 2010 20:26:44 +0000 (22:26 +0200)]
s4:dsdb - remove some calls of "samdb_msg_add_string" when we have talloc'ed strings

They can be substituted by "ldb_msg_add_string" if the string was already
talloc'ed.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 24 20:03:27 UTC 2010 on sn-devel-104

13 years agotalloc: pytalloc should not depend on samba specific code
Stefan Metzmacher [Sun, 24 Oct 2010 17:52:01 +0000 (19:52 +0200)]
talloc: pytalloc should not depend on samba specific code

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 24 19:21:25 UTC 2010 on sn-devel-104

13 years agos3:include: move debug.c prototypes to debug.h
Stefan Metzmacher [Sun, 24 Oct 2010 18:25:18 +0000 (20:25 +0200)]
s3:include: move debug.c prototypes to debug.h

metze

13 years agos3:include: move MAX_DEBUG_LEVEL from local.h to debug.h
Stefan Metzmacher [Sun, 24 Oct 2010 17:44:21 +0000 (19:44 +0200)]
s3:include: move MAX_DEBUG_LEVEL from local.h to debug.h

metze

13 years agos4:dsdb - use LDB results in "add_time_element" and "add_uint64_element"
Matthias Dieter Wallnöfer [Sun, 24 Oct 2010 17:39:26 +0000 (19:39 +0200)]
s4:dsdb - use LDB results in "add_time_element" and "add_uint64_element"

In both the "objectguid" and the "repl_meta_data" DSDB module.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 24 18:39:43 UTC 2010 on sn-devel-104

13 years agos4:dsdb - use the more safe "samdb_msg_add_(u)int*" calls always where possible
Matthias Dieter Wallnöfer [Sun, 24 Oct 2010 17:30:12 +0000 (19:30 +0200)]
s4:dsdb - use the more safe "samdb_msg_add_(u)int*" calls always where possible

This should prevent all possible integer storage problems in future.

13 years agopidl:Samba4/NDR/Parser: fix NDR64 union alignment
Stefan Metzmacher [Mon, 16 Aug 2010 15:35:50 +0000 (17:35 +0200)]
pidl:Samba4/NDR/Parser: fix NDR64 union alignment

We need to align before the switch_type and before the
union arms. Both alignments are to the boundary of the largest
possible union arm.

This means that adding a new union arm with a larger alignment
would break compat!!!

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 24 17:49:23 UTC 2010 on sn-devel-104

13 years agomidltests: add more union_align examples
Stefan Metzmacher [Sun, 24 Oct 2010 16:54:46 +0000 (18:54 +0200)]
midltests: add more union_align examples

This demonstrates the difference between NDR32 and NDR64

metze

13 years agos3: Initialize output vars in parse_ea_blob
Volker Lendecke [Sun, 24 Oct 2010 11:27:33 +0000 (13:27 +0200)]
s3: Initialize output vars in parse_ea_blob

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104

13 years agos4:librpc: we don't need dcerpc client bindings for dns.idl
Stefan Metzmacher [Sun, 24 Oct 2010 10:31:03 +0000 (12:31 +0200)]
s4:librpc: we don't need dcerpc client bindings for dns.idl

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 24 11:23:50 UTC 2010 on sn-devel-104

13 years agos3: Remove unused cli_get_ea_list_fnum
Volker Lendecke [Sun, 24 Oct 2010 09:38:22 +0000 (11:38 +0200)]
s3: Remove unused cli_get_ea_list_fnum

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 10:23:29 UTC 2010 on sn-devel-104

13 years agos3: Replace cli_qfileinfo_test with a call to cli_qfileinfo
Volker Lendecke [Sun, 24 Oct 2010 09:21:56 +0000 (11:21 +0200)]
s3: Replace cli_qfileinfo_test with a call to cli_qfileinfo

13 years agos3: Convert cli_qfileinfo_basic to cli_qfileinfo
Volker Lendecke [Sat, 23 Oct 2010 20:37:16 +0000 (22:37 +0200)]
s3: Convert cli_qfileinfo_basic to cli_qfileinfo

13 years agos3: Convert cli_qfilename to cli_qfileinfo
Volker Lendecke [Sat, 23 Oct 2010 07:43:31 +0000 (09:43 +0200)]
s3: Convert cli_qfilename to cli_qfileinfo

13 years agos3: Add async cli_qfileinfo
Volker Lendecke [Sat, 23 Oct 2010 07:35:49 +0000 (09:35 +0200)]
s3: Add async cli_qfileinfo

13 years agos3: Rename cli_fileinfo() to cli_fileinfo_basic()
Volker Lendecke [Sat, 23 Oct 2010 07:28:47 +0000 (09:28 +0200)]
s3: Rename cli_fileinfo() to cli_fileinfo_basic()

13 years agotorture/local: Depend on NSS_WRAPPER, even if it wasn't enabled.
Jelmer Vernooij [Sun, 24 Oct 2010 00:18:56 +0000 (17:18 -0700)]
torture/local: Depend on NSS_WRAPPER, even if it wasn't enabled.

torture_local tests nss_wrapper.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 24 01:02:00 UTC 2010 on sn-devel-104

13 years agoldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion with
Jelmer Vernooij [Sat, 23 Oct 2010 23:38:57 +0000 (16:38 -0700)]
ldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion with
'ldb' python module.

13 years agos4: Rename LIBCLI_NBT -> cli_nbt.
Jelmer Vernooij [Sat, 23 Oct 2010 23:29:45 +0000 (16:29 -0700)]
s4: Rename LIBCLI_NBT -> cli_nbt.

13 years agos4: Rename LIBCLI_LDAP to libcli_ldap.
Jelmer Vernooij [Sat, 23 Oct 2010 23:27:47 +0000 (16:27 -0700)]
s4: Rename LIBCLI_LDAP to libcli_ldap.

13 years agos4: Rename WBCLIENT to wbclient.
Jelmer Vernooij [Sat, 23 Oct 2010 23:23:53 +0000 (16:23 -0700)]
s4: Rename WBCLIENT to wbclient.

13 years agos4: Rename DB_GLUE to db_glue.
Jelmer Vernooij [Sat, 23 Oct 2010 23:21:00 +0000 (16:21 -0700)]
s4: Rename DB_GLUE to db_glue.

13 years agos4: Rename SMBPASSWD to smbpasswd.
Jelmer Vernooij [Sat, 23 Oct 2010 23:19:23 +0000 (16:19 -0700)]
s4: Rename SMBPASSWD to smbpasswd.

Rename DSDB_MODULE to dsdb_module.

13 years agowaf: Lowercase several library names.
Jelmer Vernooij [Sat, 23 Oct 2010 23:12:14 +0000 (16:12 -0700)]
waf: Lowercase several library names.

13 years agos4: Rename LIBSAMBA-* to libsamba-*
Jelmer Vernooij [Sat, 23 Oct 2010 23:05:50 +0000 (16:05 -0700)]
s4: Rename LIBSAMBA-* to libsamba-*

13 years agos4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}
Jelmer Vernooij [Sat, 23 Oct 2010 22:53:52 +0000 (15:53 -0700)]
s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}

13 years agos4: Rename SAMDB_COMMON to samdb_common.
Jelmer Vernooij [Sat, 23 Oct 2010 22:48:49 +0000 (15:48 -0700)]
s4: Rename SAMDB_COMMON to samdb_common.

13 years agowaf: Rename LIBWINBIND-CLIENT to libwinbind-client
Jelmer Vernooij [Sat, 23 Oct 2010 22:30:42 +0000 (15:30 -0700)]
waf: Rename LIBWINBIND-CLIENT to libwinbind-client

13 years agos4: Rename NSS_WRAPPER to nss_wrapper.
Jelmer Vernooij [Sat, 23 Oct 2010 22:19:49 +0000 (15:19 -0700)]
s4: Rename NSS_WRAPPER to nss_wrapper.

Only link to nss_wrapper when it is enabled.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104

13 years agos4: Rename UID_WRAPPER to uid_wrapper.
Jelmer Vernooij [Sat, 23 Oct 2010 21:59:43 +0000 (23:59 +0200)]
s4: Rename UID_WRAPPER to uid_wrapper.

Only link to uid_wrapper when it is enabled.

13 years agos4: Rename WRAP_XATTR to wrap_xattr.
Jelmer Vernooij [Sat, 23 Oct 2010 21:53:08 +0000 (23:53 +0200)]
s4: Rename WRAP_XATTR to wrap_xattr.

13 years agos4: Rename LIBEVENTS to libevents.
Jelmer Vernooij [Sat, 23 Oct 2010 21:49:33 +0000 (23:49 +0200)]
s4: Rename LIBEVENTS to libevents.

13 years agos4: Rename NDR_TABLE to ndr_table.
Jelmer Vernooij [Sat, 23 Oct 2010 21:41:19 +0000 (23:41 +0200)]
s4: Rename NDR_TABLE to ndr_table.

13 years agos4: Rename LIBNETIF to libnetif.
Jelmer Vernooij [Sat, 23 Oct 2010 21:36:32 +0000 (23:36 +0200)]
s4: Rename LIBNETIF to libnetif.

13 years agowaf: Rename some BUNDLED_ functios to PRIVATE_.
Jelmer Vernooij [Sat, 23 Oct 2010 21:26:43 +0000 (23:26 +0200)]
waf: Rename some BUNDLED_ functios to PRIVATE_.

13 years agocreate_descriptor.c - fix comment
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 20:50:29 +0000 (22:50 +0200)]
create_descriptor.c - fix comment

The location in MS-DTYPE changed.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 23 21:33:46 UTC 2010 on sn-devel-104

13 years agos4:provision.py - add the correct "CN=Sites" security descriptor
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 19:26:05 +0000 (21:26 +0200)]
s4:provision.py - add the correct "CN=Sites" security descriptor

This should help to fix bug #7403.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 23 20:16:59 UTC 2010 on sn-devel-104

13 years agos4:schema.py - reformat and fix the security descriptor
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 18:27:50 +0000 (20:27 +0200)]
s4:schema.py - reformat and fix the security descriptor

- Now it matches Windows's order
- It contained a superfluous entry (an "Administrator" user grant)

13 years agoldb: Support using system pyldb library.
Jelmer Vernooij [Sat, 23 Oct 2010 18:41:27 +0000 (20:41 +0200)]
ldb: Support using system pyldb library.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 19:24:25 UTC 2010 on sn-devel-104

13 years agoldb: Install pkg-config file for pyldb.
Jelmer Vernooij [Sat, 23 Oct 2010 18:39:48 +0000 (20:39 +0200)]
ldb: Install pkg-config file for pyldb.

13 years agoldb: Install pyldb-util as public library.
Jelmer Vernooij [Sat, 23 Oct 2010 18:38:52 +0000 (20:38 +0200)]
ldb: Install pyldb-util as public library.

13 years agotdb: Revert re-addition of tdb_set_logging_function.
Jelmer Vernooij [Sat, 23 Oct 2010 17:53:38 +0000 (19:53 +0200)]
tdb: Revert re-addition of tdb_set_logging_function.

I accidentally committed this patch which we carry in the Debian
packages.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 18:37:16 UTC 2010 on sn-devel-104

13 years agoldb:ldb.h - include a comment that the relax control is mainly used by the OpenLDAP...
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 14:54:55 +0000 (16:54 +0200)]
ldb:ldb.h - include a comment that the relax control is mainly used by the OpenLDAP backend

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 23 16:40:04 UTC 2010 on sn-devel-104

13 years agos4/ldb:introduce the LDB_CONTROL_PROVISION_OID control
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 14:15:51 +0000 (16:15 +0200)]
s4/ldb:introduce the LDB_CONTROL_PROVISION_OID control

This control is exactly thought for the actions which previously were performed
using the RELAX one.

We agreed that the RELAX control will only remain for interactions with OpenLDAP.

13 years agoldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into LDB_CONTROL_BYPASS_OPERATIONAL_OID
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 14:06:17 +0000 (16:06 +0200)]
ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into LDB_CONTROL_BYPASS_OPERATIONAL_OID

It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".

13 years agos4:dns_server - fix counter types
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 13:52:34 +0000 (15:52 +0200)]
s4:dns_server - fix counter types

13 years agotdb: commit the version 1.2.7 signatures
Matthias Dieter Wallnöfer [Sat, 23 Oct 2010 14:36:45 +0000 (16:36 +0200)]
tdb: commit the version 1.2.7 signatures

13 years agos4 dns: Implement update record prescan logic
Kai Blin [Sun, 3 Oct 2010 10:21:00 +0000 (12:21 +0200)]
s4 dns: Implement update record prescan logic

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Sat Oct 23 10:58:18 UTC 2010 on sn-devel-104

13 years agos4 dns: Add stub checking if updates are allowed
Kai Blin [Sat, 2 Oct 2010 22:40:32 +0000 (00:40 +0200)]
s4 dns: Add stub checking if updates are allowed

13 years agos4 dns: Add a prerequisites check for updates
Kai Blin [Mon, 11 Oct 2010 21:40:18 +0000 (23:40 +0200)]
s4 dns: Add a prerequisites check for updates

13 years agos4 dns: Switch to WERROR
Kai Blin [Mon, 11 Oct 2010 21:39:44 +0000 (23:39 +0200)]
s4 dns: Switch to WERROR

13 years agos4 dns: Split up the code into multiple files for easier development
Kai Blin [Fri, 1 Oct 2010 19:59:22 +0000 (12:59 -0700)]
s4 dns: Split up the code into multiple files for easier development

13 years agos4 dns: More work on updates
Kai Blin [Mon, 11 Oct 2010 21:50:16 +0000 (23:50 +0200)]
s4 dns: More work on updates

13 years agos4 dns: Map between NTSTATUS and dns error codes
Kai Blin [Mon, 11 Oct 2010 21:22:55 +0000 (23:22 +0200)]
s4 dns: Map between NTSTATUS and dns error codes

13 years agos4 dns: Better error handling when parsing invalid or unknown records
Kai Blin [Fri, 1 Oct 2010 03:35:00 +0000 (20:35 -0700)]
s4 dns: Better error handling when parsing invalid or unknown records

13 years agos4 dns: start handling update requests, return correct error codes
Kai Blin [Fri, 1 Oct 2010 01:21:53 +0000 (18:21 -0700)]
s4 dns: start handling update requests, return correct error codes

13 years agos4 dns: Allow more components as part of a domain name
Kai Blin [Fri, 1 Oct 2010 01:20:42 +0000 (18:20 -0700)]
s4 dns: Allow more components as part of a domain name

13 years agos4 dns: Handle CNAME records
Kai Blin [Fri, 1 Oct 2010 00:05:23 +0000 (17:05 -0700)]
s4 dns: Handle CNAME records

13 years agos4 dns: Parse srv and soa records
Stefan Metzmacher [Thu, 30 Sep 2010 23:41:29 +0000 (01:41 +0200)]
s4 dns: Parse srv and soa records

Signed-off-by: Kai Blin <kai@samba.org>
13 years agos4 dns: Look up all names in the ldb database.
Kai Blin [Thu, 30 Sep 2010 23:35:04 +0000 (16:35 -0700)]
s4 dns: Look up all names in the ldb database.

13 years agos4 dns: Look up records in the ldb database
Kai Blin [Mon, 11 Oct 2010 20:32:25 +0000 (22:32 +0200)]
s4 dns: Look up records in the ldb database

13 years agos4 dns: Fix a data corruption in the dns_string parsing
Kai Blin [Mon, 11 Oct 2010 20:31:14 +0000 (22:31 +0200)]
s4 dns: Fix a data corruption in the dns_string parsing

13 years agodnsp: Can't have two memebers of a union with the same name
Kai Blin [Mon, 11 Oct 2010 20:29:05 +0000 (22:29 +0200)]
dnsp: Can't have two memebers of a union with the same name

13 years agos4 dns: Reply to a name request with an A record.
Kai Blin [Thu, 30 Sep 2010 00:24:53 +0000 (17:24 -0700)]
s4 dns: Reply to a name request with an A record.

The first real answer to a DNS request. Still uses hardcoded reply.

13 years agondr dns: Add simple parser
Kai Blin [Fri, 22 Oct 2010 07:37:38 +0000 (09:37 +0200)]
ndr dns: Add simple parser

13 years agos4 dns: Add a boilerplate DNS server implementation
Kai Blin [Tue, 12 Oct 2010 04:23:32 +0000 (06:23 +0200)]
s4 dns: Add a boilerplate DNS server implementation

13 years agodns/nbt: Fix spelling of the "authoritative" flag.
Kai Blin [Thu, 30 Sep 2010 00:22:09 +0000 (17:22 -0700)]
dns/nbt: Fix spelling of the "authoritative" flag.

13 years agoidl: Add idl describing DNS structures
Kai Blin [Fri, 22 Oct 2010 07:08:20 +0000 (09:08 +0200)]
idl: Add idl describing DNS structures

13 years agonetlogon.idl: Switch to explicit constants to remove dependency on nbt.idl
Kai Blin [Sat, 25 Sep 2010 14:23:56 +0000 (07:23 -0700)]
netlogon.idl: Switch to explicit constants to remove dependency on nbt.idl

13 years agos4 dns: Import DNS win32 error codes from MS-ERREF
Kai Blin [Sat, 2 Oct 2010 00:41:01 +0000 (17:41 -0700)]
s4 dns: Import DNS win32 error codes from MS-ERREF

13 years agos4 dsdb kcc: Prefer msDS-hasMasterNCs over hasMasterNCs when replicating
Kai Blin [Thu, 30 Sep 2010 20:16:19 +0000 (13:16 -0700)]
s4 dsdb kcc: Prefer msDS-hasMasterNCs over hasMasterNCs when replicating

13 years agos4 socket: increase the debuglevel to make add interface debug messages less verbose
Kai Blin [Fri, 1 Oct 2010 08:13:28 +0000 (01:13 -0700)]
s4 socket: increase the debuglevel to make add interface debug messages less verbose

13 years agos4:rpc_server/netlogon: netr_ServerAuthenticate3 should return NO_TRUST_SAM_ACCOUNT
Stefan Metzmacher [Sat, 23 Oct 2010 09:03:41 +0000 (11:03 +0200)]
s4:rpc_server/netlogon: netr_ServerAuthenticate3 should return NO_TRUST_SAM_ACCOUNT

If we can't find the account we should return NT_STATUS_NO_TRUST_SAM_ACCOUNT
instead of NT_STATUS_ACCESS_DENIED.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 23 10:05:35 UTC 2010 on sn-devel-104

13 years agos4:rpc_server/netlogon: netr_ServerAuthenticate3 should reject invalid sec_channel_ty...
Stefan Metzmacher [Sat, 23 Oct 2010 09:02:43 +0000 (11:02 +0200)]
s4:rpc_server/netlogon: netr_ServerAuthenticate3 should reject invalid sec_channel_types early

metze

13 years agos4:rpc_server/netlogon: netr_ServerAuthenticate3 should check the challenge after...
Stefan Metzmacher [Sat, 23 Oct 2010 09:01:43 +0000 (11:01 +0200)]
s4:rpc_server/netlogon: netr_ServerAuthenticate3 should check the challenge after the account

metze

13 years agos4:rpc_server/netlogon: fix comment in netr_DsRGetDCName()
Stefan Metzmacher [Wed, 29 Sep 2010 22:33:18 +0000 (00:33 +0200)]
s4:rpc_server/netlogon: fix comment in netr_DsRGetDCName()

metze

13 years agos4:rpc_server/netlogon: handle DC_RETURN_NETBIOS and DC_RETURN_DNS in netr_DsRGetDCNa...
Stefan Metzmacher [Wed, 29 Sep 2010 22:29:48 +0000 (00:29 +0200)]
s4:rpc_server/netlogon: handle DC_RETURN_NETBIOS and DC_RETURN_DNS in netr_DsRGetDCNameEx2()

metze

13 years agos4:rpc_server/netlogon: validate flags in netr_DsRGetDCNameEx2() and callers
Stefan Metzmacher [Wed, 29 Sep 2010 22:27:52 +0000 (00:27 +0200)]
s4:rpc_server/netlogon: validate flags in netr_DsRGetDCNameEx2() and callers

Thanks to Tarun Chopra for the help of looking up all the bits in
the docs.

metze

13 years agos4:rpc_server/netlogon: netr_GetDcName should return WERR_DCNOTFOUND for invalid...
Stefan Metzmacher [Wed, 29 Sep 2010 18:36:40 +0000 (20:36 +0200)]
s4:rpc_server/netlogon: netr_GetDcName should return WERR_DCNOTFOUND for invalid names

Only netbios domain names are allowed.

metze

13 years agomisc.idl: add SEC_CHAN_LOCAL and SEC_CHAN_LANMAN
Stefan Metzmacher [Sat, 23 Oct 2010 08:55:49 +0000 (10:55 +0200)]
misc.idl: add SEC_CHAN_LOCAL and SEC_CHAN_LANMAN

MsvApSecureChannel and UasServerSecureChannel in [MS-NRPC]

metze

13 years agolib/util: Add tevent WERROR wrappers
Kai Blin [Fri, 22 Oct 2010 14:40:38 +0000 (16:40 +0200)]
lib/util: Add tevent WERROR wrappers

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104

13 years agotsocket: let tstream_inet_tcp_connect_recv() optionally return the used local address
Stefan Metzmacher [Thu, 21 Oct 2010 21:31:41 +0000 (23:31 +0200)]
tsocket: let tstream_inet_tcp_connect_recv() optionally return the used local address

tstream_inet_tcp_connect_send() usually only gets no local port number
and it may use the wildcard address '0.0.0.0' or '::'.

tstream_inet_tcp_connect_recv() provides the used local address and port
which are used on the wire.

metze

13 years agotsocket: ask the kernel for the specific local address after a tcp connect
Stefan Metzmacher [Thu, 21 Oct 2010 21:26:14 +0000 (23:26 +0200)]
tsocket: ask the kernel for the specific local address after a tcp connect

metze

13 years agolib/replace: use snprintf() in test code to avoid warnings in the IBM-Checker
Stefan Metzmacher [Fri, 22 Oct 2010 12:41:47 +0000 (14:41 +0200)]
lib/replace: use snprintf() in test code to avoid warnings in the IBM-Checker

metze

13 years agolib/replace: fix rep_strtoull() prototype
Stefan Metzmacher [Fri, 22 Oct 2010 06:44:29 +0000 (08:44 +0200)]
lib/replace: fix rep_strtoull() prototype

metze