kai/samba.git
8 years agoauth/credentials Give a sensible behaviour for resetting the krb5 context
Andrew Bartlett [Wed, 27 Oct 2010 04:22:46 +0000 (15:22 +1100)]
auth/credentials Give a sensible behaviour for resetting the krb5 context

This extra code isn't used at the moment, but I noticed the old API
was rather supprising in it's behaviour, and might catch someone out
at some later time.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Oct 27 05:24:22 UTC 2010 on sn-devel-104

8 years agolibrpc Make ndrdump use printf() rather than having to mess with DEBUG()
Andrew Bartlett [Wed, 27 Oct 2010 04:19:05 +0000 (15:19 +1100)]
librpc Make ndrdump use printf() rather than having to mess with DEBUG()

This means it no longer needs to force the debug level etc.

(this builds on the fine work by Volker to create dump_data_cb())

Andrew Bartlett

8 years agos3-smbd Remove manual override of DEBUGELVEL during exit
Andrew Bartlett [Wed, 27 Oct 2010 01:58:10 +0000 (12:58 +1100)]
s3-smbd Remove manual override of DEBUGELVEL during exit

This code, originally added at the dawn of time (the import into CVS)
does not seem to be required any more, as all the DEBUG() statements
in the intermediate functions are at level 0.

Andrew Bartlett

8 years agotalloc: fix waf build for libtalloc-compat1
Stefan Metzmacher [Wed, 27 Oct 2010 00:56:10 +0000 (02:56 +0200)]
talloc: fix waf build for libtalloc-compat1

We need to use 'libtalloc.so.1' as soname, otherwise the
compat library is useless.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104

8 years agowafsamba: support 'soname' attribute on SAMBA_LIBRARY()
Stefan Metzmacher [Wed, 27 Oct 2010 00:54:56 +0000 (02:54 +0200)]
wafsamba: support 'soname' attribute on SAMBA_LIBRARY()

It's sometimes needed to specifiy the soname directly.

metze

8 years agowaf: sped up the project rules checking
Andrew Tridgell [Wed, 27 Oct 2010 00:47:54 +0000 (11:47 +1100)]
waf: sped up the project rules checking

this also makes the --show-duplicates output more useful

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct 27 01:36:46 UTC 2010 on sn-devel-104

8 years agos3-waf: fixed the s3 waf build
Andrew Tridgell [Tue, 26 Oct 2010 23:38:50 +0000 (10:38 +1100)]
s3-waf: fixed the s3 waf build

Jelmer, this undoes some of your library renaming, as it conflicted
with existing binary and subsystem names

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct 27 00:22:34 UTC 2010 on sn-devel-104

8 years agowaf: quote subsystem names to make them clearer
Andrew Tridgell [Tue, 26 Oct 2010 23:37:58 +0000 (10:37 +1100)]
waf: quote subsystem names to make them clearer

8 years agolib/util: remove useless ../lib/util/mutex.*
Stefan Metzmacher [Sun, 24 Oct 2010 18:15:01 +0000 (20:15 +0200)]
lib/util: remove useless ../lib/util/mutex.*

Only the disabled process_thread.c registers uses the register fn,
all other functions are not used anywhere.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Oct 26 23:29:46 UTC 2010 on sn-devel-104

8 years agos4-dsdb_syntax: *_OID_oid_ldb_to_drsuapi() functions should use
Kamen Mazdrashki [Tue, 26 Oct 2010 19:14:43 +0000 (22:14 +0300)]
s4-dsdb_syntax: *_OID_oid_ldb_to_drsuapi() functions should use

dsdb_schema_pfm_attid_from_oid() instead of
dsdb_schema_pfm_make_attid() as those functions are
supposed to return ATTIDs only for OIDs we already know about
(i.e. are in prefixMap)

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct 26 22:44:36 UTC 2010 on sn-devel-104

8 years agos4-pfm_test: no need to test created prefixMap contents here - it already tested
Kamen Mazdrashki [Tue, 26 Oct 2010 18:20:11 +0000 (21:20 +0300)]
s4-pfm_test: no need to test created prefixMap contents here - it already tested

8 years agos4-pfm_test: Tests for dsdb_schema_pfm_attid_from_oid()
Kamen Mazdrashki [Tue, 26 Oct 2010 18:17:55 +0000 (21:17 +0300)]
s4-pfm_test: Tests for dsdb_schema_pfm_attid_from_oid()

8 years agos4-prefixMap: split dsdb_schema_make_attid() function into read-only and
Kamen Mazdrashki [Tue, 26 Oct 2010 15:33:32 +0000 (18:33 +0300)]
s4-prefixMap: split dsdb_schema_make_attid() function into read-only and

read-write functions.
dsdb_schema_make_attid() may change prefixMap implicitly
and this is not always desired behavior.
The problem was that
(1) callers had no control on this behavior
(2) callers had no way to know wheter prefixMap has been
    changed which can lead to hard to find bugs like
    prefixMap is changed in read operation

8 years agos4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap
Kamen Mazdrashki [Fri, 22 Oct 2010 13:22:08 +0000 (16:22 +0300)]
s4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap

rather than WERR_DS_NO_MSDS_INTID.
WERR_DS_NO_MSDS_INTID is intended to be used for msDsIntId
attribute values handling

8 years agoAdd a script for formating test result of st/subunit
Matthieu Patou [Fri, 22 Oct 2010 07:56:40 +0000 (11:56 +0400)]
Add a script for formating test result of st/subunit

This script show the time of each test and tests are sorted by execution
time (from the slowest to the quickest)

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Oct 26 20:42:11 UTC 2010 on sn-devel-104

8 years agoreplace: restore the order for #define + rep_strtoll
Matthieu Patou [Fri, 22 Oct 2010 06:23:23 +0000 (10:23 +0400)]
replace: restore the order for #define + rep_strtoll

8 years agos4:librpc: we don't need dcerpc client bindings for dns.idl
Stefan Metzmacher [Tue, 26 Oct 2010 18:47:44 +0000 (20:47 +0200)]
s4:librpc: we don't need dcerpc client bindings for dns.idl

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Oct 26 19:35:59 UTC 2010 on sn-devel-104

8 years agos4:ldap.py - add a test for attribute ranges - still very basic
Matthias Dieter Wallnöfer [Tue, 26 Oct 2010 17:09:44 +0000 (19:09 +0200)]
s4:ldap.py - add a test for attribute ranges - still very basic

And partially outcommented.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct 26 18:53:12 UTC 2010 on sn-devel-104

8 years agos4:sam.py - enhance users and groups test
Matthias Dieter Wallnöfer [Tue, 26 Oct 2010 10:37:21 +0000 (12:37 +0200)]
s4:sam.py - enhance users and groups test

8 years agos4:samldb LDB module - enhance the "member"-check trigger
Matthias Dieter Wallnöfer [Tue, 26 Oct 2010 10:08:02 +0000 (12:08 +0200)]
s4:samldb LDB module - enhance the "member"-check trigger

- Also multi-valued "member" attributes are allowed
- When you try to delete a member from a group which has it primary group set
  exactly to this group you get "UNWILLING_TO_PERFORM"

8 years agos4:ldap.py - enhance and activate the "description" attribute test
Matthias Dieter Wallnöfer [Sun, 24 Oct 2010 19:25:52 +0000 (21:25 +0200)]
s4:ldap.py - enhance and activate the "description" attribute test

It tests only the "description" attribute in particular since it behaves
differently from all others.

8 years agos4:objectclass_attrs.c - rework to support these special "description" constraints
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 11:56:14 +0000 (13:56 +0200)]
s4:objectclass_attrs.c - rework to support these special "description" constraints

Only the "description" attribute has this special restrictions.

8 years agowafsamba: Fix soname for standalone private libraries.
Jelmer Vernooij [Tue, 26 Oct 2010 17:25:35 +0000 (10:25 -0700)]
wafsamba: Fix soname for standalone private libraries.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct 26 18:10:13 UTC 2010 on sn-devel-104

8 years agotalloc: change pytalloc-util to be a public library.
Jelmer Vernooij [Sun, 24 Oct 2010 19:53:59 +0000 (12:53 -0700)]
talloc: change pytalloc-util to be a public library.

8 years agotalloc: Install pytalloc-util as system library.
Jelmer Vernooij [Sun, 24 Oct 2010 19:37:08 +0000 (12:37 -0700)]
talloc: Install pytalloc-util as system library.

8 years agowaf: Remove unused EXT_LIB_PYTHON.
Jelmer Vernooij [Sun, 24 Oct 2010 19:17:43 +0000 (12:17 -0700)]
waf: Remove unused EXT_LIB_PYTHON.

8 years agotalloc: Avoid dependency on unknown EXT_LIB_PYTHON.
Jelmer Vernooij [Sun, 24 Oct 2010 19:15:12 +0000 (12:15 -0700)]
talloc: Avoid dependency on unknown EXT_LIB_PYTHON.

8 years agotalloc: Move pytalloc to lib/talloc.
Jelmer Vernooij [Sun, 24 Oct 2010 18:58:47 +0000 (11:58 -0700)]
talloc: Move pytalloc to lib/talloc.

8 years agowaf: Only specify vnum for non-private libraries.
Jelmer Vernooij [Sun, 24 Oct 2010 18:50:47 +0000 (11:50 -0700)]
waf: Only specify vnum for non-private libraries.

8 years agowaf: Stop automaticaly changing dashes to underscores in library names.
Jelmer Vernooij [Sun, 24 Oct 2010 18:26:09 +0000 (11:26 -0700)]
waf: Stop automaticaly changing dashes to underscores in library names.

8 years agowaf: Don't auto-lowercase library names.
Jelmer Vernooij [Sun, 24 Oct 2010 17:49:13 +0000 (10:49 -0700)]
waf: Don't auto-lowercase library names.

8 years agowaf: Remove lib prefix from libraries manually.
Jelmer Vernooij [Sun, 24 Oct 2010 17:42:58 +0000 (10:42 -0700)]
waf: Remove lib prefix from libraries manually.

8 years agotorture_local: Add missing dependency on socket_wrapper.
Jelmer Vernooij [Sun, 24 Oct 2010 08:49:03 +0000 (01:49 -0700)]
torture_local: Add missing dependency on socket_wrapper.

8 years agowaf: build private libraries with so names.
Jelmer Vernooij [Sun, 24 Oct 2010 07:54:40 +0000 (00:54 -0700)]
waf: build private libraries with so names.

8 years agodcerpc_dns: Change back to subsystem for the moment.
Jelmer Vernooij [Sun, 24 Oct 2010 02:27:03 +0000 (19:27 -0700)]
dcerpc_dns: Change back to subsystem for the moment.

8 years agos4: Drop duplicate 'lib' prefix for private libraries.
Jelmer Vernooij [Sun, 24 Oct 2010 01:41:59 +0000 (18:41 -0700)]
s4: Drop duplicate 'lib' prefix for private libraries.

8 years agos3: Fix some DEBUG msgs
Volker Lendecke [Tue, 26 Oct 2010 14:36:38 +0000 (16:36 +0200)]
s3: Fix some DEBUG msgs

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Oct 26 15:20:01 UTC 2010 on sn-devel-104

8 years agos3: Package tdbrestore in RHEL-CTDB
Volker Lendecke [Tue, 26 Oct 2010 15:17:57 +0000 (09:17 -0600)]
s3: Package tdbrestore in RHEL-CTDB

8 years agos3: Pass tdb_flags to ctdbd when attaching to a db
Volker Lendecke [Mon, 25 Oct 2010 09:07:36 +0000 (11:07 +0200)]
s3: Pass tdb_flags to ctdbd when attaching to a db

This is required to make ctdb create databases with INCOMPATIBLE_HASH

8 years agos4:samr RPC server - "dcesrv_samr_info_DomGeneralInformation" - count always all...
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 18:48:18 +0000 (20:48 +0200)]
s4:samr RPC server - "dcesrv_samr_info_DomGeneralInformation" - count always all type of groups

One pair are universal an global groups (on the SAMR pipe called "groups") and
the other one are the domain and builtin local groups (on the SAMR pipe called
"aliases").

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 19:37:27 UTC 2010 on sn-devel-104

8 years agos4:samr RPC server - remove a somewhat pointless comment
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 18:39:05 +0000 (20:39 +0200)]
s4:samr RPC server - remove a somewhat pointless comment

Regardless if groups and users do exist in the builtin domain or not we do
count always all users, groups and aliases.

8 years agos4:"samdb_search_count" - introduce a "mem_ctx" parameter
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 16:14:02 +0000 (18:14 +0200)]
s4:"samdb_search_count" - introduce a "mem_ctx" parameter

All other "samdb_search_*" calls do have one - why "samdb_search_count" doesn't?

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 17:42:33 UTC 2010 on sn-devel-104

8 years agoldb:gendb_* calls: support a "NULL" resultset parameter
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 16:10:04 +0000 (18:10 +0200)]
ldb:gendb_* calls: support a "NULL" resultset parameter

This is useful for "samdb_search_count" where only the amount of entries
matters.

8 years agos4-test: Extend DRS-msDSIntId test to verify Configuration NC replica also
Kamen Mazdrashki [Sat, 9 Oct 2010 03:47:20 +0000 (06:47 +0300)]
s4-test: Extend DRS-msDSIntId test to verify Configuration NC replica also

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Oct 25 13:13:48 UTC 2010 on sn-devel-104

8 years agos4:samldb LDB module - other indentation fixes on error messages
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 11:33:13 +0000 (13:33 +0200)]
s4:samldb LDB module - other indentation fixes on error messages

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 12:31:57 UTC 2010 on sn-devel-104

8 years agos4:ldap.py - prove the denied multi-valued replace requests
Matthias Dieter Wallnöfer [Sun, 24 Oct 2010 19:32:30 +0000 (21:32 +0200)]
s4:ldap.py - prove the denied multi-valued replace requests

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 11:49:19 UTC 2010 on sn-devel-104

8 years agos4:objectclass_attrs LDB module - deny multi-valued replace requests
Matthias Dieter Wallnöfer [Tue, 19 Oct 2010 13:14:53 +0000 (15:14 +0200)]
s4:objectclass_attrs LDB module - deny multi-valued replace requests

This is the AD behaviour. But on attributes with the flag
"FLAG_ATTR_REQ_PARTIAL_SET_MEMBER" it is allowed.

8 years agos4:provision_*_references.ldif - "add" and do not "replace" the "wellKnownObjects"
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 09:28:09 +0000 (11:28 +0200)]
s4:provision_*_references.ldif - "add" and do not "replace" the "wellKnownObjects"

This is the correct AD operation in this case. Multi-valued replaces are
generally denied most of the time.

8 years agos4:samldb LDB module - fix indentations
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 09:05:22 +0000 (11:05 +0200)]
s4:samldb LDB module - fix indentations

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 09:48:15 UTC 2010 on sn-devel-104

8 years agos4:samldb LDB module - use "uint32_t" for available krbtgt number
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 09:02:34 +0000 (11:02 +0200)]
s4:samldb LDB module - use "uint32_t" for available krbtgt number

8 years agos4:samldb LDB module - assign better memory contexts in some cases
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 08:55:11 +0000 (10:55 +0200)]
s4:samldb LDB module - assign better memory contexts in some cases

8 years agos3-waf: implement LIBMSRPC_GEN as tiny wrapper of 'NDR_STANDARD NDR_DSSETUP NDR_SPOOLSS'
Stefan Metzmacher [Mon, 25 Oct 2010 06:07:46 +0000 (06:07 +0000)]
s3-waf: implement LIBMSRPC_GEN as tiny wrapper of 'NDR_STANDARD NDR_DSSETUP NDR_SPOOLSS'

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 25 08:58:49 UTC 2010 on sn-devel-104

8 years agos3-waf: use NDR_NETLOGON for ntlm_auth
Stefan Metzmacher [Mon, 25 Oct 2010 06:06:32 +0000 (06:06 +0000)]
s3-waf: use NDR_NETLOGON for ntlm_auth

metze

8 years agos3-waf: use NDR_SCHANNEL
Stefan Metzmacher [Mon, 25 Oct 2010 06:05:37 +0000 (06:05 +0000)]
s3-waf: use NDR_SCHANNEL

metze

8 years agos3-waf: use NDR_NTLMSSP subsystem
Stefan Metzmacher [Mon, 25 Oct 2010 06:03:22 +0000 (06:03 +0000)]
s3-waf: use NDR_NTLMSSP subsystem

metze

8 years agos3-waf: add NDR_STANDARD dependencies to fix the build
Stefan Metzmacher [Mon, 25 Oct 2010 05:47:35 +0000 (07:47 +0200)]
s3-waf: add NDR_STANDARD dependencies to fix the build

metze

8 years agos3-waf: use git to calculate the version if available
Stefan Metzmacher [Mon, 25 Oct 2010 06:33:39 +0000 (06:33 +0000)]
s3-waf: use git to calculate the version if available

metze

8 years agos4-waf: don't generate PACKAGE_* defines in config.h
Stefan Metzmacher [Mon, 25 Oct 2010 06:49:46 +0000 (06:49 +0000)]
s4-waf: don't generate PACKAGE_* defines in config.h

- We don't use them anywhere (heimdal has special rules)
- They calculate the version at configure time
  and may contain the wrong git hash while building
- If we really need them in future we should add them
  to version.h and not config.h, as the changing git hash
  will trigger a full rebuild if config.h changes.

metze

8 years agoautobuild: add some comments
Stefan Metzmacher [Mon, 25 Oct 2010 08:16:04 +0000 (08:16 +0000)]
autobuild: add some comments

metze

8 years agoautobuild: run ldb tests with TDB_NO_FSYNC=1
Stefan Metzmacher [Mon, 25 Oct 2010 07:01:28 +0000 (07:01 +0000)]
autobuild: run ldb tests with TDB_NO_FSYNC=1

Only the tdb tests should not have this.

metze

8 years agowaf: moved the -Wl,-no-undefined flags to source4 and ldb
Andrew Tridgell [Mon, 25 Oct 2010 00:29:12 +0000 (11:29 +1100)]
waf: moved the -Wl,-no-undefined flags to source4 and ldb

moved it out of the general waf build as the s3 waf build cannot yet
handle linking with -Wl,-no-undefined

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

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104

8 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>

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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()

8 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

8 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.

8 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.

8 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.

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

8 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.

8 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.

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