[SCM] Samba Shared Repository - branch v3-5-test created - release-4-0-0alpha8-1364-g38995d7
Karolin Seeger
kseeger at samba.org
Thu Sep 3 05:27:50 MDT 2009
The branch, v3-5-test has been created
at 38995d7cbb0c3143eb1fea0215863321349c7bbe (commit)
- Log -----------------------------------------------------------------
commit 38995d7cbb0c3143eb1fea0215863321349c7bbe
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Sep 2 17:39:28 2009 +0300
First attempt to implement dcesrv_drsuapi_DsGetNCChanges
So far it returns the ctr6 responce without proper linked attributes
support and metadata. A couple of improvements are the filter in the search
uses '(uSNChanged>=N)', added extended dn search support, non-replicated attributes
are excluded from the result.
commit 957a9285c22c5f4412154bd84a82d66fe759b0f5
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Sep 2 17:20:16 2009 +0300
Fix the dsdb_syntax_OID_ldb_to_drsuapi function
This replace the dsdb_syntax_FOOBAR_ldb_to_drsuapi function,
which was left as a TODO code. Implementation in both added functions
is completely identical and probably should differ in the future.
commit 47dfe78142c89fd8798d22d5837d9b3be356ae78
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Aug 21 14:39:09 2009 +0300
Ignoring generated files:
libcli/smb/smb_common_proto.h
source4/torture/ntp/proto.h
commit d3d6713c599fa74f5fdd890bd00ab0dd721749d8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 18:36:02 2009 +1000
another large change to the linked_attribute module
This one copes with deleted objects where linked attributes have been
set on the module. We hit this when we do the ldb wipe at the start of
a provision, which trigers linked attribute updates, but for objects
that have disappeared. We need to ensure that the linked attribute
updates only happen on the right object, and if the object gets
re-created (as happens with a provision) then it is not the right
object.
To cope with this we record the GUID of the object when the operation
that triggered the linked attribute update comes in, and then find the
DN by suing that GUID when we apply the change in the prepare commit
hook.
commit b72b8f6e7d6a83999153b71edd6f50a1803eff95
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 18:33:17 2009 +1000
hook on prepare_commit instead of transaction_end
This allows for safe transaction end aborts
commit 47f52e7a337f1f0e35c77f480146bbee3ac1d309
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 18:32:42 2009 +1000
greatly simplify the transaction processing in the partition module
Now that ldb is calling prepare commit separately, the job of the
partition module on transaction end is much simpler (and more robust!)
commit 7dbe0797b1c98fc63af20af03c2b36cc04a7386e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 18:31:45 2009 +1000
show more reasonable object counts during a vampire
We now show the total number of objects we have processed, which gives
the user a better idea of how much has been done. A vampire on a large
domain can take an hour or more (which needs to be fixed btw, it is a
problem with the lack of scalability of the ltdb index code). Watching
the same msg for an hour makes you wonder if any progress is being
made!
commit bfccc4590dc94b37258b7225d153c4c01d1a28d6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 18:29:58 2009 +1000
always use prepare_commit in ldb transaction commits if possible
The reason we need this is to make multi-tdb transactions safe, with
the partition module. The linked_attributes and repl_meta_data modules
now do extra processing when the transaction ends, and that processing
can fail. When it fails we need to cancel the transaction, which we
can only do if the hook is on the prepare commit instead of the end
transaction call. Otherwise the partition module cannot ensure that no
commit has been done on another partition.
commit c37f290043c55ec6428a313b4ec3ca2f91e5e98e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 18:27:29 2009 +1000
added dsdb_find_guid_by_dn()
This will be used by the linked_attribute module
commit 617bbd913dcd6335cfcee3db6d23e8d3262dd566
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 13:03:31 2009 +1000
allow setting of the debug level in python from C
commit 348824da759a78b06e75d6ab7f8f85aa9912957c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 12:55:57 2009 +1000
change repl_meta_data to process linked_attributes structures in end_transaction
When running at functional level 2 or above, the repl_meta_data module
can receive linked attribute structures from the repl replication
task. These attributes can come through DRS before the associated
objects have been created. To cope with this, we need to process
linked attributes in the end_transaction hook.
commit aff1e623aadb5ec67ac2bd83abb53f3e6f5280d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 12:53:36 2009 +1000
fixed transaction handling in linked_attributes module
We need to call down to the next transaction function when we finish
in linked_attributes.
This also changes linked_attributes to use the common
dsdb_find_dn_by_guid() function
commit e6257d94de5ba72f4c14ee13f3643f39d2caf5c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 12:52:31 2009 +1000
add the the linked attributes elements to the repl structure
This exposes the linked_attributes to the repl_meta_data module
commit 95fd3c8ee061100fc5949440f257e53084df72a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 12:51:42 2009 +1000
tell the server that we support linked attribute replication
commit 5d23ad8c2d5f647a1bd2fb41ec63e5c5bf245ad2
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 12:51:22 2009 +1000
added dsdb_find_dn_by_guid()
This came from the linked_attributes module, but now the
repl_meta_data module needs the same functionality, so move it to a
common routine.
commit 642a84c12927176726c24f5d709a3479c36bd7e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Sep 3 12:50:19 2009 +1000
fix the ndr print routines for samba4
This uses a hackish #if just for samba4. The proper fix is much more
complex.
commit 127bf61a4006c60a70b0e43b61c60e532990d3b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 21:51:02 2009 +1000
support config files in the current directory
commit c033b2dd2d09e3699e0756c8cc21388e383d8fd7
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue Aug 25 18:39:06 2009 +0300
Fix for DSSYNC test against Windows 2003
commit 5c54e4c103c99ec5be836cdd51469ce2558366fb
Author: Volker Lendecke <vl at samba.org>
Date: Thu Sep 3 09:18:10 2009 +0200
s3:libsmb: Attempt to fix bug 6665
Before the async libsmb rewrites, we sent tid==0 on negprot. With the rewrite,
we send 0xffff. This *should* not matter, but this is one difference in the
sniffs I see.
commit 5268783e5cb5d77b3fa016d1da6ddf197d7bd8a8
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:09:13 2009 +0200
s3-net: allow to exit "net rpc sh" with "q" as well.
Guenther
commit a0b1968167c36c345711a98c65c3974590b1ce6a
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 15:29:44 2009 +0200
s3-netlogon: use WERRORs in NETLOGON_INFO structures.
Guenther
commit 6657598168724d4fe076f9014c2b5c16a034fe52
Author: Matt Kraai <mkraai at beckman.com>
Date: Wed Aug 26 14:50:28 2009 -0700
Do not redefine strupr
Signed-off-by: Günther Deschner <gd at samba.org>
commit f092d689c577293d011912be5ded5ebf8aa49fc9
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 24 00:33:44 2009 +0200
s3-pdb_ldap: Fix bug #4296: Clean up group membership while deleting a user.
Note that this only is tried with editposix=yes.
Guenther
commit 9bf74d0ed9c7496bb133e5108ba297abb1b00747
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 28 16:04:08 2009 +0200
s4-smbtorture: test netr_ServerSetPassword2 against Samba3.
Guenther
commit 2b8afd2257d8c9886f785929ca8dfcd04eb45755
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 27 23:30:50 2009 +0200
s3-netlogon: implement _netr_ServerPasswordSet2.
Guenther
commit 71e9dfc0cd7d054dd52508faa4c07db9205b541a
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 27 23:30:14 2009 +0200
s3-netlogon: rework _netr_ServerPasswordSet.
Guenther
commit bde679e6f84b16d63a8007fe48789ee7951b9f34
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 18:31:22 2009 +1000
show the full set of command line options for ldb tools
I always found it hard to remember some of the options. We might as
well use popt to give us the full list
commit 931771138a52a3385afb2d3966509a57def3ece5
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 31 17:13:05 2009 +0200
s3-netlogon: implement _netr_LogonSamLogonWithFlags().
Guenther
commit 9f031352c6e9439922284fc853611964b33ea4af
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 18:18:33 2009 +1000
traverse the ac list in reverse order
items are added to the linked attribute list using DLIST_ADD(), which
means to commit them to the database in the same order they came from
the server we need to walk the list backwards when we traverse it
commit b5f63160d474b1fc8484a1a9112aa4f248d1e814
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 17:08:52 2009 +1000
repl_meta_data should only be included when we are a DC
commit ca45847edab3a5897c0e0d3b4c486ad9ae0848c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 17:02:56 2009 +1000
s4:dsdb rewrite the linked_atrributes code to commit in the end_transaction hook
linked attribute changes can come in any order. This means it is
possible for a forward link to come over the wire in DRS before the
target even exists. To make this work this patch changed the linked
attributes module to gather up all the changes it needs to make in a
linked list, then execute the changes in the end_transaction hook for
the module.
During that commit phase we also fix up all the DNs that we got by
searching for their GUID, as the objects may have moved after the
linked attribute was sent, but before the end of the transaction
commit 199be936d8920fce31e18d6663f8ba36f573d26f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 16:58:04 2009 +1000
move the repl_meta_data module up the ldb module stack
The repl_meta_data module needs to be above the linked_attributes
module, to allow linked_attributes to do its magic
commit 69802b3a3b934407d898088c8b3fbee64919b668
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 16:57:25 2009 +1000
wrap the entire vampire operation in a transaction
We want to grab the whole database, or none of it.
This is also needed to get linked attributes right
commit 10bd56b34a51cb10f48646584d58f0fdffe85e94
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 16:56:39 2009 +1000
use ldb_cmdline_help() in ldbsearch
commit 1e552770ee25fb34b680ef01bc64e21dc9803782
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 16:56:20 2009 +1000
added ldb_cmdline_help()
This allows the ldb tools to show their full command line options
commit 29320bc6e0f364047686b76f26dbd8135ab87377
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 16:55:57 2009 +1000
add the partition_control control to replication requests
We know the partition DN from the DRS objects, we need to pass this
down the modules below us to ensure they operate on the right
partition
commit 79255a9384e16a37602028fb0960acf9fc1eb257
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 13:36:54 2009 +1000
change the dsdb_control_current_partition to not include internal variables
This structures was used in two ways. In one way it held variables
that are logically internal to the partition module, and in the other
way it was used to pass the partition DN down to other modules. This
change makes the structure contain just the dn which is being passed
down.
This change is part of the support for linked attributes. We will be
passing this control down from above the partition module to force
which partition a request acts upon. The partition module now only
adds this control if it isn't already there.
commit 67bf17598bd755ac07952fc44ce27031478d5503
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 13:33:37 2009 +1000
don't allow two controls to be added with the same OID
Two controls with the same OID makes no sense, as they may
have different data attached
commit 4b336fed94b953cd78087a1ffcf75b65cb846c0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 11:20:26 2009 +1000
Display ldif formatted versions of all DRS changes at log level 4
This helps a lot with debugging the DRS replication code
commit a19ad210332008c25e24dd6aba6a3479ba9ffe3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 11:17:43 2009 +1000
Wrap DRS changes in a transaction
We should always apply a whole set of DRS changes or none of them. See
[MS-DRSR] 3.3.2
commit 132242fe7ebbf7bba9fb5a361788b0157cc704ac
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 11:15:44 2009 +1000
add a ref to the WSPP docs
commit 90b694bc6114cbb652b11a136a8fc3657861d790
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 11:15:29 2009 +1000
fixed spelling
commit b5bf4400659a59b6508ede2e9d1b7fbd253c0b07
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Sep 2 11:14:33 2009 +1000
added ldb_ldif_message_string()
This function provides a easy function for displaying a ldb_message
structure in a human readable format. It is especially useful for
calling in gdb.
commit aec03eda93d3db8723c79f062c80db0267ac2e59
Author: Simo Sorce <idra at samba.org>
Date: Sat Aug 29 19:31:02 2009 -0400
s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9264f4891484b0316e8e574e256ca0b0a5e9f007
Author: Günther Deschner <gd at samba.org>
Date: Tue Sep 1 11:58:05 2009 +0200
wbclient: Fix Bug #6680: always activate handling of large (> 256 byte) ntlmv2
blobs in wbcAuthenticateUserEx().
Guenther
commit 1bc05ca3bb6499d25d54ba49f2abbc54edad37ed
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Sep 1 12:55:23 2009 +0200
s3-docs: Update build howto.
This addresses bug #6661.
Karolin
commit 792b544e3704c792d969ebe55b950919283df5b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 31 17:12:07 2009 +0200
netlogon: fill in more details for the netr_LogonControlX family of calls.
Guenther
commit 94f7c98430372cc3213f56cd1e085e60837c7196
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 31 17:12:34 2009 +0200
s3-netlogon: add DS_WEB_SERVICE_REQUIRED bit for dsgetdcname calls.
Guenther
commit a3e9b62f440340f075859e080086daec88e226f5
Author: Simo Sorce <idra at samba.org>
Date: Sun Aug 30 17:52:03 2009 -0400
ldb: Depend on libtalloc 2.0.0
commit 185d06e122f1da75f3b0fa03c56565ced27907c9
Author: Simo Sorce <idra at samba.org>
Date: Sun Aug 30 16:07:44 2009 -0400
ldb: cosmetic changes in ldb_dn
- remove trailing spaces and tabs
- shorten some variable names for readability
- try to break superlong lines for readability
commit a28b499e80cbbd459d22050c1f19e750d6855604
Author: Simo Sorce <idra at samba.org>
Date: Sun Aug 30 13:53:14 2009 -0400
s3: Fix libtalloc so version
commit bb1f56a814c7a830adf9568fe2144861611de8e2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 30 11:39:41 2009 +0200
s3:libwbclient: Fix bug 6349, initialize domain info struct
commit 417927019856182c3bd09318def82a561ebc12a5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 30 11:12:17 2009 +0200
s3:winbind: Fix bug 5626
Apparently the AIX compiler can't deal with sizeless array declarations
commit 0cae043b0c1d2fa55f6709230658155caaecb4fc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 30 09:46:34 2009 +0200
w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API
commit 9e7c6f12fdb6a8ce198359572bb9e69c7d46530a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 30 09:41:43 2009 +0200
w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API
commit 0d120be36bfc561e3f679d081993ccc6bea2a401
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:55:28 2009 +0200
One would expect I could spell my name...
commit 700533a748bd37fc0cfed2a65fdd9e4cd3e7e8ee
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:54:35 2009 +0200
One would expect I could spell my name.
commit 84446a2407d0e44f829a11d033ba59286d286e1b
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 16:04:47 2009 +0200
tdb: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
commit f7c473f53470b3fb7eac9474928cfa76219e766e
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:40:18 2009 +0200
tdb: run abi_checks as part of "make test".
Strange: I had to place "test:: abi_checks" before the main
"test::" target here, otherwise the abi checks would not get run.
Michael
commit dff3f37cf189e99c2011048cbf23b37d7161d9f8
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:28:31 2009 +0200
tdb: remove files generated by "make abi_checks" in "make clean".
Michael
commit e21ecfc5635e6fe8a53bf5297698f34cc8eaebd2
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 16:03:06 2009 +0200
tdb: add a target "abi_checks" to tdb.
Simply run "make abi_checks" to call the abi check script appropriately.
Michael
commit 9636e0d373e75cce7063b710227eaaf53f447c1b
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 15:53:12 2009 +0200
tdb: add script/abi_checks.sh. check for abi changes without gcc magic.
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]
This creates symbol signature lists using the mksyms and mksigs scripts
and compares them with the checked in lists.
Michael
commit 0760a04ef9f7d2f3d966017295712769d02b8b9f
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 15:08:19 2009 +0200
tdb: add script to extract signatures from header files.
This produces output like the output gcc produces when
invoked with the -aux-info switch.
Run like this: cat include/tdb.h | ./script/mksigs.pl
This simple parser is probably too coarse to handle all
possible header files, but it treats tdb.h correctly...
Michael
commit 006fd0c43c7c403b8671dfc46e5ee31e92480e1f
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 15:01:17 2009 +0200
tdb: add scripts to extract library symbols (exports file) from headers
Michael
commit c7d9617259bafddd1ce26a5c336885e2d3c6771a
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 16:04:47 2009 +0200
talloc: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
commit d9b193189afb83f02ba68e6360f34cd8c6f59873
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:06:58 2009 +0200
talloc: remove talloc_free from the exports
Michael
commit fe0b5234ba8ea1cdf0657e8ef1fbe970f82df6cd
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:16:36 2009 +0200
talloc: run abi_checks as part of "make test"
Michael
commit 4e9a06d601a20fb714ffbf2ed6fd2b6f2d931b30
Author: Michael Adam <obnox at samba.org>
Date: Sun Aug 30 00:25:24 2009 +0200
talloc: remove files generated by "make abi_check" in "make clean"
Michael
commit cbc75c11fd45174da90ec61f000228a39905b171
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 16:03:06 2009 +0200
talloc: add a target "abi_checks" to talloc.
Simply run "make abi_checks" to call the abi check script appropriately.
Michael
commit f1b386a894afd3917e7c0532918e27ad755c8d74
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 15:53:12 2009 +0200
talloc: add script/abi_checks.sh. check for abi changes without gcc magic.
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]
This creates symbol signature lists using the mksyms and mksigs scripts
and compares them with the checked in lists.
Michael
commit 4579c0546292e57d03cb925a83fab2363af42895
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 15:08:19 2009 +0200
talloc: add script to extract signatures from header files.
This produces output like the output gcc produces when
invoked with the -aux-info switch.
Run like this: cat talloc.h | ./script/mksigs.pl
This simple parser is probably too coarse to handle all possible
header files, but it does treat talloc.h correctly.
Michael
commit e896f9188d8c44a24dcc8961bafd2667080ffd37
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 15:01:17 2009 +0200
talloc: add scripts to extract library symbols (exports file) from headers
Michael
commit 2774a02f64a57d981924e0fc65b23060803cc469
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 29 17:17:47 2009 +0200
s3:winbind: Convert WINBINDD_LIST_GROUPS to the new API
commit 6b474c56a5a1cfaf11dec1c35c7510ba06f175b1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 29 16:05:02 2009 +0200
s3:winbind: Convert WINBINDD_LIST_USERS to the new API
commit a95955f285ea13a3feddafa75edf8d2031d39403
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 29 19:39:35 2009 +0200
s3:nsstest: Fix a very confusing behaviour in nsstest
Testing getgrent I thought I get the offset calculations wrong whereas
it was only nsstest printing stuff with spaces...
commit 129562206a17a6debf3a21a82381fdcf470c8665
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 29 19:28:42 2009 +0200
s3:winbind: add a fake NDR winbind cache validator
commit e47491e83c27c5cd8dbc10e69b57f54ff570f703
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 23:33:45 2009 +0200
s3:winbind: Convert the getgrent functions to the new API
commit e71714830e23032bef9e5f644ca9531e8bc168b6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 29 15:21:29 2009 +0200
s3:winbind: Add a comment about fill_grent_mem_domusers...
commit 9b5ad55de11d479f9127861f0ef485d7c9972312
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 23:27:37 2009 +0200
s3:winbind: Add some missing error checks
commit 8b9085472dc6a3e8d0dc84e3cbad0ba057fcec83
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 21:54:58 2009 +0200
s3:winbind: Fix a typo
commit 10e9df2975f9630a9fc9474fc810107bc7680f0f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 21:53:15 2009 +0200
s3:winbind: Add async wb_next_grent
commit 2555c12bcefa212d482c9acaa5ae87b6107fa1a2
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 19:54:18 2009 +0200
s3:winbind: Add async QueryGroupList
commit 50d9fb42fc771e07326f3f47103676f2ef88107e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 17:11:24 2009 +0200
w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new API
commit 425239caeeb22cb0a221a38b70f2f2dc8b64bdcc
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 26 12:27:32 2009 +0200
s3:winbind: Convert the GETDCNAME routines to the new API
commit 15312e7310b63fbb22db319f201a8ce4f667ea62
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 26 11:33:16 2009 +0200
s3:winbind: Add async wb_dsgetdcname
commit 244bb7f163017f409935e265370a4068b3bc8d0c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 23:02:44 2009 +0200
s3:winbind: Convert winbindd_dsgetdcname to the new API
commit 7579f0fb175d9e9484465d54cbc933283c26005e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 22:13:34 2009 +0200
s3:winbind: Add an async dsgetdcname call
commit 9c30a8dc6fffd592592a108f3d9d93769ba74417
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 17 23:13:48 2009 +0200
s3:winbind: Convert the GETPWENT routines to the new API
commit 6e2bf7e23480cb467288adac145ec2853aeaa11d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 17 22:50:39 2009 +0200
s3:winbind: Add async next_pwent
commit 91588e6e8f01eee824f7a07d85247ac5a6cd8f9c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 17 22:44:55 2009 +0200
s3:winbind: Add async fill_pwent
commit c325ba89cfeb9c4bbf1733d15e063809f4bc1332
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 17 22:40:19 2009 +0200
s3:winbind: Add async query_user_list
commit 9ef2c7096341f849bd1b52bf92e01936c3869eee
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 12:38:47 2009 +0200
s3:winbind: simplify wb_seqnums_done a bit
commit ae6a6690d5ed55935c1fa0ad2800d83455c94382
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 12:29:25 2009 +0200
s3:winbind: Make wb_seqnums.c update the winbind cache seqnums
commit 99cf696150a1b8e24a9d87981b710b703045a2a5
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 28 14:25:11 2009 +0200
s3:winbind: Fix a bug found by RPC-SAMR
We need to enumerate passdb alias members
Thanks to gd for bugging me :-)
commit ccc18d4d5d3aa0c6a5767bdb8f0dbdd761b93897
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 16:13:51 2009 +0200
s3:winbind: Fix a typo
commit 58feaa794791fd33fdb44686c6296e6bbfa8e7a1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 23 12:43:43 2009 +0200
s3:winbind: Rename wbint_GroupMembers to wbint_Principals
commit ffd9d41be93984b6a139818184716e709fbfa1ef
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 23 12:38:35 2009 +0200
s3:winbind: Rename wbint_GroupMember to wbint_Principal
commit 23abcd2318c69753aa2a144e1dc0f9cf9efdb705
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 29 09:41:32 2009 +0200
tevent: Fix a segfault upon the first signal
When the first signal arrives, tevent_common_signal_handler() crashed: "ev" is
initialized to NULL, so the first "write(ev->pipe_fds[1], &c, 1);" dereferences
NULL.
Rusty, Tridge, please check. Also, can you tell me a bit more about the
environment you tested this in? I'd be curious to see where this survived.
Thanks,
Volker
commit c1b8eb884b71727fa12f4f62e0261c07b47c943a
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Wed Aug 26 14:54:58 2009 -0700
s3: Add catia to the list of modules compiled by default
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit ad88284038104f57e383418e1a0a5abc938b18f6
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Wed Aug 26 14:55:38 2009 -0700
s3: Major revamp for catia vfs module
This patch builds out catia to allow fully configurable mappings,
including mappings from single byte to multi-byte characters.
Additionally, a much more complete list of vfs operations are now
covered.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit e046b382f24f507a19bfb020b145ea2ec8acafcb
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Wed Aug 26 14:56:09 2009 -0700
s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME
This vop is designed to work in tandem with SMB_VFS_READDIR to allow
vfs modules to make modifications to arbitrary filenames before
they're consumed by callers. Subsequently the core directory
enumeration code in smbd is now changed to free the memory that may be
allocated in a module. This vop enables the new version of catia in
the following patch.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 77e2403f1314a28722f0fb21f6682320b2e9935d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 28 19:26:53 2009 +1000
s4:ldb Don't sleep(100) in this error case, but debug the LDIF
commit 72fb26e9a4047174c32ffb18ddfd6c6dc046e82b
Author: Matthieu Patou <mat at matws.net>
Date: Wed Aug 26 20:30:15 2009 +0400
s4: Create helpers functions related to provision
One for getting attributes with DN syntax, one for getting forward
linked attributes and one for getting the list of partition
commit e3c7e9e81edf05f6946cac6f07a8bd8d6729adcb
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 14:09:58 2009 +0200
s4-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)
Michael
commit 9f1c162e3374250657e3f90c34df19031bb58c93
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 28 14:06:28 2009 +0200
s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)
This also removes build warnings of redefined macros
since it uses the embracing "#ifndef _DLINKLIST_H ... #endif".
Michael
commit 074c6d4214ca5ae2a71eb8cb62a3cf19a88a39b3
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 28 13:42:39 2009 +0200
s4: include ntlmssp header in auth/ntlmssp/ntlmssp.h.
Guenther
commit 9afd44d03ceef5efa242b5a5104b93ac6a7e9f2c
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 20:22:58 2009 +0200
s3-ntlmssp: use generated ntlmssp code for debugging purpose.
Guenther
commit 91df77d2cf2f83b8c6ed6c0d70ca75748a2a9a98
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 28 11:37:28 2009 +0200
s3-ntlmssp: add NDR helper routines for ntlmssp.
Guenther
commit 2287849074dea6065b1229b61715478f821c867e
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 28 11:36:28 2009 +0200
s4: fix the build after ntlmssp header change.
Guenther
commit b7a5e7a5d607d38e28cb8b28d45ede749500fa13
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 12:30:48 2009 +0200
libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.
Guenther
commit 38d677bdf2cd3df554c93bb7ffbcf34f444538b5
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 12:27:51 2009 +0200
s4-ntlmssp: use interface constants in TargetInfo blob.
Guenther
commit e8c19f31b34ca56ae785ade9e2fdc17c80795acc
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 12:12:59 2009 +0200
s4-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.
Guenther
commit 82469deeac99ebf4d01bb4d88e5f3a456b752045
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 14 14:08:45 2009 +0200
s3-ntlmssp: use interface constants in TargetInfo blob.
Guenther
commit 25d6c0a51813928a7ef343a1d5411247212a0bc6
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 20:22:04 2009 +0200
s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.
Guenther
commit 3a519fac8a1bf352fc8895458d4d27311a215c81
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 21 20:41:03 2009 +0200
ntlmssp: add ndr_print_ntlmssp_{nt,lm}_response() function.
Guenther
commit 4d1c88123980dc7ac92c5881aa05c016d2d060f6
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 20:19:47 2009 +0200
ntlmssp: re-run make samba3-idl and add generated files.
Guenther
commit 9b844e7ff3ea512c4967dbdaba07b36ab187a704
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 14 01:01:21 2009 +0200
ntlmssp: add NTLMSSP_MESSAGE_SIGNATURE to IDL.
Guenther
commit b4a860ba81441e6e5be5eb82031151c09796f898
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 23:18:52 2009 +0200
ntlmssp: add AUTHENTICATE_MESSAGE to idl.
Guenther
commit e65a3cb0db7ac079c4667d3bc7b56bfb19a89f7a
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 18:14:31 2009 +0200
ntlmssp: add CHALLENGE_MESSAGE to IDL.
Guenther
commit c3a6f288476a285e7039bf35da83f31bac46d075
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 14 00:31:53 2009 +0200
ntlmssp: add NEGOTIATE_MESSAGE to IDL.
Guenther
commit 4e7edc7906aa0ec260ad2e1faf5e414b968a6310
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 14 00:48:58 2009 +0200
ntlmssp: add string helper functions to handle OEM and UNICODE charset.
Guenther
commit d4d2b42a921af11dc34ce48b8f4668171e388f95
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 13 17:11:07 2009 +0200
ntlmssp: add ntlmssp helper skeleton.
Guenther
commit ff7958394c4729a5e194795b19cb863e9b31ebb0
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 15:23:28 2009 +0200
ntlmssp: add IDL.
Guenther
commit 76d91156c82e20bbd68c752376cb814d71759033
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Aug 28 12:11:23 2009 +0930
lib/tevent: close pipe_fds on event_context destruction
The "hack_fds" were never closed before; now they're inside event_context
they should be closed when that is destroyed.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit be4ac227842530d484659f2db683453366326d8b
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Aug 28 12:08:47 2009 +0930
lib/tevent: handle tevent_common_add_signal on different event contexts.
I don't know if this is a problem in real life.
The code assumes there's only one tevent_context; all signals will notify
the first event context. That's counter-intuitive if you ever use more
than one, and there's nothing else in this code which prevents it AFAICT.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 6abb637e3e0d23635fdbbb91c163731b325d696d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Aug 28 12:04:22 2009 +0930
lib/tevent: fix race with signals and tevent_common_add_signal
We carefully preserve the old signal handler, but we replace it before
we've set up everything; in particular, if we fail setting up the
pipe_hack we could write a NUL char to stdout (fd 0), instead of
calling the old signal handler.
Replace the signal handler as the very last thing we do.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 398d0c2929026fccb3409316720a4dcad225ab05
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Aug 28 11:56:34 2009 +0930
lib/tdb: don't overwrite TDBs with different version numbers.
In future, this may happen, and we don't want to clobber them.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 4279879c9847ca069527e11ca934b8906009cad8
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Aug 26 17:30:32 2009 +0930
lib/tevent: remove spectacularly complicated manual subtraction
To be completely honest, I don't quite know whether to laugh or cry at
this one:
1 + (0xFFFFFFFF & ~(s.seen - s.count))
== 1 + (~(s.seen - s.count)) # s.seen, s.count are uint32_t
== s.count - s.seen # -A == ~A + 1
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit cc248f7dfccf015586627ecef5fc5a475cc7f842
Author: Michael Adam <obnox at samba.org>
Date: Wed Aug 26 12:58:47 2009 +0200
util: fix comment and clarify argument name in DLIST_DEMOTE()
Michael
commit 2a3270beec2800e0a5dcb69af111d053abaa9245
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 19 09:58:38 2009 +0200
s3:smbd: teach filename_convert() about fake files (2nd fix for bug #6642)
metze
commit 5234d10c8e8c9d0d2576133c209ba474e1867d28
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 19 09:57:47 2009 +0200
s3:smbd: add is_fake_file_path() that takes only the raw path as string
metze
commit 09fe57923ab5570aad106b6b82faabe3fcd130fd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 18 11:34:54 2009 +0200
s3:streams: check for :$DATA only in the backend (fix bug #6642)
We need to allow "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION" to pass
check_path(), so that the Quota Dialog works.
metze
commit e91d5dbed05f364d155ff8b91ddf5af718fb1462
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 18 11:32:37 2009 +0200
s3:error_map: make NTSTATUS -> errno -> NTSTATUS mapping consistent for NT_STATUS_INVALID_PARAMETER
Why have we mapped EINVAL -> NT_STATUS_INVALID_HANDLE before?
metze
commit 1f3d0c54850b4b9ab6889d50bfa2049970a7cb17
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 14 00:36:21 2009 +0200
s3-ntlmssp: remove trailing whitespace.
Guenther
commit 8d58472706d651fb023ad2eb9d7268429cc7c0ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 25 11:25:47 2009 +0200
libcli/auth: add netlogon_creds_step_crypt() and netlogon_creds_first_step()
This abstracts the usage of crypto functions instead of directly calling
des_crypt112().
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a69d8ab35c03eab4342b5ffbbb961902c8b5f14b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 25 11:12:48 2009 +0200
libcli/auth: remove some useless lines
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit e115cb5cb153f75fe1d97dcd6037da2796a44e64
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 25 12:02:38 2009 +0200
libcli/auth: remember schannel type in netlogon_creds_server_init()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 360868b6e8ab033993f528d09f803eac660536db
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 00:45:02 2009 +0200
s3-schannel: remove remaining code that was using "struct dcinfo".
Guenther
commit a3c6e02748d1025da1b68efb4b03e1dc74eebbfe
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 22:45:15 2009 +0200
s3-credentials: remove unused code.
Guenther
commit b089506136f953961a0290d8af030fbaac3e7136
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 11:46:58 2009 +0200
s3-schannel: upgrade old format schannel_store.tdb.
Guenther
commit 21a93c2ddc87da3e6e1af8ad7819018526c4b40b
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 22:38:55 2009 +0200
s3-netlogon: use shared credential and schannel storage infrastructure for netlogon server.
Guenther
commit 2d8157fb9e91b145a98b4b87a50d3bea69412108
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 22:26:34 2009 +0200
s3-netlogon: add netr_creds_server_step_check() convenience wrapper.
Guenther
commit a09b627ecc446e78aa293e9e8b79c12f75a6b74e
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 00:31:27 2009 +0200
s3-schannel: add simple wrappers to fetch and store schannel auth info.
Guenther
commit 7c972d83d268a277501626122ab1c7cdddc0f4a3
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 21:45:24 2009 +0200
s3-schannel: make open_schannel_session_store() public.
Guenther
commit 04310cc1c510025c8d5dc10d744ab9825eae3fee
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 21:16:27 2009 +0200
libcli/auth: add tdb backend for schannel state.
Guenther
commit 699266920b23fd9ea6079d8ae8e4682bb5141f0d
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 15:08:32 2009 +0200
libcli/auth: move netlogon_creds_CredentialState out of libcli.
Guenther
commit 5a1577884819ccaa21741beb6765819cf640cdc9
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 14:45:35 2009 +0200
schannel: add netlogon_creds_CredentialState to IDL.
Guenther
commit 17d3800e923fd51f6dd9799d39d56a012f2ad600
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 21:09:53 2009 +0200
s4-schannel: add ldb suffix to schannel functions.
Guenther
commit a18d6839aceb7db05f46d87281ad41f30edb515f
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 18:59:39 2009 +0200
libcli/auth: rename schannel_state.c to schannel_state_ldb.c.
Guenther
commit 598127259894353ffe23316b50408924983a5e82
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 16:48:00 2009 +0200
s3-build: add SCHANNEL_OBJ to Makefile.in.
Guenther
commit 1d8d3fd7c3c2e6c46a3e01983dc26a5a650f6f84
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 14:55:41 2009 +0200
s3:winbind: Convert WINBINDD_GETUSERSIDS to the new API
commit 5a1240deac89b1821c987c3daed5a6ad597471f5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 14:34:59 2009 +0200
s3:winbind: Fix a typo
commit c4a95f900a64649527a0a299eb52c352c51a2ae7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 27 14:16:22 2009 +0200
s3:winbind: Remove the manual caching for the async wb_ functions
The generic NDR-based cache in winbindd_dual_ndr.c replaces this.
commit 94948f7a401df781ad64090a804a894cf2976a86
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 12:25:12 2009 +0200
s3:winbind: Some calls are not cacheable
commit 2f16bf54452ba6ef5fc2ad1c031b62ec8454a26b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 11:26:14 2009 +0200
s3:winbind: Factor out wcache_store_seqnum()
commit f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 24 00:13:02 2009 +0200
s3:winbind: Add a generic cache for NDR based parent-child requests
commit 3532c8b9d831c8122de871db62d17608ff24f409
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 24 00:08:14 2009 +0200
s3:winbind: Factor out wcache_fetch_seqnum
commit 3f0c8772f15517134ef2c5805119f197aa1f69ed
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 27 13:37:06 2009 +0200
s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests.
Guenther
commit d368c73f9545f1c2fb66c8de8b5053d15a150876
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 27 12:32:56 2009 +0200
s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite.
Guenther
commit 160c197b8456ef5cd70c8297d8a7efc3dca178ec
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 27 19:38:04 2009 +1000
s4:python Add helper to get at the domain SID
commit 6c55518d471950d8ebaf0df47634116802d6f735
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Aug 26 16:17:38 2009 -0700
s3/smbd: open the share_info.tdb on startup instead of tconx
This is a small performance optimization. Instead of opening the tdb
on every smb connection in the forked child process, we now open it in
the parent and share the fd.
This also reduces the total fd usage in the system.
commit bc4b253b2c793a2fce6614ee7fadf1713f558776
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Aug 26 10:36:48 2009 -0700
s3/debug: make SPENGO OID list appear under one debug header
commit 5469866242f0dfbdc7260c86cfca196b10e4af21
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Jul 29 16:13:44 2009 -0700
s3/winbindd: Remove unnecessary check for NULL SID
There's a known bug in some Windows implementations of
DsEnumerateDomainTrusts() where domain SIDs are not returned for
transitively trusted domains within the same forest.
Jerry originally worked around this in the winbindd parent by checking
for S-0-0 and converting it to S-1-0 in 8b0fce0b. Guenter later moved
these checks into the child process in commit 3bdfcbac making the
initial patch unecessary.
I've removed it and added a clarifying comment to the child process.
If ever this SID is needed we could add an extra DsEnumerateDomainTrusts()
call in trusted_domains() as suggested by the Microsoft KB.
commit 32f9d20dff043cca5b81ff855c44a71bf18e41e4
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 23:03:42 2009 +0200
s3-selftest: enable running RPC-NETLOGON-S3 against samba3.
Guenther
commit 46184692adde9c052474bb4f6a0f9d6d0e1a9178
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 22:27:07 2009 +0200
s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.
Guenther
commit 17829cbc82b8f647374712285492dbb3210fe346
Author: tprouty <tprouty at b72e2a10-2d34-0410-9a71-d3beadf02b57>
Date: Wed Aug 26 01:38:17 2009 +0000
s3 onefs: Canonicalize the ACL in the correct order
commit 3ad9d108a7404d625454efda0d000e4caa543e7a
Author: tprouty <tprouty at b72e2a10-2d34-0410-9a71-d3beadf02b57>
Date: Wed Aug 26 01:38:14 2009 +0000
s3: Allow full_audit to play nice with smbd if it's using syslog
Explictly pass the facility from both smbd and full_audit to syslog.
Really the only major change is to not call openlog() in full_audit if
WITH_SYSLOG is defined, which implies that smbd is already using
syslog. This allows full audit to piggy-back on the same ident as
smbd, while still differentiating the logging via the facility.
commit 22ee1cd7dbcd07470c915343872ee83ae90e3511
Author: tprouty <tprouty at b72e2a10-2d34-0410-9a71-d3beadf02b57>
Date: Wed Aug 26 01:38:07 2009 +0000
s3 audit: Change create_file in full_audit to print whether a directory or file was requested
full_audit will now print out whether the createfile was requested for
a file or directory. The create disposition is also printed out.
commit d49ab9226f849d1f08f7cf83956d35cf4950906e
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 26 18:20:06 2009 +0200
s3:winbind: Fix Coverity ID 942: Resource Leak
commit f2fa9e62466fa8a6cc6a53172da6c8b24d51874d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 26 08:10:35 2009 +0200
s4:heimdal_build: lib/hcrypto/evp-aes-cts.o belongs to HEIMDAL_HCRYPTO
metze
commit 2cbacd5e1039fd5dbef001bd3b8add5f4de361c8
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 11:35:40 2009 +0200
s3-netlogon: let get_md4pw() return a struct dom_sid.
Guenther
commit 9930a12cf534af8ec42db32ca6ad7c75d2799f75
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 18:33:28 2009 +0100
schannel: add generated files.
Guenther
commit aabe5773966cf9805f8f3ddce39f543fe4cbe6f7
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 14:08:09 2009 +0100
schannel: move schannel.idl to main directory.
Guenther
commit 91ef692d7d21cfcc486a0b9c4a1a35ae54bc5d7d
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 14:46:17 2009 +0200
netlogon: make netr_NegotiateFlags a public bitmap.
Guenther
commit b824b1b7bf19b4b8c64b7c2c5a6a1d3287820088
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 26 14:56:41 2009 +0200
Add a parameter to disable the automatic creation of krb5.conf files
This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of
transitive AD trusts. The workaround is to add a [capaths] directive to
/etc/krb5.conf, which we don't automatically put into the krb5.conf winbind
creates.
The alternative would have been something like a "krb5 conf include", but I
think if someone has to mess with /etc/krb5.conf at this level, it should be
easy to add the site-local KDCs as well.
Next alternative is to correctly figure out the [capaths] parameter for all
trusted domains, but for that I don't have the time right now. Sorry :-)
commit da99e3a724b493ba47a06d0704b891819ad16647
Author: Jeff Layton <jlayton at redhat.com>
Date: Wed Aug 26 06:26:02 2009 -0400
cifs.upcall: make using ip address conditional on new option
Igor Mammedov pointed out that reverse resolving an IP address to get
the hostname portion of a principal could open a possible attack
vector. If an attacker were to gain control of DNS, then he could
redirect the mount to a server of his choosing, and fix the reverse
resolution to point to a hostname of his choosing (one where he has
the key for the corresponding cifs/ or host/ principal).
That said, we often trust DNS for other reasons and it can be useful
to do so. Make the code that allows trusting DNS to be enabled by
adding --trust-dns to the cifs.upcall invocation.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 3544e685ade5b331e473c8680d42a748d9389125
Author: Jeff Layton <jlayton at redhat.com>
Date: Wed Aug 26 06:15:42 2009 -0400
cifs.upcall: switch to getopt_long
...to allow long option names.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 1a97bd915dfe90b40ec03617af3d8d25483af9c9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 17:31:44 2009 +1000
s4:provision Ensure that @OPTIONS is mirrored into each partition
The previous patches to the provision system cut down on the number of
reconnects, and disabled the partition handling for part of the
process. This means we lost the setting of @OPTIONS as a replicated
attribute into the partitions.
Andrew Bartlett
commit 425386ff6141bba2e7b1d8f3c27e96aaf1c5cb95
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 15:59:00 2009 +1000
s4:ldb Add ldb_ldif_write_string() and python wrappers
This allows us to turn a python LdbMessage back into a string.
Andrew Bartlett
commit 3ed33813bb6aa1ca932372c2a2ce36152b6af50b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 15:01:12 2009 +1000
s4:ldb Add hooks to get/set the flags on a ldb_message_element
Also add tests to prove that we got this correct, and correct the
existing tests which used the wrong constants.
Andrew Bartlett
commit 74218726e89c297eb957b9df989dd42fd1601742
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 13:44:50 2009 +1000
s4:schema Rework dsdb_write_prefixes_from_schema_to_ldb() to use talloc
This changes dsdb_write_prefixes_from_schema_to_ldb() to use an
internal talloc hirarchy, so we can safely give it a NULL context from
the python.
It also fixes manual construction of the ldb_message - we now use the
right helper functions.
Andrew Bartlett
commit a1da91174b8db082c42ec7e8a6438e11e0e56e91
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 13:43:33 2009 +1000
s4:provison Add prefixes to ldb using same code a later modify will use
This allows us to test out the code that will do the modify of the
prefixMap, and to provide the bindings that may assist a future
upgrade script.
Andrew Bartlett
commit b9ec6bb1eb02121f43498681b99891dc17505512
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 12:39:44 2009 +1000
s4:provision Only create references to our server DN after the self join
This will ensure that the GUID can be filled in correctly, and assist
us to validate DN targets in the future.
Andrew Bartlett
commit a52e7a2c65aef69a205a81b0c0c84abdd54e8f16
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 12:32:47 2009 +1000
s4:scheam quiet a 'const' warning
commit 7e54b5e568ec630a85914cdc86ab62823190da9c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 12:29:45 2009 +1000
s4:dsdb Rework dsdb_write_prefixes_to_ldb() to take a schema
The aim is to create a function that is more easily wrapped for
python, so that we can write the updated prefixMap in an upgrade
script.
Andrew Bartlett
commit cda99a202dd2b9fbf230d35a32e2bc7a6b1d1f6d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 26 11:01:27 2009 +1000
s4:dsdb Use helper function to add 'show deleted' control
This revises tridge's commit 61ca4c491e1c13eb7d97847f743b0f540f1117c4
to use ldb_request_add_control() instead of a manual construction.
Andrew Bartlett
commit a77b036f3b823a1de9ee05bfe5c620550097d037
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 01:03:47 2009 +0200
s3-netlogon: fix default case when _netr_LogonSamLogon is called from other opcodes.
Guenther
commit 87ce535243dc660584c87f6835c583d7125462aa
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 26 01:01:43 2009 +0200
Revert "s3: Fix uninitialized const char *"
Tim, I am reverting this as this eliminates "_netr_LogonSamLogonEx" from the
debug messages completely. Followup fix to come immediately.
This reverts commit add9b4afb14d3426d1f3bf5b8e7c86926f462578.
commit e460c211b01f6642d9064e11432577fbb728cefb
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 18:47:15 2009 +0200
s3-netlogon: get rid of init_net_r_req_chal().
Guenther
commit 5b46e5985e0f0edc199408c713a02dbe37faa381
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 18:44:24 2009 +0200
s3-netlogon: let get_md4pw() return a struct samr_Password.
(in preparation of credential merge).
Guenther
commit 1a53b617710b1bf9555de6ab01afeaf6f9c1d42a
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 18:36:28 2009 +0200
s3-netlogon: make _netr_ServerAuthenticate a callback to _netr_ServerAuthenticate3.
Guenther
commit 808a0d44f84ed668c906eaa6777d2c0743351560
Author: Zach Loafman <zachary.loafman at isilon.com>
Date: Tue Aug 25 10:46:37 2009 -0700
Allow for name array strings that don't end in a slash
Fix set_namearray to allow for strings that don't end in a slash. Also
remove unnecessary strdup()s.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 1df18922c613d2d3c8c23b919e435cb1de915eaa
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 17:03:26 2009 +0200
Add some const to dsgetdcname
commit 3176ee2632ddfc6a1fb6f7f3e255cd369c1f0907
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 25 17:02:53 2009 +0200
Do an early TALLOC_FREE
commit d896fb2dabaca650130ad6cea59eb3a66879470f
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 25 11:10:53 2009 +0200
netlogon: give netlogon w7/w2k8r2 AES negotiate flag proper name (see bug #6099 for details).
Guenther
commit 61ca4c491e1c13eb7d97847f743b0f540f1117c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 25 17:00:27 2009 +1000
fixed DRS rename of deleted objects
The objectclass module checks that the target parent exists, and
refuses renames if it doesn't exist. For this to work for deleted
objects we have to do the search in the objectclass module with the
"show deleted" control enabled.
commit 3c7cbd60e5a63496a523086fdfcf5c43301e78f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 25 16:59:25 2009 +1000
fixed a double free bug on error in net export
commit 436d8b6e06c555b2f3dabad8218f08b713e7664c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 25 16:27:20 2009 +1000
s4:python Fix the reprovision test by deleting 'deleted' objects too.
We were failing because CN=Deleted Objects, which is marked as
'deleted' itself, could not be re-added in a reprovision.
Andrew Bartlett
commit 6542a084a5dee239866f7d327c47afe2fc3efc6a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 25 16:25:55 2009 +1000
s4:dsdb Rework show_deleted module not to liniearise the LDAP filter
Instead, use the fact that the ldb_parse_tree structure is public to
construct the 'and not deleted' clause as a structure, and apply each
filter tree to that template.
Andrew Bartlett
commit 213546103749c30dbb3ad8472872b9a8fad34205
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 24 21:14:52 2009 -0700
Help debug for bug 6651 - smbd SIGSEGV when breaking oplocks.
Should help track if we get invoked with an invalid fd from
the signal handler.
Jeremy.
commit c69f92d16d57c2387d31b5dfd01aab0685a671d0
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 24 20:57:37 2009 -0700
Second attempt at fix for bug 6529 - Offline files conflict with Vista and Office 2003.
Confirmation from reporter that this fixes the issue in master on ext3/ext4.
Back-ports to follow.
Jeremy.
commit 9a86f26a5f0b421f8cf259e579fe5946b39623f6
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 24 18:21:23 2009 -0700
Allow systems with timestamp granularity of 1sec to work with
this test.
Jeremy.
commit 7a6c979299ce5e0bea45ba7f2fe92443ac5a0735
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 24 15:09:29 2009 -0700
Use existing time_t rounding function, don't invent my own.
Jeremy.
commit 28409026928a6051f0d0c58da66f6904b98962fd
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 24 23:02:20 2009 +0200
netlogon: add (yet) undocumented netlogon negotiate bit to bitmap.
This bit is set by the Win7 client while joining.
Guenther
commit 4799020e9f1ab9bd811c9b5222af670db0705559
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 24 23:00:47 2009 +0200
s3-netlogon: Only hand out rid when netlogon credential chain has been setup sucessfully.
Guenther
commit 87d30a1968af66619dfd60f9bc7accde2ac22345
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 24 12:30:05 2009 -0700
Second part of fix for 6529 - Offline files conflict with Vista and Office 2003.
ext4 may be able to store ns timestamps, but the only API to *set* timestamps
takes usec, not nsec. Round to usec on set requests.
Jeremy.
commit e829ca560d20e02f34831680a12f3163aee76665
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 24 11:24:10 2009 -0700
Fix make test.
Jeremy.
commit 5359e397ff190c35414f6961be61a5110e237dd5
Author: Olaf Flebbe <flebbe at nix.science-computing.de>
Date: Mon Aug 17 17:31:01 2009 +0200
make smbcontrol smbd ping work proper checking for arguments handle short pid_t correctly
commit b1ee4c14d49aa2dc0df90694d7403620951de137
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 24 14:28:04 2009 +0200
libndr: add missing protoypes for double type.
Guenther
commit 965a079535bd11a7870d45991a0d0628d6579b3b
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 24 14:27:13 2009 +0200
tevent: avoid using reserved c++ word.
Guenther
commit be9441ac3fa167f97f54700e52dec9995b170fa3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 24 20:22:18 2009 +1000
s4:dsdb Use talloc_strndup() to ensure OIDs are null terminated
The OIDs are not NULL terminated by the python caller, in line with
the LDB API, but we need them to be here, as we were casting them to a
string.
Andrew Bartlett
commit 7234a24f821743c60075d1e2868fba7b0f2a8f8b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 24 20:11:43 2009 +1000
s4:ldb Add python binding and test for ldb_msg_diff()
commit b4e8d927cd91b2fc1221d9834715153c7487b715
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 24 13:15:31 2009 +1000
s4:dsdb Add const
commit bf54b419ae4f2f87afba1ba1e83c97b05b18c9b0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 24 13:15:17 2009 +1000
s4:dsdb remove unused variable
commit cc330f93625290dc5f67c9c0f2f17e566ddbf1f1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 24 13:09:10 2009 +1000
s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the end
The problem is that samdb_result_string() and
ldb_msg_find_attr_as_string() both simply cast the string, rather than
ensuring the return value is NULL terminated. This may be best
regarded as a flaw in LDB, but fixing it there is going to be more
difficult.
Andrew Bartlett
commit 0f98d539e2edc8f1d57271fb20051189699222a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 24 16:33:00 2009 +1000
note the semantic change in talloc_free from 2.0
commit f60f0077e4f9e5d2dfe89786ca840a8330507a6d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 24 16:27:05 2009 +1000
fixed typo in talloc doc XML
commit 2c846058ff104f83e50bc93aa90c0dc7a8c7fe0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 24 16:21:58 2009 +1000
LIBREPLACEOBJ now contains the full path
commit 798b3fbb53fb229c93b841e380a4439d6575d75a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 24 16:01:18 2009 +1000
updated XML source for talloc man page
commit e6da38c8b7791292243b539cfbaf763f5b61f509
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 24 16:01:05 2009 +1000
added talloc_set_log_* documentation
commit a0e20418360cbbb0ddaff5f71675300b3b3db72a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 24 12:34:53 2009 +1000
updated talloc guide for recent API changes
commit 39cd5bbb3306300a24e2f057a570e74aafce0b6b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 27 17:12:27 2009 +1000
make lib/replace more usable in standalone builds
This makes the lib/replace m4 work in lib/talloc as a standalone build
commit a5358402b26e08b9f69c5c766e5cb7438c695dbf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 27 17:12:56 2009 +1000
fixed getpass m4
This allows the getpass.m4 code to work in standalone talloc builds
commit e8782de8fe51310e89eb480f0a67f1d392698896
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 3 11:30:44 2009 +0200
s3:lib: setup talloc log and abort functions
metze
commit 851b01f64ed8c5dbb7f4b9cf058d94e5a685d86e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 21 10:01:15 2009 +0200
s3:configure: require talloc >= 2.0.0
metze
commit 251b03eee626c10b294eee4a45a1dcc82a4fd1d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:37:01 2009 +0200
s4:cmdline: setup talloc log and abort functions
metze
commit 5cefde407559497c2ff53d0caa9d22d4af063a68
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 21 10:00:51 2009 +0200
s4:build: require talloc >= 2.0.0
metze
commit 55dbe80d0537ae2addf7bcd682372fe1829152a6
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 21 09:25:57 2009 +0200
talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.x
metze
commit 64e05779d2bf697b3c5f9f53234839f4f352a408
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 21 09:53:51 2009 +0200
talloc: update talloc.exports and talloc.signatures
metze
commit 6c9ace27c591e48fdffdf5add6b4e11b2f669922
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 20 13:43:42 2009 +0200
talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION
We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().
metze
commit 9baacbbbdf766b87512f6d0f518f91decbbf2e2b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 20 13:43:18 2009 +0200
talloc: change version to 2.0.0
metze
commit 5760edeeb6b6d5a8aaebae2422ba3e7c3df700cc
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 20 13:36:33 2009 +0200
talloc: remove ABI compat functions
metze
commit 8a90c8bc98a2501da41af132512d1c3875463102
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Aug 3 11:33:06 2009 +0200
talloc: remove unused build dependecies to samba
metze
commit ed384e8aac36fa768741ff7589e76b233064c586
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 22:00:05 2009 +0200
talloc/testsuite: use talloc_set_log_fn() and log to stdout
metze
commit e40f3144f2a3f8e7aebf009a4cddb9f463292c1c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 21:54:28 2009 +0200
talloc: add talloc_set_log_fn() and talloc_set_log_stderr()
So that the application can setup a log function to get ERROR
and WARNING messages.
metze
commit ac8aeec824b49c69a97e107f170337fcaa75120f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 21:41:34 2009 +0200
talloc: let talloc_steal() only generate a warning if it's used with references
We have to many callers, which rely on that talloc_steal() never fails.
metze
commit 84810d7182f2d9b3f4cb65db89489cb0a75dcc2e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 20:34:10 2009 +0200
talloc/testsuite: report __location__ of testsuite failures
metze
commit f8559b8238409b28ba198c89e6a31e62cf28df88
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 14 11:58:16 2009 +0200
talloc/testsuite: add infrastructure to test aborts
metze
commit 13227f83b9efb549ae05a0b508095de288347386
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 18:52:44 2009 +0200
talloc/testsuite: reset the globals after each subtest
metze
commit 1fbc86c57a60fdb828a50d24c65750ba01b92f10
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 14 11:56:33 2009 +0200
talloc: call return after abort, because an overloaded abort function might not exit
This will be useful in the testsuite,
where we could check if an abort would happen.
metze
commit 2c664db7494da12e1738dbcbdece41374f561661
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 20:32:50 2009 +0200
talloc: report the size of reference handles as 0
metze
commit d1895d2fee9eec6f0b16dd38728b34d2f8233b0c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 18:51:24 2009 +0200
talloc: let talloc_total_blocks() and talloc_get_size() operate on the null_context
metze
commit fced9dfc1ea45f902e9281679f479ae18d229c17
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 22 15:29:03 2009 +0200
s3:winbind: Fallback to the forest root for lookupname
Thanks to Steven Danneman for watching me closely :-)
commit 1603c608c9c8c6b42a18dd5545c5d15fc2f0af48
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 22 17:10:16 2009 +0200
s3:winbind: Even on a domain controller, "our" domain is internal
It happens to be what we also share out via NETLOGON/SAMR, but winbind has
direct access to it via the passdb domain methods
commit a0bf0cb0fb1d2f98311449949aa9e15f6523cb3b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 22 17:12:28 2009 +0200
s3:winbind: Do not drop the first user in sam_query_user_list
commit 963419be1bdc7e4ae97e8739da305691109a13a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 22 17:13:09 2009 +0200
s3:winbind: For internal domains it is pointless to connect to a DC
commit fc3d427af8bba3b6d11ba6f66b48533ae918d675
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 22 17:14:32 2009 +0200
s3:winbind: winbindd_dual_ndrcmd should output what it's doing
commit a09b9ed9e2d4ce02dffa156049f266ba5bb59c49
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 22 18:35:52 2009 +0200
s3:winbind: Fix the talloc hierarchy in wb_queryuser_done
We need to return state->userinfo beyond the end of wb_queryuser_recv, so the
unmarshalled strings are children of that, not the state that is lost sooner.
Metze, this scheme works fine as long as we only have a single malloc'ed
entity that is returned. I think we need a different scheme in the future
when we might have more than one independent object to be returned.
commit da9356711b14d7475bcfe4cf0bb1874c018db276
Author: Jeremy Allison <jra at samba.org>
Date: Sat Aug 22 09:40:58 2009 -0700
Implement Metze's suggestion of trying getpwuid(0) then getpwnam(root).
Jeremy.
commit 1fb916babdbfe5eb780d1388b38dc5cc05463819
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 21 21:53:37 2009 -0700
Log debug message when hires timestamps are available on the
share.
Jeremy.
commit 1af0aa92b3f3467715f6ffbfedf66df1acc0a83c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 21 21:44:21 2009 -0700
Fix bug 6529 - Offline files conflict with Vista and Office 2003
On filesystems that can't store less than one second timestamps,
round the incoming timestamp set requests so the client can't discover
that a time set request has been truncated by the filesystem.
Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0.
Jeremy
commit 47c7063dc62dc06d0cdd50e1946c088f8bf1ee1d
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 21 21:08:02 2009 -0700
Try and fix the buildfarm by using getpwnam(root) instead
of getpwuid(0) if DEVELOPER is defined. I'm hoping the
build farm defines DEVELOPER...
Jeremy.
commit 497234c1cbded9855b817114a6517c58daa25805
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Aug 22 11:09:30 2009 +1000
s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpd
The change to protocol version 1 was not intentional, and broke the
protocol established with the ntp.org project.
Andrew Bartlett
commit f9c0f889624681c9244140c263b4ed072980dbcc
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 21 16:17:17 2009 -0700
Fix coverity CID: 932 - forward null.
Jeremy.
commit ba52f18bfecfd7b0ba22c4ad9e9b5bfd18f34c93
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 21 15:07:25 2009 -0700
Fix for bug 6651 - smbd SIGSEGV when breaking oplocks.
Based on a patch submitted by Petr Vandrovec <petr at vandrovec.name>.
Multiple pending signals with siginfo_t's weren't being handled correctly
leading to smbd abort with kernel oplock signals.
Jeremy
commit 6afb02cb53f47e0fd7e7df3935b067e7e1f8a9de
Author: Michael Adam <obnox at samba.org>
Date: Fri Aug 21 13:59:16 2009 +0200
s3: fix bug #6650, authentication at member servers when winbindd is not running
Authentication of domain users on the member server fails when winbindd
is not running. This is because the is_trusted_domain() check behaves
differently when winbindd is running and when it isn't:
Since wb_is_trusted_domain() calls wbcDomainInfo(), and this will also
give a result for our own domain, this succeeds for the member
server's own domain when winbindd is running. When winbindd is not
running, is_trusted_domain() checks (and possibly updates) the trustdom
cache, and this does the lsa_EnumTrustDom() rpc call to the DC which
does not return its own domain.
In case of winbindd not running, before 3.4, the domain part was _silently_
mapped to the workgroup in auth_util.c:make_user_info_map(),
which effectively did nothing in the member case.
But then the parameter "map untrusted to domain" was introduced
and the mapping was made to the workstation name instead of
the workgroup name by default unless "map untrusted to domain = yes".
(Commits
d8c54fddda2dba3cbc5fc13e93431b152813892e,
5cd4b7b7c03df6e896186d985b6858a06aa40b3f, and
fbca26923915a70031f561b198cfe2cc0d9c3aa6)
This was ok as long as winbindd was running, but with winbindd not running,
these changes actually uncovered the above logic bug in the check.
So the correct check is to treat the workgroup as trusted / or known
in the member case. This is most easily achieved by not comparing the
domain name against get_global_sam_name() which is the host name unless
for a DC but against my_sam_name() which is the workgroup for a DC and for
a member, too. (These names are not very intuitive...)
I admit that this is a very long commit message for a one-liner, but this has
needed some tracking down, and I think the change deserves some justification.
Michael
commit 9d824dc115c7096ea555b135d58091e8620495d9
Author: Sam Liddicott <sam at liddicott.com>
Date: Fri Aug 21 16:54:49 2009 +0200
s4:client
Put was assuming that the remote name was always absolute, and not relative to
the current remote directory.
Signed-off-by: Sam Liddicott <sam at liddicott.com>
commit d20061abe379253f4b471dc89ddcbc1af32842bd
Author: Steve French <sfrench at us.ibm.com>
Date: Fri Aug 21 14:56:32 2009 +0200
Add missing CreateFile flags to smb.h
commit e71ce2f9e3c6ae404d9ca8ec4e9a8b689d9dddb4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 21 17:50:04 2009 +1000
s4:ldb Python requires that a 'compare' handler return -1, 0 or 1
commit c49145b1ab18bd859ce925b08e9698d9218f6de8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 19 13:26:34 2009 +1000
s4:ldb Use length-limited printf to avoid walking off end of strings
This should ensure the debug messages do not have random characters at
their ends.
Andrew Bartlett
commit 29ef1b2325ac5b80a52abfbd30346636695f4247
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 18 12:08:37 2009 +1000
s4:kerberos Use MIT compatible names for these enc types
This is a small start on (ie, the only trivial part of) the work shown in:
http://k5wiki.kerberos.org/wiki/Projects/Samba4_Port#Samba.27s_use_of_Heimdal_symbols.2C_with_MIT_differences
(a table of all Kerberos symbols used in Samba4, and notes on where
they differ from those provided with MIT Kerberos)
Andrew Bartlett
commit 9b261a1211de2bfef22af64d4717b44c5ed2bfb8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 20 11:08:21 2009 -0700
Fix bug 6638 - ADS Domain Member: Computer Mgr can not set share ACLs
Add good error message for share modification denial.
Jeremy.
commit 77a0a6e9a1a30b0ea3e36aaf751b433c546b5c5c
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 20 15:28:19 2009 +0200
s3-idmap: fix two uninitialized variable warnings in idmap_tdb2.
Guenther
commit 4c69c151dbcab30d53ece70f5e23c5971320a5c8
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 19 14:22:09 2009 +0200
s3:dsgetdcname: Fix a crash in dsgetdcname
When returning NT_STATUS_OK we can't leave *info == NULL, this crashes
in is_closest_site called from dsgetdcname().
Signed-off-by: Günther Deschner <gd at samba.org>
commit 68ea2876172a76761a678bcfbb17ab64a7db706d
Author: Volker Lendecke <vl at samba.org>
Date: Wed Aug 19 14:19:22 2009 +0200
s3:dsgetdcname: Inline dsgetdcname_cache_refresh
Signed-off-by: Günther Deschner <gd at samba.org>
commit f3c94f4b40399aea12a3608e930d20eb93a77efa
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 17:09:41 2009 +0200
s4-spoolss: add stubs for new idl opcodes in spoolss server.
Guenther
commit 062d26d57b0d3196afbf0e7a04f2ed1cd6d6ae7a
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 16:45:47 2009 +0200
s3-spoolss: add stubs for new idl opcodes in spoolss server.
Guenther
commit 80e2500f02d2e14e2acb7b352a82525827b5d357
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 16:45:13 2009 +0200
s3: re-run make samba3-idl.
Guenther
commit 0447af26b688d7de54892cb6c5005666b52e2048
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 16:44:19 2009 +0200
spoolss: add more spoolss calls to IDL
(spoolss_GetPrinterDriverPackagePath and spoolss_GetCorePrinterDrivers).
Guenther
commit 8c347ed1775acc124ff7887e2f14776529e40298
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 19 16:55:26 2009 -0700
Fix bug #6647 - get_root_nt_token: getpwnam("root") failed!
Not all systems may have a "root" user, but all must have a passwd
entry for a uid of zero.
Jeremy.
commit 33d27797d3ae9ab3ff7e1aa940941cc450f5ad1d
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 19 15:33:08 2009 -0700
Fix Red Hat bugzilla bug : https://bugzilla.redhat.com/show_bug.cgi?id=516165
nautilus fails to copy files from an SMB share. This is a show-stopper
for 3.4.1 (I'll open a Samba.org bug). Although gnome-vfs is doing
*incredibly* stupid things by asking for a read size of 65535 - this
translates on the wire to a 65534 byte read followed by a 1 byte
read. Please send this back to the gnome developers that they
will ge horrid on the wire performance for this.
Jeremy.
commit ecec01cc8f66a4fcf0f8ab855be0ee85b1df579a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 12:16:30 2009 +0200
s3:smbd: implement SMB2 Find (Query Directory)
metze
commit f00a3bfee7577c9ef82cb03b0580dccf0c7bc463
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 12:53:05 2009 +0200
s3:smbd: store a dirptr on the files_struct for SMB2 Query Directory
metze
commit e621b7a52ee597cef9fbcd7b7af337e8749c4dca
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 14 13:23:19 2009 +0200
s3:smbd: add a generic smbd_dirptr_lanman2_entry() function
This can we used by SMB2, the key difference between
SMB1 and SMB2 is that with SMB2 entries are aligned
to 8 bytes and there's no padding at the end of the last entry.
metze
commit cf6e81f158ca7b76103fc53f5b96ffae00db6aed
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 11:52:37 2009 +0200
s3:smbd: implement all SMB2 Create contexts except "ExtA"
metze
commit b70ae644edf0f28437aab61c68c755028094f79b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 19 18:03:43 2009 +0200
s3:smbd: make smbd_check_open_rights() function non-static for use in SMB2
metze
commit f1434665048a7c16c702da03c32e6174b4bff5bc
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 19 12:38:58 2009 +0200
s3 merged build: Don't build wbinfo twice.
Many, many thanks to Metze for telling me which chicken to sacrifice.
commit 5270efab1a8dd06158aa45467958939b677e4b7b
Author: Michael Adam <obnox at samba.org>
Date: Tue Aug 18 11:53:42 2009 +0200
tevent: fix a comment
Michael
commit c54a8db00621de12efc6424cd9112aaf95935067
Author: Volker Lendecke <vl at samba.org>
Date: Thu Aug 13 06:33:16 2009 +0200
Make refusal of SEC_DESC_DACL_PROTECTED configurable
This adds a parameter "gpfs:refuse_dacl_protected" that defaults to false.
GPFS has no place to store the SEC_DESC_DACL_PROTECTED ACL bit. With this
parameter we give customers an option to either ignore this bit or refuse
setting an ACL with it.
commit 5feff0ba01a02f7b9d0c76e3c313d9cb361eb35e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 20:39:58 2009 +0200
s3:smbd: parse context blobs in SMB2 Create
metze
commit a0df109d663e76e6ab47a5c68bb68eb30c9ba4b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 19 15:53:19 2009 +1000
added basic support for rename in DRS replication
Added simple DRS rename support in replication. This should be done
async, and I'm not sure if we should also do any repl data updates to
indicate the rename. I'm still learning how this stuff works, but at
least this allows a rename on a DC to propogate correctly
commit e38f38fe484dda2db871b7c83d8132fd10f0cabd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 19 15:51:07 2009 +1000
we need the Deleted Objects container for replication
When objects are deleted they get renamed to this container. The
container needs to exist when we provision
commit 8d0345e5a097fc4a0d297c089539bcd3702d4431
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 18 22:10:04 2009 +0200
wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file.
commit dd8d04f9fa4677736d37f93a2ed3f645ca8ce95d
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 18 21:48:41 2009 +0200
s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warning
commit fd2feab8f06c74015620c511b5ce0d1669d71571
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 18 21:42:37 2009 +0200
wbinfo: Reduce test noise in the wbinfo blackbox test
With the switch to libwbclient the previously stubbed out
--trusted-domains and --all-domains calls now fail. Set them to knownfail.
The previously knownfail -D test is now stubbed out, test it now.
This does not fix the issues with wbinfo -a and wbinfo -K not working on the
build farm. I have no idea whatsoever what is causing this, as those are broken
on my local machine even without my changes.
commit b31f0de4675a1f43ec9597b13625c50dbd7a75e8
Author: Kai Blin <kai at samba.org>
Date: Thu Aug 13 09:43:40 2009 +0200
s4 winbind: Silence compile warning by adding new commands to the list
commit 7cafb65387f50a58172acb1d0e8e5962e615a522
Author: Kai Blin <kai at samba.org>
Date: Thu Aug 13 09:42:14 2009 +0200
s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFO
commit bc0e0a4c69d11fbdb61b1edc1e8d088090807249
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:50:04 2009 +0200
wbinfo: Use one codebase for Samba3 and Samba4.
There can be only one....wbinfo that is.
commit 19855ca2bb13c515c5ee1ec495dac7b41b6b1878
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:47:12 2009 +0200
s3 wbinfo: Only call afs_settoken_str if compiled with WITH_FAKE_KASERVER
commit 182c667b176834a19338fb3e1ea392d5e7320d06
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:43:40 2009 +0200
s3 wbinfo: use wbcSidTypeString instead of sid_type_lookup
commit a7128709d208b9ef7f4e4e7038bf6102189c4518
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:41:23 2009 +0200
libwbclient: Add wbcSidTypeString function.
commit afb8f8eaa5370bb171979578031bcd596ee95fe8
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:27:05 2009 +0200
s3 wbinfo: Remove unused functions, use C99-types
commit ab818cdf8b78fd727c5b704dad65d524bc902b63
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:25:46 2009 +0200
s3 wbinfo: Explicitly include popt header, remove unused common options.
commit 6d4fd3e0a285cc0f0fe46dd2c96a1ac36bc84f3f
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:25:14 2009 +0200
s3 wbinfo: Use talloc_strdup instead of SMB_STRDUP
commit 0dae6f541f32a09748c69187c8dcfb25281bbab0
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:24:19 2009 +0200
s3 wbinfo: Don't use global_myname()
commit b6ea2ece0929b875582d1cae184f9cf00abb5742
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 16:18:54 2009 +0200
s3 wbinfo: Avoid ADD_TO_ARRAY macro.
commit 90b6e41b83cc206935a702f599694fccd0b223c1
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 15:59:14 2009 +0200
s3 wbinfo: Use uint32_t instead of uint32
commit fa7d7a49b8de543cd6ac60ed5ae175a4becc598e
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 23:41:32 2009 +0200
s3 wbinfo: remove --get-auth-user and --set-auth-user functionality
Point to the corresponding commands in "net" instead.
commit 49d1eec8ea02519ed9851812f96f4675abdf34b6
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 23:40:05 2009 +0200
s3 net: Add getauthuser/setauthuser commands.
These replace the functionality of wbinfo --get-auth-user/--set-auth-user
commit 004494b84ca0c28b002b29a5056d93acfcf3e0a5
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 15:51:20 2009 +0200
s3 wbinfo: Get rid of lp_ functions
This commit also fixes a lot of line lengths to make the file more readable.
commit f27bda63cdcbc0c4f8c291d0714b50e18bb316a2
Author: Kai Blin <kai at samba.org>
Date: Thu Aug 13 09:40:43 2009 +0200
s4 ctags: Stop *_proto.h files from cluttering up the tags
commit 61d4f8be6080d1793040c94b431bd4529e8c6aac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 20:42:39 2009 +0200
s4: int32 handling: previous fix was not fully correct
commit 2cf897b10aa6b0d9565333085477e348261bfb2c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 20:29:11 2009 +0200
s4: Make the int32 problem more clear - and fix another error
commit 87737f8946527ae96cd7fd41b6157c79d7c90964
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 19:49:33 2009 +0200
s4:librpc/rpc: fix DEBUG() message
metze
commit abe7648609949847c15089cb5096176eba8a6dfa
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 17 16:49:24 2009 +0200
netlogon: document some more MSVC flags.
Some of these were observed during password changing
from win7 using a samba 3.4 PDC.
Guenther
commit 53196955d47293ebf5956ddbdbbbc131e7116a78
Author: Günther Deschner <gd at samba.org>
Date: Wed Aug 12 14:59:44 2009 +0200
s3-spoolss: remove another duplicate copy of print_architecture_table.
Guenther
commit 1b09e36f0bc1942a5156715db21aed1ad403800e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 22:45:51 2009 +1000
fixed make test reporting success when provision fails
We were getting build test 'pass' on the build farm when the provision
is failing. The cause was the use of filter pipelines in the selftest
code in the makefile. A bourne shell will by default report the error
status of the last element of the pipeline, which means when provision
failed, make thought everything had passed.
We could use the bash 'pipefail' option to fix this, but it isn't
portable, so instead I've modified the makefile to touch st/st_done
when the first element in the pipeline completes successfully. That
means we now get errors in make test, at the expense of making the
makefile even more horrible than it was.
commit 6cc9e4b9006e3f10ff88d20ecd0dd26c2fa63611
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 13:10:16 2009 +0200
s4: Fixed the int32 datatype support
Should finally fix bug #6136 ("groupType", "sAMAccountType" ... attributes).
commit 3dee92fcb9af917da439e2c0cb10449d09d4c9ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 21:40:19 2009 +1000
fixed the build
the changes from Matthias didn't take account of url and lp being None
in some ldb python instances in 'make test'
commit 7a79d161838efcec27a159fc40481e7be419b778
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Aug 15 15:20:09 2009 +0200
s4: Major rework of the LDB/SAMDB/IDMAP python bindings
- Centralise the lookups for the default domain (root) in the call "domain_dn"
- Reduce the LDB connections attempts ("connect" calls) from three to one
- tools should load faster
- Make the LDB connection init more like the "ldb_wrap_connection" call
- Load the right UTF8 casefolder which fixes up problems with special characters
(discovered by me: e.g. small "Umlaute" (ä, ö, ü, ...) in the DN weren't upcased
- so records "seemed" lost in TDB)
commit 0a5ea25d21a9745508e118a20fca837e74b031df
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 11:47:53 2009 +0200
s4:python tools - Centralise the lookups for the default domain (root) in the call "domain_dn" from SamDB
commit 0a46fd630e38134a080214119e5712673687f7c0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 11:46:23 2009 +0200
s4:pyglue Add a wrapper for loading the correct UTF8 casefolder
Needed for special characters (e.g. in German "Umlaute")
commit faedda0455da90aa8d5500eb2263b6ade3b72ec1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Aug 15 15:18:46 2009 +0200
s4:ldb python bindings: Handle the parameters of the connect call in the right way
commit 36f828bafb973586157e9745593418994a962a34
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 11:06:39 2009 +0200
Revert "s4:samdb python bindings - we don't need the attributes here"
This reverts commit 53ef426e6f68728763436bd0cd3dd91180c00579.
As abartlet pointed out this causes to load all attributes and therefore gives
us more here than we need (only the check for the DN)!
commit 87921bf694cf5c733de0179cf188c6a5cbaf48f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 17:50:26 2009 +1000
sigh - still not right
commit 52108a19a4130af0c241794898c61bf425b914e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 17:48:27 2009 +1000
fixed up add_foreign again
my last patch was not even close ...
I'll leave abartlet to work out how to fix the test case
commit 905db3288532131171ca1c54198660d86eef1ae9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 17:34:22 2009 +1000
more fixups from provision changes
Andrew, can you please check this? The idmap.setup_name_mapping tests
look totally out of place here. I'm also not sure I captured your
intention with the other changes
commit b62ce48f007aa93b6c6a7f066f1daf06c7fd1389
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 10:11:16 2009 +0200
s3:smbd: add support for canceling SMB2 Notify calls.
metze
commit 47452b8cecaa9ad17d88e259a9972c5ddd007629
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 10:07:00 2009 +0200
s3:smbd: add smbd_notify_cancel_by_smbreq()
This function will be used by the SMB2 notify code.
metze
commit d60f049eaf30d7a717291b2f295cc889efc7afa9
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 10:01:38 2009 +0200
s3:smbd: implement SMB2 Cancel correctly.
metze
commit 3b3bde938cd404605b43710478cf7999551071b4
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 10:45:21 2009 +0200
s4:build: require tevent 0.9.7 with tevent_req_cancel()
metze
commit 97a1ed53ca4255ac7fc5643292019ad30c276de5
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 10:44:50 2009 +0200
tevent: change version to 0.9.7 after adding tevent_req_cancel infrastructure
metze
commit 45e4be0d96abdc729252df1e97bb9a56302e5a4a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 09:46:23 2009 +0200
tevent: add tevent_req_cancel() infrastructure
This offers a generic way for callers to cancel an
async request.
metze
commit 26e114b83ce1de7515bfbf365da03ec3f18c95fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 13:29:34 2009 +1000
skip the autoidl test
The autoidl test is not needed now that we have IDL source
available. It also generates a lot of errors in the logs.
commit f3e473ee724aae3cebd7fc53f49c17890e3fdb11
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 13:28:57 2009 +1000
fixed up some provision errors from the recent changes
commit e349316550fefcb7d991adfe66d5118baac24a01
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 17 11:41:58 2009 +1000
s4:provision Add comments to the provision script
Hopefully this will explain a bit more whey things are done the way
that they are done.
Andrew Bartlett
commit 5f917d5f177401edbe0c11fd98f2e9203136de32
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 17 11:33:25 2009 +1000
s4:provision Avoid one more call to ltdb_reindex
The Samba4 schema code (called via
samdb.set_schema_from_ldb(schema.ldb)) manages the @ATTRIBUTES and
@INDEXLIST records, so don't wipe them early. The chances are that we
will not change them anyway.
Andrew Bartlett
commit 148290a8099153cfb8572c2ce3acec614f3fbf25
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 17 11:20:29 2009 +1000
s4:ldb Remove obsolete comment about ldb_tdb's sequence num
commit f890dba084062b1fc52f4eae249b5fb6c16e69eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 11:13:23 2009 +1000
make sure we update the current schema->prefixes when we add a new prefix
This triggered a failure in the updateNow schema test, as the current
global schema was not being updated when a new schema element was
added
commit 341477347db9477e0bc34cadce31088108866772
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Aug 17 11:12:10 2009 +1000
fixed the updateNow schema test to use a canonical OID
The expression time.strftime("%s", time.gmtime())[3:] leads to a
string with a leading 0. When added then read back from the prefix map
this leads to a different string, so it is never found.
Use the simpler str(random.randint(a,b)) expression instead
commit ca526fbb3ee4131f1dae2b68f5f0f6b8c49ff711
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 17:51:14 2009 +1000
s4:selftest Remove the 'subunit filter' from make testenv etc
The extra filter is no use for 'testenv', as we are not running tests,
but an xterm. The filter also breaks running 'GDB_PROVISION=yes make
test', but at least if we can run 'GDB_PROVISION=yes make testenv'
then we can debug provision.
Andrew Bartlett
commit 7496095c1b119c1e4f99d985b6dca6ee68dcb520
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 17:50:18 2009 +1000
s4:libcli/ldap Explain why we set a hostname for ldapi:// connections
It is a pretty odd thing to do, and it's only because of the
restrictions of DIGEST-MD5 in Cyrus SASL that we do it.
Andrew Bartlett
commit df3ef12cf858290ffcef650a23d32ec2271648b0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 17 09:52:09 2009 +1000
s4:provision Fix existing ldapi:// backend detection exception
Found by Oliver Liebel <oliver at itc.li>
Andrew Bartlett
commit 498faae1a3d28ee49f4b8d273b5a02bc520e774b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 17 09:46:47 2009 +1000
s4:install Remove provision-backend script from 'make install'
Spotted by MICHAEL BROWN <mbrown at mesainc.com>
Andrew Bartlett
commit 2af06385ed4334c37191e9ccb49e86432531ff01
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 14:51:44 2009 +1000
s4:provision Make sure that we don't use Kerberos to our LDAP backend
This makes no sense, and just causes trouble - we are aiming for
DIGEST-MD5 or NTLM.
Andrew Bartlett
commit 84ee0af244887db2f0a11259484fa9c9797cc750
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 10:28:56 2009 +1000
s4:provison Print the LDAP backend admin username/password
commit 5255ba3c4f50cf9560b15ecf026ac1e54fe21d8e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 10:21:04 2009 +1000
s4:selftest Confirm that there isn't a listener on the ldapi:// socket
This should help debug problems with 'make test' of the LDAP backend,
if a stray listener is still around.
Andrew Bartlett
commit e7bae2eb0a103f9b8a26013017f510b7c6f8e4fc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 09:37:50 2009 +1000
s4: Re-add --ldapadminpass as an option to provision
This should make setting up LDAP servers more predictable.
When not specified, it is random
Andrew Bartlett
commit 052da4e4d77ceb0307ad2477f2bc4a17334d6565
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 08:46:13 2009 +1000
s4:python Allow 'no such object' on the delete of the DN
This fixes the recursive delete in erase_partitions()
For reasons I cannot understand, it is possible to get 'no such
object' trying to delete a DN I just search for without error. Oh
well...
Andrew Bartlett
commit 410114e41c713ccba2ac7d46e3f5acfddd986669
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 08:29:19 2009 +1000
s4:provision Keep a single transaction for the erase and rebuild
Using a single transaction to both erase the bulk of the data and the
rebuild of that data means that the in-memory index list is
maintained, and not written out to disk until it is all compleated.
All the writes then occour at the end.
Andrew Bartlett
commit ecd234a0f10c544ff83f79bbe8c9e0df597ccd7b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 19:24:38 2009 +1000
s4:provision A crude update of the OpenLDAP backend HOWTO
commit a6c9233a128f21dc883cc9534c70eb176214faa5
Author: Endi Sukma Dewata <edewata at redhat.com>
Date: Thu Aug 13 19:12:28 2009 +1000
s4:provision Fixes for Fedora DS schema mapping with full AD schema
commit f87811f6b39bfa8bdef906256cf7752e4a6fd999
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 17:01:27 2009 +1000
s4:provision Rework provision-backend into provision
This removes a *lot* of duplicated code and the cause of much
administrator frustration. We now handle starting and stopping the
slapd (at least for the provision), and ensure that there is only one
'right' way to configure the OpenLDAP and Fedora DS backend
We now run OpenLDAP in 'cn=config' mode for online configuration.
To test what was the provision-backend code, a new --ldap-dryrun-mode
option has been added to provision. It quits the provision just
before it would start the LDAP binaries
Andrew Bartlett
commit 7a9030b7ce164460e662d0798c2490ec5929442d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 16:59:49 2009 +1000
s4:provision Move helper functions back to provision
(These will be added back in a future commit)
commit a58b4f8cc2446c126b15b142b78ebb1733f91712
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 16:32:34 2009 +1000
s4:setup Don't manually set @ATTRIBUTES any more
We now set these as part of the schema load, and we now load the
schema before the provision loads the DB, so setting them here is
pointless
Andrew Bartlett
commit 14aff84adca85fd8124212e735c54363a577450a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 14:37:06 2009 +1000
s4:python Push some helper functions from SamDB into samba.Ldb
This makes it possible to do a bit more of the provision with Samba
helpers, but without some of the otherwise useful things (such as
loading in the global schema) that SamDB does.
Rewrite provision_erase to use a recursive search, rather than a
looping subtree search. This is much more efficient, particularly now
we have one-level indexes enabled.
Delete the @INDEX and similar records *after* deleting all other
visible records, this hopefully also assists performance.
Andrew Bartlett
commit 51d2d3df6db016250c12bf8c97374402dc4cb277
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 14:33:57 2009 +1000
s4:schema Allow a schema load on an unconnected database
This helps ensure we don't load the schema too often in the provision
(allowing a reference in of the schema before the modules load).
Andrew Bartlett
commit e1e99a7c7bb3a69d2c522ef272301b0ba73efd7f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 10:01:00 2009 +1000
s4:provision Remove the ACI element from the provision templates
We need to find a better way to apply this (used in the Fedora DS LDAP
backend), not by trying to tunnel this down the module stack.
Andrew Bartlett
commit 346aa6e093508f4e2918b20df452398ef332e416
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 13 09:58:38 2009 +1000
s4:schema Provide a way to reference a loaded schema between ldbs
This allows us to load the schema against one ldb context, but apply
it to another. This will be useful in the provision script, as we
need the schema before we start the LDAP server backend.
Adnrew Bartlett
commit 2c23e7dc5a5d305406a156402ec805ed05e5a11f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 12:46:55 2009 +0200
s3:winbind: The get[gr|pw]end functions need access to the client state
commit 459233e6309afc93499d6b8cfd46e93e4e7d5cf3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 12:23:31 2009 +0200
s3:winbind: Convert WINBINDD_GETGRNAM to the new API
commit a511a875197778e9f032f442d8cd6a48b4e47f69
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 12:13:00 2009 +0200
s3:winbind: Convert WINBINDD_GETGRGID to the new API
commit 3f3f49d5e23b92051508b2555688417865f668b0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 12:09:37 2009 +0200
s3:winbind: Add winbindd_print_groupmem
This converts a talloc_dict retrieved from wb_group_members to the string
that the pipe protocol expects
commit 27dd290d3fe68ee1c4fd8a795335010c721b28a0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 12:08:52 2009 +0200
s3:winbind: Make fill_grent publically available
commit 886e183b0e6ed3a13b3ce74068fff761d9635bcc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 12:07:32 2009 +0200
s3:winbind: Add const to normalize_name_map
commit c83bf9cd7e147655cf3796a7dc1ed4b27ead6ebd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 11:25:31 2009 +0200
s3:winbind: Add async wb_getgrsid
commit 8a683f489695b094ef91960f6fda4c8c57407682
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 10:58:43 2009 +0200
s3:winbind: Add async wb_group_members
commit 3d46eaf4110b22b9328466009436f1d3fa9d88e5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 8 16:24:29 2009 +0200
s3:winbind: Make wcache_lookup_groupmem available publically
commit 1a22baa817291f5d067dccfb9e4b754781d2fb6f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 16 10:44:06 2009 +0200
s3: Add talloc_dict.[ch]
commit 5ae122ed7a76e984cc9a8524c03a94bfe42232e3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 15 22:04:13 2009 +0200
s3:winbind: Fix a potential segfault in libwbclient
commit 0f64bb5b7ef9b77b1865a5b6e0bdab331a618c38
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 15 13:23:57 2009 +0200
s3:winbind: Convert winbindd_show_sequence to the new API
commit e54503e82fdbb337b4de9c5aaef252edb2e11e39
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 15 11:21:16 2009 +0200
s3:winbind: Add async wb_seqnums
This is something that would have been very difficult with the old style of
async requests: Send the request to all children simultaneously.
commit 1d110e0ef6efa030a65465291f2b8c7874fed1fb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 15 11:16:28 2009 +0200
s3:winbind: Add async wb_seqnum
commit c6b36ce57391a083162e0918be34f685385df91a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 9 07:31:31 2009 -0400
s3:winbind: WINBIND_USERINFO -> wbint_userinfo
commit 6d100a6b20842cc950e85381908d3a2098f481e6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 9 07:17:35 2009 -0400
s3:winbind: Simplify _wbint_[GU]id2Sid
commit 95c3d3b5d8fdc05f20c826a48312f1230f036029
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 15 09:45:39 2009 +0200
tevent: add some more doxygen comments for tevent_req functions
metze
commit a3cdd7949c221a15777994c7f2c535e7d956216e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 20:39:11 2009 +0200
s3:Makefile: build ../libcli/smb/smb2_create_blob.o as part of smbd
metze
commit e2845b808997787701e54d2602c0ef08f9c4cff7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 20:38:45 2009 +0200
libcli/smb: add smb2_create_blob_find()
metze
commit a023b6c64b4e1516c2506f028b0e653028970de3
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 14 15:06:11 2009 -0700
Use defined names rather than numeric constants to make code
clearer.
Jeremy.
commit 12864ffd51011e38ad56f129de684dbcdf9271de
Author: Michael Adam <obnox at samba.org>
Date: Mon Aug 10 18:18:19 2009 +0200
gpfs.so: map the file_inherit and dir_inherit flags away for files
GPFS sets inherits dir_inhert and file_inherit flags
to files, too, which confuses windows, and seems to
be wrong anyways.
So when mapping a nfs4 acl to a windows acl, we map these
flags away for files.
Michael
commit 19553e1552a57d5b0a9f3514bf64d2580b76a377
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:51 2009 -0400
cifs.upcall: fix IPv6 addrs sent to upcall to have colon delimiters
Current kernels don't send IPv6 addresses with the colon delimiters, add
a routine to add them when they're not present.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 2f95ccc1e2c7fe8efd341cd6fc5adc402a7a0a18
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:50 2009 -0400
cifs.upcall: use ip address passed by kernel to get server's hostname
Instead of using the hostname given by the upcall to get the server's
principal, take the IP address given in the upcall and reverse resolve
it to a hostname.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit acbf026012af1c87b680b8d80ea9e4123e24b91a
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:50 2009 -0400
cifs.upcall: clean up flag handling
Add a new stack var to hold the flags returned by the decoder routine
so that we don't need to worry so much about preserving "rc".
With this, we can drop privs before trying to find the location of
the credcache.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit b10bdef4e75ffe48d563b2f0825b82519a71c9a7
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:50 2009 -0400
cifs.upcall: try getting a "cifs/" principal and fall back to "host/"
cifs.upcall takes a "-c" flag that tells the upcall to get a principal
in the form of "cifs/hostname.example.com at REALM" instead of
"host/hostname.example.com at REALM". This has turned out to be a source of
great confusion for users.
Instead of requiring this flag, have the upcall try to get a "cifs/"
principal first. If that fails, fall back to getting a "host/"
principal.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 750ceb82390bd490bfd0431d52cd83b11201d548
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:49 2009 -0400
cifs.upcall: declare a structure for holding decoded args
The argument list for the decoder is becoming rather long. Declare an
args structure and use that for holding the args. This also simplifies
pointer handling a bit.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 685fdc33d705b0d5cbb43f16cdcb2dccd85a652e
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:49 2009 -0400
cifs.upcall: formatting cleanup
Clean up some unneeded curly braces, and fix some indentation.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 378a2d9aa5e538144083ff53578af6105cd296c9
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Aug 14 07:59:49 2009 -0400
cifs.upcall: clean up logging and add debug messages
Change the log levels to be more appropriate to the messages being
logged. Error messages should be LOG_ERR and not LOG_WARNING, for
instance.
Add some LOG_DEBUG messages that we can use to diagnose problems with
krb5 upcalls. With these, someone can set up syslog to log daemon.debug
and should be able to get more info when things aren't working.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 168a7cb6a893fb56ef9fe7a4dc99bbc117a75962
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 14 11:24:30 2009 +0200
s3:smbd: allow SMB2 Cancel to have the async flag set
metze
commit 86ea1c4d24c80ada573fe6f91ea56c1bace2f906
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 14 11:14:42 2009 +0200
s3:smbd: fix parsing of the SMB2 body
Maybe there's no dynamic part on the wire.
metze
commit 53ef426e6f68728763436bd0cd3dd91180c00579
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Aug 14 01:42:12 2009 +0200
s4:samdb python bindings - we don't need the attributes here
commit fa61fdf8b7784081e515e9a26f84a83c1188d97a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Aug 14 01:39:56 2009 +0200
s4:ldb - Free the asynchronous result
commit 639c9ccb93e2766d865c769fa8c53a7c3d5f307c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Aug 13 23:04:34 2009 +0200
s4: Correct the parameter logic of the "setpassword" script
Either the username or the filter are allowed. If both are given the filter is
going to be used due to a higher precedence.
commit 44dfb2902e338924736447236989c6ed231f411b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Aug 13 11:37:38 2009 +0200
s4: Better way to call "dom_sid_to_rid" from ldap.py
commit e2b12c6f6acf9ed833bf584cd2556a83d59b01eb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Aug 13 10:43:42 2009 +0200
s4: Remove obsolete "samdb_password_quality_ok" function (it's just a one-line wrapper)
commit 6dab7c9dbec1d8eb29990a616f1e446dc4d016eb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Aug 13 09:50:19 2009 +0200
s4: cracknames.c: Change the handling of the NT_STATUS_NO_MEMORY status results
With the previous check I got random failures when trying to connect to the
LDAP server.
commit 093148c1f0eca1ee40552c8eddfdc1ba2554d64e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 13:10:42 2009 +1000
s4:ldap_server Correct removal of talloc_steal()
This corrects commit 7a82aed71b74af8bc2a8a4381541adbb22452d20. The
steal did not set ent->attributes, so it was incorrect to assign to
ent->attributes.
Andrew Bartlett
commit 2d7b457e26985c444588546cc2d250c4cd2e2e32
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 14 13:04:21 2009 +1000
fixed TESTS= in make test to allow multiple tests
Now you can do: make test TESTS="test1 test2" and it will run those
two tests, each matching tests using a case insensitive substring
match
commit 7a82aed71b74af8bc2a8a4381541adbb22452d20
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 12:57:46 2009 +1000
s4:ldap_server Remove another talloc_steal (with references)
This talloc_steal also conflicts with the ldb_map code, and like the
previous commit, is rudundent given the talloc_steal of the whole msg
above.
Andrew Bartlett
commit 5c3cf58a842a8ddd5dca785bf5464e0788003400
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 14 12:48:10 2009 +1000
s4:ldap_server Don't talloc_steal (with references) in ldap_backend
There may or may not be a need to take a reference to the 'name' in
the ldb_map code, but given we seal the whole msg just above here, it
makes no senst to steal the name, but not the values.
Andrew Bartlett
commit 88fd98b7c4ed41ab6c6ac5a226581e862ae900f3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 17:44:48 2009 -0700
Fix EVERY SINGLE build on the buildfarm that doesn't have
bindtextdomain or textdomain. C'mon, this is what configure.in
is *FOR*.
Jeremy.
commit 28f7b0743679c042bc135c7ec5265d75e900aa87
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 17:07:13 2009 -0700
Move build over to storing DOS attributes in EA's.
Turn off "map to" directives. I've now fixed the
issues with the build tests running this way. I think
this is how most people run these days - please raise this on
the list (or revert) if you disagree.
commit d91edeaa94c54a190a0c90bbd63156fdf670c26a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 16:27:17 2009 -0700
When mapping EA's into a TDB, don't remove the EA
until the last link to the file is gone (fixes the
build farm RAW-RENAME test with xattr's in tdb's).
Jeremy.
commit 6a0c2946be947afbb56acbf6444d4a2b48cc06f4
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 15:08:23 2009 -0700
Fix BASE-DELAYWRITE test by removing const from struct smb_filename
in smbd_do_qfilepathinfo(). update_stat_ex_mtime() modifies the
stat struct inside the smb_fname so don't make a copy of that
stat struct, use it directly - it's meant to be updated and
represent the state of the file we're returning.
Jeremy.
commit 7ad5c69bd45d9211dc3bceb655d63d2f141f1bc6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 13:54:38 2009 -0700
Documentation for "store create time".
Jeremy.
commit d6270df748dcfd8d5a02c328518c2332da8fbed5
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 13:00:54 2009 -0700
Add "store create time" parameter (docs to follow)
that stores the create time in the user.DosTimestamps EA.
Jeremy.
commit 1ddd10b56aea663b06768638d83e3bdcfea9ec89
Author: Jeremy Allison <jra at samba.org>
Date: Wed Aug 12 10:58:00 2009 -0700
Fix some warnings in the AIX ACL code.
Jeremy.
commit 1d75a6e2245c022e2688d5fa6807d572fa18bcd6
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 17:43:03 2009 +0200
libcli/smb: move smb2_create_blob code to libcli/smb/
I want to use this in source3/smbd/
metze
commit 1df883aa39ce69b040f9d9e72125bf4b80c714a9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 17:52:55 2009 +0200
libcli: move some common SMB and SMB2 stuff into libcli/smb/
This will hold code that's shared between source3 and source4.
metze
commit 31e57ab1e5d676a60fada9b3de7acdf3fd415dbb
Author: Kai Blin <kai at samba.org>
Date: Wed Aug 12 17:59:46 2009 +0200
librpc: rerun "make idl_full"
commit f75934e2dc95d99dfbbc80f26eb3d1d1efe08604
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 18:31:27 2009 +0200
s3:smbd: as check_path_syntax() changes the string, we need to copy the string before
metze
commit 7229e9a4762f1fee15708ac20de9c40ce75f85a2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 18:29:06 2009 +0200
s3:smbd: avoid 'goto out' in smbd_smb2_create_send()
metze
commit fedac72dfc4c220f653dd243de221dad56650bac
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 18:09:05 2009 +0200
s3:smbd: make sure we don't call conn_free() with a NULL pointer for SMB2
metze
commit d30b1c9fa9d03246124dc7db8bb583c260adb0d1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 18:08:26 2009 +0200
s3:smbd: correctly invalidate vuids when SMB2 is used
metze
commit 14888c21acaf34da047937b29833d7788bafe11d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 13:52:07 2009 +0200
s3:lib: map ECONNRESET to NT_STATUS_CONNECTION_RESET
metze
commit 91d13b68be55728a85b3832e2da9267dbf4f2464
Author: Matt Kraai <mkraai at beckman.com>
Date: Wed Aug 12 08:49:24 2009 +0200
libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)
Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX
6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This
prevents smbd from opening any sockets.
If I undefine AI_ADDRCONFIG on such systems and allow
lib/replace/system/network.h to define it to be 0, this works around the issue.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e96338bf2b9ff6767a54c6127cdda34591b98c0d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Aug 11 11:08:05 2009 +0200
s4:operational - Remove some outdated comments
commit c7e21907b4a620cf9646648f6f68cdb94ab5b590
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Aug 11 11:02:03 2009 +0200
ldb: Don't break the standalone LDB build (operational module removed)
commit 159a33a7d4cb69b5487acb183cbf56a584048734
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Aug 11 12:25:13 2009 +0200
s4:test for "primaryGroupToken"
Tests for the right behaviour of this introduced constructed attribute.
Since we don't support the read-only-ness of those attributes yet, I commented
some lines out.
Also I had to add a function for python which converts domain SIDs in RIDs.
And a small fix for the "groupType" test.
commit 9126b75aaed91d79c5b5388613a9cdbb6d898894
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 10 13:19:18 2009 +0200
s4:samldb module - Remove duplicate line
commit b255a41dca63a68f404e37b7eb46b54070bea466
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 10 13:16:41 2009 +0200
s4:operational module - move and enhancements
This moves the "operational" LDB module to the right place under "dsdb/samdb/ldb_modules"
(suggested by abartlet) and enhances it for supporting dynamic generated
"primaryGroupToken" for AD groups. This should fix bug #6466.
commit fe767d4b70665bf8cf825455cb2c1db3fc2a1217
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 10 11:06:33 2009 +0200
s4:pwsettings script - Fix a small glitch
This fixes the problem with the setting and getting of the "minPwdAge" and
"maxPwdAge" attributes. I wanted to handle them in days but forgot to add
conversions (from "ticks" (tenth of microsecond) -> "days" and backwards).
commit 7fc94932ad28880caed82155d65dcbfe8530e791
Author: Kouhei Sutou <kou at clear-code.com>
Date: Mon Aug 10 12:18:58 2009 +0900
Rename ASN1_BITFIELD to ASN1_BIT_STRING.
X.690 uses "BIT STRING" not "BIT FIELD".
commit 8fcf1b988ad5c2338a75631696c32a31116708f1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 10 10:12:51 2009 +0200
torture/basic: in run_derefopen() the file could have been deleted before the last unlink
Through a suggestion pointed out in bug #6622 the test file sometimes doesn't exist on
the last turn anymore. So we haven't to fail here since it could have been deleted by
a concurrent process (e.g. when the same test runs multiple times). Therefore also
NT_STATUS_OBJECT_NAME_NOT_FOUND is an acceptable result.
commit c73984a5c9966f9c90549e753764ae071670e15f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Aug 8 13:50:10 2009 +0200
s4:AD LDIFs - More refactoring
This commit includes:
- Additional static object data in SAMBA 4's AD to start supporting of
- forest updates, - lost and found, - quotas on DS, - physical locations,
- licensing of sites, - subnets, - policies for WMI, - DNS entries in AD
- Reordering of provision*.ldif files to be able to find entries and make future
additions easier
- Add comments in provision*.ldif files to point out where subentries are located
when they are based in other LDIFs
- Removations of autogenerated "cn" attributes
commit 5796da6948379ffc101e813a4d68676e4a661c61
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 10:24:01 2009 +0200
pidl: fix parse_idl test after idl.yp changes
We now generate 'FILE' and 'LINE' elements for each layer.
This change makes the expected PIDL trees human readable:-)
metze
commit 6392f14cd78d3f0585615ccf0a6b0a961187f68f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 10:01:12 2009 +0200
pidl: fix samba3-cli test after the async function were added
metze
commit ed051ce424a93e08f59cd65ae0abe1a8926286a3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 12 15:34:03 2009 +1000
try to give some hint as to what is causing NDR string errors
commit 011f103501e9465fbea56194910e082306bbf1f1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 12 15:33:37 2009 +1000
when we get an NDR error in the logs, it is useful to know where it happened
commit 3b5c6bc971c4e5c32b19072f0f54258792d00439
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 12 15:20:02 2009 +1000
no need to shout about getting an oplock
commit c6936ab00f22c87d8ef8590578056446055d37a2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 12 15:19:42 2009 +1000
raise the debug level for a common message
when a client disconnects we expect this to happen, so don't print an
error each time
commit ad542a630eb2ee265d626b9752f0197281c51990
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 12 14:41:44 2009 +1000
Allow selection of the samba4 process model for 'make test'
To choose the process model, set the environment variable
SAMBA_PROCESS_MODEL to the desired model. This will allow us to enable
the standard process model for some machines in the build farm without
enabling it for all of them. I don't want to just enable it
universally as I am concerned with total memory using during some of
the tests.
commit 0ae3912f328250703e921ec78eb9add98cbfcf7c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 12 14:38:55 2009 +1000
print server log on stderr as well as to log file
I think we are missing some important messages from the server during
'make test' because we don't show the log file contents during
runs. This patch uses tee to put the log messages to stderr so we can
see any server messages associated with the test that caused them.
commit 7bc566a88277ecbc0f712b7c54116163930f187d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 12 11:09:50 2009 +1000
s4:provision Allow provision-backend to not run slapd for 'make test'
As the version of OpenLDAP required for Samba4 is fairly new, we don't
want to make it a requirement before this python code is run in 'make
test'.
As such, skip over the actual starting of slapd, but check the rest
runs alright (which still validates syntax and other modules).
Andrew Bartlett
commit 69fa901bca9b1e032d6784df60a0e1c14d27d830
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 10 22:01:28 2009 +1000
s4:selftest Don't start the slapd for the provision, only for the run
The provision-backend script now starts slapd for us
Andrew Bartlett
commit 4921a5853b323e9c19f192220a94cf4a7cd077ff
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 10 21:51:08 2009 +1000
s4:selftest Make OpenLDAP guess it's own modules from now on
In the releases of OpenLDAP we require (2.4.17) it can guess this much
itself, so no need for us to do it.
Andrew Bartlett
commit 6dc41bf27c6157f981b9b45b026da41e9a3df184
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 10 21:46:20 2009 +1000
s4:provision Make the --ol-slapd paramter take the full path to slapd
commit f0decfe5c2395173fb632e9bfdea3edf43b1b434
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Aug 10 21:43:11 2009 +1000
s4:provision Assume the OpenLDAP backend can find it's own modules
commit 28bcdf5266f75ef835fd3cbb353aadb782a1f27c
Author: Oliver Liebel <oliver at itc.li>
Date: Mon Aug 10 09:45:01 2009 +1000
s4:provision Rework and further automate setup of OpenLDAP backend
heres the summary of all changes/extensions:
- Andrew Bartlett's patch to generate indext
- Howard Chu's idea to use nosync on the DB included, but made optional
- slaptest-path is not needed any more (slapd -Ttest is used instead)
and is therefore removed. slapd-path is now recommended when
openldap-backend is chosen.
its also used for olc-conversion
- slapd-detection is now always done by ldapsearch (ldb module),
looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri.
- if ldapsearch was not successfull, (no slapd listening on our socket)
slapd is
started via special generated slapdcommand_prov (ldapi_uri only)
- slapd-"provision-process" startup is done via pythons subprocess.
- the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid.
- after provision-backend is finished:
--- slapd.pid is compared with our stored slapd_provision_pid.
if the are unique, slapd.pid will be read out, and the
slapd "provison"-process will be shut down.
--- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri
-> rootDSE.
--- if the pids are different or one of the pid-files is missing, slapd
will not be shut down,
instead an error message is displayed to locate slapd manually
--- extended help-messages (relevant to slapd) are always displayed,
e.g. the commandline with which slapd has to be started when everythings
finished
(slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt))
- upgraded the content of the mini-howto (howto-ol-backend-s4.txt)
commit a038f1e05b8b7acb5e99257e59178e1ece4ce156
Author: Michael Adam <obnox at samba.org>
Date: Tue Aug 11 23:35:48 2009 +0200
s3:smbcacls: forbid change of debug level from config file
Michael
commit aa07baa8515d7e692238fe2cdce95d0eaf0b1691
Author: Michael Adam <obnox at samba.org>
Date: Tue Aug 11 14:28:31 2009 +0200
s3: refomat definitions of some generic access rights for better readability
Michael
commit 303c3b363bc7c28f8eb3c264b0c116a062d4b603
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 1 18:18:31 2009 +0200
selftest: configure "ncalrpc dir" for the client
Some torture tests will need this soon.
metze
commit 76d893b76e67ec748a2a7eb7d2f0dde2c3ecc37e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 1 18:17:55 2009 +0200
selftest: fix typo lock => lockdir
metze
commit 1e1445bc7672b17a1d689fa0f0732b05b6e04da5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 11 13:50:16 2009 +0200
s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
metze
commit e13c14e7e440f56069aac6c6568b56e48e7ea825
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 11 18:20:39 2009 +1000
s4:torture Add test for the NTP signd server
This is used by at patch to the NTP project to supply authenticated
time as required by MS-SNTP. (ie, to keep windows clients in time sync
in the domain)
Andrew Bartlett
commit 40017a2143c97c622a3f237f347d2fd3f4039bcc
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 09:33:51 2009 +0200
i18n: Update s3 net German translation.
commit 4f0d93531fd41e633ff43610e86bd49f1cd4ead2
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 09:01:10 2009 +0200
s3 net: i18n support for net utility functions
commit 84a93491b8600737511fcf32370e596fbaa37b56
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 08:57:01 2009 +0200
s3 net: i18n support for net usershare
commit 2388b9039df02abed3ece3e7ca2bee62869b1312
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 08:40:48 2009 +0200
s3 net: i18n support for net user
commit a8c8432247c61944e63ec7f645e69fbbe777a53f
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 08:38:42 2009 +0200
s3 net: i18n support for net time
commit 5810f7f09472734f1ba9d1da5cbf43af62435fe9
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 08:35:46 2009 +0200
s3 net: i18n support for net status
commit 7e4bd16c706a971a8250c949756ba7694e9d61be
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 08:32:10 2009 +0200
s3 net: i18n support for net share
commit a0eb906f7ef8bb9e309e975a88c1243de8683876
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 11 08:31:04 2009 +0200
s3 net: i18n support for net sam
commit 3eeb988248db7d99e4392eb4bc3d05e953944ddb
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 10 20:38:33 2009 +0200
s3 net: i18n support for net rpc shell
commit d8af037aab60ddd34c673feeccd02085db9e46e6
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 10 20:23:41 2009 +0200
s3 net: i18n support for net rpc service
commit 77b96cc0bf1a077fd8b9cc28f90e1bdc1f50fff1
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 10 19:54:27 2009 +0200
s3 net: i18n support for net rpc samsync
commit 7b9542ba34fd2b3144e02a5570858bc652534c4c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 10 16:39:13 2009 -0700
Ensure the fsp->fsp_name stat_ex struct is always
up to date after the open.
Jeremy.
commit c9dca82ed7757f4745edf6ee6048bd94d86c4dbc
Author: Jeremy Allison <jra at samba.org>
Date: Mon Aug 10 15:07:53 2009 -0700
Refactor the use of create_time and change time to go
through functions. Will aid in making us pass RAW-SETFILEINFO.
Jeremy.
commit 303e49b2f1d3cc437c399fb8d59b8eb60e86f86c
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 10 18:52:24 2009 +0200
s3 net: i18n support for net rpc rights
commit e2433b86d24f279fef041ccf60f91dc99aa74344
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 10 18:29:50 2009 +0200
s3 net: i18n support net rpc registry
commit 0ef723a68204d04e0ad0d315deefaf1af33c1aad
Author: Kai Blin <kai at samba.org>
Date: Mon Aug 10 18:24:57 2009 +0200
s3 net: i18n support for net rpc printer
commit ef04e4538c64fd8b4a6473c4780a4a977f2da0cc
Author: Kai Blin <kai at samba.org>
Date: Sun Aug 9 16:57:51 2009 +0200
s3 net: i18n support for net rpc join
commit 8e5beb738c4fd1c195bf198883d747c9888cf8ba
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 11:25:52 2009 +0200
s3-spoolss: remove device mode defines from nt_printing.h.
Guenther
commit dc9b4cf001651a8e076eed1eb6e021a5149dc709
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 11:25:09 2009 +0200
s3: re-run make samba3-idl.
Guenther
commit 559dd0d3045f2610646099a697acc1c15f8a3dcd
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 10 11:24:40 2009 +0200
spoolss: fill in more details of the spoolss_DeviceMode.
Guenther
commit 1de9805fa3d5f05d187df092a65955dfc62a3d81
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 8 13:43:41 2009 +0200
Implement db_rbt_traverse
commit e8088e16f812d682e08ad558865d0cc6eab2ad9c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 8 13:42:55 2009 +0200
Make wbinfo also print the members when querying a group
commit e1a95e7961a4ffe67ee7abe61faad0e7e65417d6
Author: Matt Kraai <mkraai at beckman.com>
Date: Fri Aug 7 13:58:52 2009 -0700
libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNX
commit 02c5f22ec876d6b243f77227a0f1328482eb9f07
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Aug 8 10:47:11 2009 +0200
s3:smbd: convert '\\' into '/' in SMB2 Create
metze
commit 9aa1d259070e93b3890933c932cbf6a2c84bc6fa
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 15:21:07 2009 +0200
s3:smbd: rename conn => sconn for smbd_server_connection structs
This should avoid confusion between smbd_server_connection
and connection_struct variables.
metze
commit 8eac1896299d820fec0fd92b2b8b6a058ae39642
Merge: 217e3086c74eb0b46fab512b5887d9a5a5b7ee9a d296c774c5981baa863c697782dba1b6280d632e
Author: Alexander Bokovoy <ab at samba.org>
Date: Sat Aug 8 08:07:24 2009 +0300
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 217e3086c74eb0b46fab512b5887d9a5a5b7ee9a
Author: Alexander Bokovoy <ab at samba.org>
Date: Sat Aug 8 08:02:52 2009 +0300
Pass absolute file paths to Inkscape when transforming .svg files
Some recent versions of Inkscape (0.47 or around) have bug when export file name
is treated as relative against the directory of original .svg if it wasn't specified
as an absolute path. Fix it by always using absolute paths during conversion.
commit d296c774c5981baa863c697782dba1b6280d632e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 7 12:38:31 2009 -0700
Move the checks for null timestamps down below the VFS_NTIMES
layer (as it's done in onefs). This simplifies greatly the
code in smb_set_file_time() w.r.t. changenotify messages.
Jeremy.
commit ea6819ae7565c22b0d6276acebfbab472a4e4c18
Author: Jeremy Allison <jra at samba.org>
Date: Fri Aug 7 10:19:20 2009 -0700
Correctly send out notify messages for timestamp changes.
"change time" has no notify message, so don't send anything
out when we change it. Use FILE_NOTIFY_CHANGE_CREATION correctly
when changing the create time.
Jeremy.
commit aa6dc21fa304943ad70afd14f84cea720f3f2d27
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Aug 5 23:18:47 2009 +0200
s4: Add a new script for setting password properties for a domain in a easier way
commit aef96af916eab4c29656d3ff6426618f331b7400
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 14:12:19 2009 +0200
s4:libcli/smb2: move SMB2_GETINFO_* flags into smb2_constants.h
metze
commit acbb9da53077756f6a44a4737fcd3329fadb217c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 14:11:11 2009 +0200
s4:libcli/smb2: remove unused and redundant SMB2 security flags
metze
commit c2c4d489b685534a3fa879f993d0f4931c6cf44e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 14:09:42 2009 +0200
s4:libcli: move SMB2 Find constants to smb2_constants.h
metze
commit 21d6f276fbb4f4c345c5bd9d4d0ee058cae7ea0b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 14:55:37 2009 +0200
s4:libcli/raw: we don't need to include "smb.h" explicit
metze
commit 93ec5d27e46c4182a8c2913b1bc2757db1b7860b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 14:55:01 2009 +0200
s4:libcli/raw: also include smb2_constants.h into interfaces.h
metze
commit 50f54250f4b566e10d0be40dc2d0117c6cb7a73d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 12:15:51 2009 +0200
s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry()
So that we can reuse it for SMB2 Find.
metze
commit 59c3f5e3ca8885266fef65261ecae3f51ce78729
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 12:15:51 2009 +0200
s3:smbd: move dptr globals into struct smbd_server_connection
metze
commit c50a03e4e2c47b828f81f2e4dc214ec84d9cae63
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 09:31:45 2009 +0200
s3:smbd: remove dirptr and dirpath from connection_struct
They're both only used in the context of a function,
so we can make them stack variables.
metze
commit dfae090c5d0c238f2c620d77edc6bb6cf1bb027b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 08:55:35 2009 +0200
s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry()
metze
commit 862c6aa19fbfe45f8daaf738d7edbb319a674ff2
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 08:54:06 2009 +0200
s3:smbd: let get_dir_entry() use smbd_dirptr_get_entry()
metze
commit daa71c42369ca3586f6b5cf5c7c72cddcbcdf1ad
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 20:53:13 2009 +0200
s3:smbd: add generic smbd_dirptr_get_entry()
metze
commit 70afd419a602ff4067bf3c25cf25a5d4084b4164
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Aug 7 11:48:03 2009 +0200
s3:smbd: conn_free_internal() can be static now
metze
commit c54e6b19e395724eb84f6e7157073e8772bc8594
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 13:22:33 2009 +0200
s3:smbd: add a smbd_server_connection pointer to connection_struct
This can be NULL for faked connection structs used in the rpc server
or printing code.
metze
commit 8300b255a5f88cc4ca23678595810d7caec50a00
Author: Volker Lendecke <vl at samba.org>
Date: Fri Aug 7 12:09:21 2009 +0200
Fix some nonempty blank lines
commit 558ff911df1e16e28e3a1efa0849c9083d08c617
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 5 13:40:38 2009 +0200
pidl: parse idl 'pipe' typedefs, but print out a not supported message for now
metze
commit 20a6fb5cdb15b138021076e14c1df8f4ebb06184
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 4 15:00:13 2009 +0200
pidl: fix formatting in expr.yp
metze
commit bfa9624946a35e5645effbb20e02abba2c34a8c2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 4 14:59:33 2009 +0200
pidl: fix formatting in idl.yp
metze
commit 7d7a9210cddd291f86e313554c83affb73dfda52
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 5 13:03:37 2009 +0200
librpc: fix callers after epmapper.idl changes
metze
commit cdfaaed9a87e27b1019cc119be4296f66a389c56
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 5 13:05:20 2009 +0200
librpc: rerun 'make idl' after epmapper.idl changes
metze
commit 282375791297b83806d9d9ed6e47b5408e3da850
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 5 13:04:59 2009 +0200
epmapper.idl: avoid usage of 'pipe', this is a reserved word in IDL
We now use 'named_pipe' instead.
metze
commit 8e419aab48ace1fe0d075e2a25935e650805a23c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Aug 6 21:16:38 2009 +0200
s3:smbd: don't ignore check_descend in get_dir_entry()
metze
commit 5b50e506d010c0c3fc15c1ecaef7aa9e5383691c
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 6 20:59:32 2009 +0200
s3-wkssvcs: fix check for BUILTIN\Administrators membership in wkssvc_Netr{Join,Unjoin}Domain2.
Guenther
commit 88af0ec6e464a0b42f2b04c3c870c3e73ee1c6fd
Author: Kai Blin <kai at samba.org>
Date: Fri Aug 7 09:34:06 2009 +0200
s3 net: i18n support for net rpc audit
commit db76b7aa04af168b4ab55f0b34960deb8501eb07
Author: Kai Blin <kai at samba.org>
Date: Thu Aug 6 20:52:58 2009 +0200
s3 net: net i18n in it's own module
commit ba830cf1cdcd2a276f3ea2c50274627f5951bdf9
Author: Kai Blin <kai at samba.org>
Date: Thu Aug 6 20:38:39 2009 +0200
Revert "s3: Update i18n files"
This reverts commit 57b5269038624b70e117025af9b977e0addcdc8e,
6e044a22cf232798efbd40a2b55fd9556483d403 and
c9803ee26ad1b2f92f2ce7653ce16ac84d0b3eb6.
The correct location for net .po files is in locale/net/
commit 8dcf3b7062dbdbaa90851e40e23666a9c009c5f4
Author: Kai Blin <kai at samba.org>
Date: Tue Aug 4 08:28:50 2009 +0200
s3 net: i18n support for net rpc
commit 7ced58b93246648ba15b08f99d3f6d8896638650
Author: Kai Blin <kai at samba.org>
Date: Sun Aug 2 10:26:48 2009 +0200
s3 net: i18n support for net registry
commit 9be14ed78d9fd4750772079a4f4173a0dee95cff
Author: Kai Blin <kai at samba.org>
Date: Sun Aug 2 10:25:26 2009 +0200
s3 net: i18n support for net rap
commit 7c2025610c7dfce228f682f2f204972b0264cf72
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 7 17:23:52 2009 +1000
fixed another ambiguous talloc call
During the creation of the 3 RPC pipes in winbind we try to steal the
RPC binding structure to be a child of the pipe once the pipe is
established. This fails with a talloc warning as the rpc connection
code already holds a reference to the binding.
The fix is to use talloc_reparent() instead.
commit c271dc998ba25101a46e7d4b2187567a07588ca2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 7 17:21:54 2009 +1000
ensure that child tasks die when the parent dies
Previously we relied on process groups and SIGTERM to ensure that
child tasks died in the standard process model when the parent task
died. This doesn't work when the server is run in interactive mode, as
in that case we don't call become_daemon() and don't get a separate
process group.
The fix is to have a pipe held open by the parent server process, and
inherited by child tasks. If the parent exits then the write side of
the pipe is implicitly closed, which causes an event in the child
tasks that causes them to exit
commit cfc0cabb27c7323930b96dd93befa955bacd6cde
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 7 17:19:39 2009 +1000
prime the sam ldb schema in the parent samba process
While testing the use of the standard process model with 'make test' I
found that testing was much slower (by several times) with the
standard model than with the single model. The primary problem was
that each SMB connection would open a new sam ldb context, and all of
those would reload the full AD schema.
The fix is to pre-open the SAM during server startup, before any child
processes are forked. This sets up the global schema context which is
inherited by all connections.
The standard model is still slower at make test than the single model,
but not by nearly as much. I am working on further reducing the gap.
commit 2c12c985e7f2debb25452e484925b7fdf987c659
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 7 17:16:26 2009 +1000
use talloc with the global schema consistently
Before this change, the first opener of the sam ldb context would
become the owner of the global schema, then the autofree context got a
reference to the schema. Any subsequent opens of the sam ldb also got
a reference. This meant that the talloc hierarchy was inconsistent
between the first sam ldb open and subsequent opens. With this change
the autofree context becomes the owner of the global schema, and all
ldb contexts get a reference.
commit e2d4ae15107c8613707adc68ffc68c6ced04e9be
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 7 17:14:13 2009 +1000
fixed several places that unnecessarily take a reference to the event context
These references were triggering the ambiguous talloc_free errors from
the recent talloc changes when the server is run using the 'standard'
process model instead of the 'single' process model. I am aiming to
move the build farm to use the 'standard' process model soon, as part
of an effort to make our test environment better match the real
deployment of Samba4.
The references are not needed as the way that the event context is
used is as the 'top parent', so when the event context is freed then
all of the structures that were taking a reference to the event
context were actually freed as well, thus making the references
redundent.
commit 238bf25af44ecc51bef59f1d0b9303da9904432e
Author: Bo Yang <boyang at samba.org>
Date: Sat Aug 8 06:14:33 2009 +0800
s3: add a test to test libsmbclient
Signed-off-by: Bo Yang <boyang at samba.org>
commit b9fb8da59148f574b03e44748fca7800f940db7a
Author: Bo Yang <boyang at samba.org>
Date: Sat Aug 8 06:10:37 2009 +0800
s3: Fix nss info substitution
Signed-off-by: Bo Yang <boyang at samba.org>
commit 4aad79041b2ababc3336db3bea90f115c5634427
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Aug 7 14:34:01 2009 +1000
make sure we never look past the end of either string in ldb_comparison_fold()
This fixes a bug in the samba3sam test with the python libraries as
noticed by abartlet
commit dd557cc3613fa791d44cf34d2a1ddaaff93ab3fd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 7 14:22:54 2009 +1000
s4:ldb Make error message in rnd_name more useful
commit 37b8235afe4036f7defd9465ae431cae9804fa18
Merge: 11ff224e13a26e4ff9fbd01dec395262aac0f9f9 457191e9f396898b8a511cf860f24986f36fd879
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Aug 7 13:08:35 2009 +1000
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
commit 11ff224e13a26e4ff9fbd01dec395262aac0f9f9
Author: Oliver Liebel <oliver at itc.li>
Date: Fri Aug 7 12:38:51 2009 +1000
s4:setup Remove extra newlines that break OpenLDAP backend
commit 457191e9f396898b8a511cf860f24986f36fd879
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Aug 6 15:53:33 2009 -0700
s3: Fix a bug in renames of directories
Recently code was added to match windows semantics of denying the
rename of a directory if there are open files underneath it. This
does partly match windows semantics, but it turns out the rename
should be allowed if the open file handle is for the directory being
renamed, or for a stream on the directory being renamed. This patch
refines the check to better follow these rename semantics.
commit 09e9904f18634b135944f466c48c4be1a43b4272
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Aug 6 11:23:23 2009 -0700
s4 torture: Extend the RAW-RENAME test to more fully test directory renames.
The existing test was only covering files opened underneath the
directory that was being renamed. It is not uncommon for windows
clients to actually hold a read-only handle to a directory open across
the rename, which it turns out doesn't return NT_STATUS_ACCESS_DENIED.
Additionally, holding a handle open to a stream on the directory is
also allowed.
commit 890dfe003c91f8df737e5e2e4e440e1a9f416ae8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 6 15:47:05 2009 -0700
Remove a const warning.
Jeremy.
commit 650445fc3cb8f61fdb6e570e46226fff101bb174
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 6 15:09:01 2009 -0700
Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.
Jeremy.
commit e76af514c3a99a6c65398a9d7a99012ff73583eb
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 6 12:50:16 2009 -0700
Put SMB_INFO_STANDARD back into setfileinfo, but do it right
this time :-).
Jeremy.
commit 4fc9f9c3f943cdeb27e37f0ee068cdd0da7cb00c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 6 11:47:08 2009 -0700
Add define guards around otherwise unused variable.
Jeremy.
commit 8a5cc1317ad4f5705b8a74286eb2b7dfdc9d89b4
Author: Günther Deschner <gd at samba.org>
Date: Thu Aug 6 17:17:26 2009 +0200
s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.
Patch from TAKEDA Yasuma <yasuma at osstech.co.jp>.
Guenther
commit 857140a79fb9cd186ed7f33aaf92934080256a3c
Author: Bo Yang <boyang at samba.org>
Date: Fri Aug 7 13:42:51 2009 +0800
Unable to browse DFS when using kerberos
Signed-off-by: Bo Yang <boyang at samba.org>
commit 915b789c874e661dbd240e1fe3ba35f67746fdd0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Aug 6 11:38:06 2009 +0200
s4: Simplify two lines in the "samdb.py" file (cosmetic)
commit 1ce36ed74745632baca9a55a00ab748c21367632
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Aug 5 23:17:21 2009 +0200
s4:enableaccount script: Remove a redundant line
commit 54dffbea663ecf4542d6c5e30da6e346d5d60424
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Aug 6 10:06:29 2009 +0200
s3/smbldap: Fix typo in debug message.
Karolin
commit 252f7da702fd0409f7bfff05ef594911ededa32f
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Aug 6 13:13:42 2009 +1000
There is one signedness issue in tdb which prevents traverses of TDB records
over the 2G offset on systems which support 64 bit file offsets. This fixes
that case.
On systems with 32 bit offsets, expansion and fcntl locking on these records
will fail anyway. SAMBA already does '#define _FILE_OFFSET_BITS 64' in
config.h (on my 32-bit x86 Linux system at least) to get 64 bit file offsets.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 740a40e74eb79234e1c40ca88768202b3c0af2b9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 6 11:36:52 2009 +1000
Revert "deliberately break the build"
This reverts commit 57da47c1bd76157a6a403154551645c16ad64a75.
The build emails do work :-)
commit 57da47c1bd76157a6a403154551645c16ad64a75
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 6 11:24:42 2009 +1000
deliberately break the build
I want to make sure that the build breakage emails are now working
correctly
commit 64e2b859d2ed9c2428219617c3864c64cd6ed909
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Aug 6 08:17:09 2009 +1000
s4:heimdal: import lorikeet-heimdal-200908052208 (commit 370a73a74199a5a55188340906e15fd795f67a74)
This removes some of the portability changes made to code under
heimdal/
If these are still required, then we will re-add them with code under
heimdal_build/ (so that we can simply 'drop in' future heimdal
releases).
Andrew Bartlett
commit b97d85c5e4db00a6cfc0a191907e88d2623c6681
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 6 07:57:17 2009 +1000
set uidwrappersrcdir
this is needed for the combined build
commit e2aa38a20175430ae1ef7540a8ca7cdf0c4e955e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Aug 6 07:38:43 2009 +1000
define uwrap_enabled() on Samba3
s3 doesn't use uwrap yet, but it uses some common coe in lib/, and so
needs a dummy version of the uwrap_enabled() macro
commit 39b015837378b6dca72c477225444e700fe40040
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Aug 5 20:28:05 2009 +0200
s4:ldb Cosmetic corrections in "rdn_name" module
commit 3854b5e6146ff8efeb4379a502bb083cbaa05ce4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 20:23:12 2009 +1000
changed BCC handling for SMBwriteX to handle broken MacOSX client
see bug #6610
The MacOSX SMB client sets the BCC value in SMBwriteX calls to zero
instead of the correct size. Checking against WindowsXP, I've found
that Windows uses the maximum of the computed buffer size and the
given BCC value. I've changed Samba4 to do the same to allow MacOSX to
work.
I've limited this change to non-chained packets to ensure we don't get
the possibility of exploits based on overlapping chained requests
commit 67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 20:19:36 2009 +1000
on buffer overflow windows gives SMBSRV:ERRerror here
commit cc74f213248f910c1c7908b23be07485752e85b9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Aug 5 10:48:25 2009 +0200
s4:torture The test logic for the target was wrong. This should correct it.
commit 996a2054fb951139344712ee68774a55fb65ae1e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Aug 4 13:43:29 2009 +0200
s4:heimdal_build: define HEIMDAL_LOCALEDIR
metze
commit f22408913846b2510352c60e6476b2a693e1a7ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 5 10:05:56 2009 +0200
s4:ldap_server: make sure we shutdown the tls socket before stream_terminate_connection() removes the fd event
This fixes a crash bug where tls_destructor() relies on the fd event still being there.
metze
commit e2ed5029e97671b307af06c9fff1d4f0442553a2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Aug 5 09:48:45 2009 +0200
s4:torture Remove some unwanted code in the LDAP test - hope this fixes up the test failures
commit 00a8ff5fe9acf965395b99b39b0c24a5517b6e2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 17:51:21 2009 +1000
fixed a problem with group policy writes causing policy corruption
This bug was caused by two things:
1) in the unix ACL mapping, we were not taking into account group
write permssions for the SEC_STD_DELETE flag
2) when a file is created using OVERWRITE mode, a fchmod() would
fail if the user is not the file owner. We resolve that by only
doing the fchmod() if the mapped file attribute does not match the
desired file attribute
commit 0a16265bc21e6f1f8cef4f38b7b45f3fd356527c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 16:26:07 2009 -0400
s3:winbind: Convert WINBINDD_GETGROUPS to the new API
commit 01ea26bf28ab697af03c7ebc3a1261c240fe1360
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 16:22:42 2009 -0400
s3:winbind: Add async wb_gettoken
commit fec380818ffdd7fba58e8dd591049c4b2428ab7d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 16:20:18 2009 -0400
s3:winbind: Convert WINBINDD_GETUSERDOMGROUPS to the new API
commit 1dc1ac00512a28bdc025b00fbfa676b0f5b15751
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 16:07:01 2009 -0400
s3:winbind: Add async wb_lookupusergroups
commit 718a26fd29036cc200cdc1c320733eafe84d2337
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 2 18:01:54 2009 +0200
s3:winbind: Make wcache_lookup_usergroups externally visible
commit 592822786d0a26bdf283ca4621c0df6f7f671869
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:58:45 2009 -0400
s3:winbind: Convert WINBINDD_GETSIDALIASES to the new API
commit ce42ea3ab8c69a3f650d4c9bc787e4805aad928d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:54:05 2009 -0400
s3:winbind: Add async wb_lookupuseraliases
commit f09a95aaff4542df4225f3828a0d737497f0f2e8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 2 17:17:27 2009 +0200
s3:winbind: Make parse_sidlist take a const char *
commit ff3ce9016a43906df55a0922f0697c91d255de88
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 2 16:52:19 2009 +0200
s3:winbind: Make wcache_lookup_useraliases available publically
commit bd9d7f75e352985f1b0e0785f0ba94dea19d2601
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:41:40 2009 -0400
s3:winbind: Convert WINBINDD_GETPWUID to the new API
commit 5bbb7a0d143b34b6a2a2c4adb1114120cddd74bf
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:37:54 2009 -0400
s3:winbind: Convert WINBINDD_GETPWNAM to the new API
commit 9dc401a20ec608d4d8ae25fb4e81c462e9ced415
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:35:24 2009 -0400
s3:winbind: Convert WINBINDD_GETPWSID to the new API
commit afc82444fd367e8b8541e4a41a86966a288ed2ef
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:32:11 2009 -0400
s3:winbind: Add async wb_getpwsid
commit 0418d38bc80dc8680834875629a3df8e1734b885
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:31:49 2009 -0400
s3:winbind: Make fillup_pw_field publically available
commit 7077492778dbda30e5f865ae1d0ab0237e00f54f
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 15:23:13 2009 -0400
s3:winbind: Add async wb_queryuser
commit 360227a0feb443fbbcc420295d5666da5823685a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 1 10:20:13 2009 -0400
s3:winbind: Make wcache_query_user externally visible
commit 10685b37d4dc16dc75c48c08937f003af4968a0c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 14:22:17 2009 -0400
s3:winbind: Convert WINBINDD_GID_TO_SID the new API
commit 292f3f896fa5bc381c88526fc73a6224b8d286f0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 14:19:03 2009 -0400
s3:winbind: Add async wb_gid2sid
commit 9b369ffcf0f113871b00de4229432a74fe436834
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 14:07:44 2009 -0400
s3:winbind: Convert WINBINDD_UID_TO_SID the new API
commit 3eff8e93e283828afdb3413aec2dae5c01b101b3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 13:52:39 2009 -0400
s3:winbind: Add async wb_uid2sid
commit 5db561a608a11895d8a9a038a98a9fcc7c867d59
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 13:42:22 2009 -0400
s3:winbind: Convert WINBINDD_SID_TO_GID the new API
commit 153ae58d7d37daffc7c5547ef9174baf64f9aaa7
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 13:38:52 2009 -0400
s3:winbind: Add async wb_sid2gid
commit fb7150f23b154fe53a91f3433ea33cf680d4fa93
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 13:33:56 2009 -0400
s3:winbind: Convert WINBINDD_SID_TO_UID to the new API
commit ea286fed7adf93311b0ca14c3ff1e7bac74a0b9b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 13:28:59 2009 -0400
s3:winbind: Add async wb_sid2uid
commit 9c6f4cd12a3e62165782e34226888648649a0fef
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 07:29:03 2009 -0400
s3:winbind: Convert WINBINDD_LOOKUPNAME to the new API
commit a5416770776c0ade8518e8875d47097662b026a6
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 07:22:34 2009 -0400
s3:winbind: Add async wb_lookupname
commit f6554611ab90aa113a7579ce3a9fef765c19d98c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 1 00:10:46 2009 +0200
s3:winbind: Make wcache_name_to_sid visible externally
commit 74b45ba46cbf58c1bf9ef89f5f88509065cd81d2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 06:58:28 2009 -0400
s3:winbind: Remove old version of WINBINDD_PING
commit fa59f9720d56ffaf07c13376118c452a4162f3df
Author: Volker Lendecke <vl at samba.org>
Date: Tue Aug 4 06:57:13 2009 -0400
s3:winbind: Convert WINBINDD_LOOKUPSID to the new API
commit bb359c780aee3fd7e1074db93a28c95590ae5d36
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 3 23:44:46 2009 +0200
s3:winbind: Add async wb_lookupsid
commit 2d6589fb0243cb2b73615de1aaea38a3059c08ed
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 1 12:16:11 2009 +0200
s3:winbind: Make wcache_sid_to_name externally visible
commit 6cf3db91499ebd245b08997a319edf36cfee3365
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 28 15:06:11 2009 -0400
s3:winbind: Add NDR-based parent-child communication to winbind
commit ddd13c6816e7d289406948fe2f68db1aba7669d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 15:05:13 2009 +1000
handle large directories in smb2_deltree()
commit d40537c92a9ad7535b90218f289c35f039d03b0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 13:31:06 2009 +1000
fixed a uid_wrapper bug that caused a segv in the RAW-ACLS test
commit cd1d7f4be7d31388ab79c797acaf6d7730113112
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 5 11:25:50 2009 +1000
s4:heimdal: import lorikeet-heimdal-200908050050 (commit 8714779fa7376fd9f7761587639e68b48afc8c9c)
This also adds a new hdb-glue.c file, to cope with Heimdal's
uncondtional enabling of SQLITE.
(Very reasonable, but not required for Samba4's use).
Andrew Bartlett
commit 8bba340e65e84ee09a7da4d97bc7838d3eefbb15
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 12:07:21 2009 +1000
s4 now supports the large readx extension
commit 15a6a93d35e5be0ed24377006060ff66802d6844
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 12:07:08 2009 +1000
fixed the sense of the pvfs_acl uwrap check
commit 46bd2271b24b2b6b68541e867c3e87f7d217267c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Aug 5 03:34:08 2009 +0200
pyldb: Fix reference counting on ldb_message_elements, add extra type
check.
commit 88d206070df8e6f1b9190390ddb13a600b1178e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 11:32:01 2009 +1000
skip the readbraw tests if the server does not support it
This allows the RAW-READ test to pass against w2k8
commit 58e5e1ea8d4c5a9eb8d36aa8132fd1ba3985ca53
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 11:21:06 2009 +1000
make the UID_WRAPPER skip checks at runtime
This fixes two issues pointed out by Andrew. It adds a runtime
uwrap_enabled() call that wraps the skips needed for uid emulation. It
also makes the skip in the directory_create_or_exist() function only
change the uid checking code, not the permissions code
commit fd43e0ee09e3f82093e9a15dd6cbd2fbaa113426
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 10:50:03 2009 +1000
added a uid_wrapper library
This library intercepts seteuid and related calls, and simulates them
in a manner similar to the nss_wrapper and socket_wrapper
libraries. This allows us to enable the vfs_unixuid NTVFS module in
the build farm, which means we are more likely to catch errors in the
token manipulation.
The simulation is not complete, but it is enough for Samba4 for
now. The major areas of incompleteness are:
- no emulation of setreuid, setresuid or saved uids. These would be
needed for use in Samba3
- no emulation of ruid changing. That would also be needed for Samba3
- no attempt to emulate file ownership changing, so code that (for
example) tests whether st.st_uid matches geteuid() needs special
handling
commit 3e3f64f05fa5d970b058c4b21b6ecd40b883e8e6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 5 10:35:45 2009 +1000
s4:ldb initialise e->values[i].length before use in python bindings
commit 43aa546ecc3f05845793b1a7354685d50a77c170
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Aug 5 08:53:11 2009 +1000
s4:dsdb Don't cast an ldb_val into a const char * for schema lookups
This removes a number of cases where we did a cast into a const char *
of an ldb_val. While convention is to alway have an extra \0 at
data[length] in the ldb_val, this is not required, and does not occour
at least on build farm host 'svart'.
Andrew Bartlett
commit 25a65d604676b25f97ca427b805d151c1a40a07e
Author: Gerald Carter <jerry at plainjoe.org>
Date: Mon Aug 3 16:18:10 2009 -0500
idmap_adex: Fix usage of talloc_stackframe().
Pass an explicit TALLOC_CTX* to build_id_filter() and build_alias_filter()
rather than relying upon the talloc_stackframe() behavior that
allows a caller access to stackframe ctx for called functions.
commit 38ff5906b3073276cfe4a7d6d4fbf83a2a2e5fb8
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Aug 4 19:02:42 2009 +0200
s4: make install: prevent overwriting failure
We don't have to remove the eventual write privileges to enable the execute ones.
commit 74454cc731f202361f1dce47fa850810bfeb36c8
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 4 12:21:49 2009 +0200
s3-spoolss: Fix Bug #6568: _spoolss_GetPrintProcessorDirectory() implementation.
We should always return a local path so that users are not forced to setup a
[prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour.
Guenther
commit 0e87f07fc0190e5d5a167e356db521b9123ae049
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Aug 4 17:09:29 2009 +0200
s4: Change my nested groups patch to don't include user's SID itself in the "groupSID"s structure
commit f050c500f1ed4ca5c25d637dafc56b1c73cee6e6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 4 18:24:37 2009 +1000
s4:torture Make RPC-NETLOGON pass against ncaclrpc servers
The original patch didn't cope with a NULL target server name - we now key off that to decide it isn't worth checking against LDAP for this host.
I still can't get this to pass against Windows 2008, but mdw was
testing against Windows 2008R2. at least 'make test' is happy, and
the rest should not be too hard...
Andrew Bartlett
commit dac8aabb551f9a4345dedb0b6ae0dcb9ffb1bad9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 4 16:11:55 2009 +1000
Add const
commit d7b39a353ab757d7f7914d08226114fc275032e8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 4 16:07:18 2009 +1000
s4:ldif_handlers Allow a binary nTsecurityDescriptor when parsing LDIF
Also allow a SDDL security descriptor, using the domain SID attached
to the session (it will search for it during the LDIF parse if need
be).
Andrew Bartlett
commit 9b02d2391443c3c56d607d034d9d200703aa840b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 4 14:36:14 2009 +1000
s4:netlogon Fix warnings and segfault in GetDomainInfo call
- Correctly use samdb_search_string to do a 'base' search
(this needs a NULL, not a "" argument for the format string)
- There is no need (and it caused a security hole) to use
talloc_asprintf() with the only argument being the string to
duplicate.
Andrew Bartlett
commit 1937ab3668e6a4667ac4334a6e1bea2cc75cfb1d
Merge: ff388611f461b4a4ee044ce86aedda9ce18dfc97 57d690b6f693d9a90eb77404bbffc05a1c245972
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 4 16:02:23 2009 +1000
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit ff388611f461b4a4ee044ce86aedda9ce18dfc97
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Aug 4 16:01:11 2009 +1000
fixed support for readx greater than 64k
This fixes bug 6547, where smbclient in S3 reads more than 64k at a
time with readx.
commit 57d690b6f693d9a90eb77404bbffc05a1c245972
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 4 12:52:11 2009 +1000
s4:torture rework LDAP sort test
This reworks the test to be part of the LDAP tests, to make better use
of the torture API and the ldb API (in particular around adding
controls), and a general cleanup.
This also adds the test to the 'make test' run.
Andrew Bartlett
commit 3eaef05506d5c17eea4105c4bf3138accd59df9f
Author: Matthieu Patou <mat at matws.net>
Date: Tue Aug 4 11:51:46 2009 +1000
s4:torture Add test for correct server-side sorting over LDAP
commit 8f110d30517374514c80d9c69e3451adebb74382
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Aug 4 11:12:33 2009 +1000
Use smbclient binary for the test file in smbclient test
In the vein hope that a larger file might show problems better than a
small file.
Andrew Bartlett
commit 3641978dfa88398dbc494845fe611dd87f2317b7
Author: Ricardo Jorge <rvelhote at gmail.com>
Date: Tue Aug 4 00:03:04 2009 +0200
param/pyparam: Cope with string list parameters being empty.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 1174177c8f5851762ab0d3724df9efbdc0f34b1c
Author: Ricardo Jorge <rvelhote at gmail.com>
Date: Tue Aug 4 00:00:25 2009 +0200
python/loadparm: Get shares listing working.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 15d73317ea90cdc02083cb132663ef198ef5e60d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Aug 3 23:58:16 2009 +0200
pyldb: Properly keep copies of Python string contents, rather than
relying on reference leaks :-)
commit 7048165e7a7849a7a97041bcffca91586f1c8fa1
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 4 00:06:26 2009 +0200
s4-ldap_server: fix generated error string in map_ldb_error().
Guenther
commit 75030ff2b16a3ddb79367d970590da2375f7e3dc
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 3 23:41:08 2009 +0200
s3-spoolss: fix crash bug in spoolss_addprinterex_level_2.
Guenther
commit 7180ae0b8e866d99de6827841970f16486eec7cd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 1 10:38:13 2009 -0400
Add some const to winbind_userinfo
commit 3d15d044a9cc998238c8f4e07094fedb3f9215fe
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 1 10:46:45 2009 +0200
Fix a typo
commit e4d276f737082e67173a4050deecc8454e90024b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Aug 3 11:30:29 2009 +0200
Fix some nonempty blank lines
commit bb944dcf64aeb308991d6e7fa4da0550b1c86489
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Aug 3 18:15:16 2009 +0200
pyldb: Raise proper exception when attempting to assign a string to a dn
attribute.
commit 20225d83dd1d09274bd913d1713c56268a069628
Author: Günther Deschner <gd at samba.org>
Date: Mon Aug 3 16:28:59 2009 +0200
s3-pdb_ldap: Make ldapsam_alias_memberships behave like the tdbsam equivalent.
This lets samr_GetAliasMembership return with NT_STATUS_OK when called with 0
sids (just what w2k3 does).
Guenther
commit 64b4d020325534cbdfb82366543ab947feb70c97
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 3 14:19:12 2009 +0200
s4: Change constant to comply with the merged build
commit 7ee7ec3fdba2ef6a6cc3e1f96a5d2154290cdb18
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Aug 3 10:19:45 2009 +0200
s3/docs: Fix typos.
Thanks to OPC oota <t-oota at dh.jp.nec.com> for reporting!
Karolin
commit 3fae13ba805aff4fec3f98875d539dd1e11fd7a2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 3 09:51:44 2009 +0200
s3/s4: Add new autogenerated files from "make idl_full"
commit 720b7ea0ee77ffc8a3d59d3185cb0edd999b1c84
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Jul 23 13:05:34 2009 +0200
s4: Torture test for enhancements in "netr_LogonGetDomainInformations" call
This corrects and enhances the torture test of the mentioned call.
commit c688d374971cbd2de8e4be229422d00d383937f6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jul 22 22:11:12 2009 +0200
s4: Enhancements in the "netr_LogonGetDomainInformations" call
This addresses bug #4888 and #6596 in SAMBA 4 Bugzilla
- It implements the call in the complete form as specified in the MSPP/WSPP docs
and on the discussion on the "cifs-protocol" list
- Therefore client informations (OS name, OS version, "servicePrincipalName"...)
are now saved in the AD each time the client invokes the call
commit 721402b8de9a94c4a7ca6ed2f039d0fe42f53351
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jul 22 21:01:52 2009 +0200
netlogon.idl: Prework to enhance the "netr_LogonGetDomainInformation" call correctly
This enhances the "netlogon.idl" file to allow enhancements on the mentioned call.
Therefore this is also the base for fixing up bug #4888.
commit e14b2ed8df12c1dadf907b96c5d6eb9192daa844
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jul 22 20:03:21 2009 +0200
netlogon.idl: Removes the form "str[]" for string declarations
In this file two different forms are used to explain the same datatype ("str[]" and "*str").
I didn't find this very nice and unified the occurrences to always use "*str".
This patch is of cosmetic nature.
commit c50dff4ccea48de81815e0b92066b89b2bf3ddec
Author: Matthieu Patou <mat at matws.net>
Date: Sat Aug 1 14:02:58 2009 +0400
Return infinite time for last last logoff when last logoff = 0
commit e21519403318acea3424516afc12730fe9e9d432
Author: Bo Yang <boyang at samba.org>
Date: Mon Aug 3 08:16:21 2009 +0800
s3: check in .po files for pam_winbind.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 4fa28af91db993e3d7d2996287dba97247b87e55
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 2 22:28:49 2009 +0200
Fix some nonempty blank lines
commit 20d93b5b604da8a81d6435983fe2e3c33673b06c
Author: Alexander Bokovoy <ab at samba.org>
Date: Sun Aug 2 17:42:49 2009 +0300
Fix breakage for connect function after API change (connect -> connect_fn)
commit 4f147388c0512fc291cc53764c017d7117154afc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 2 10:43:05 2009 +0200
Refactor 9b78af1f: Fix lookupname recursion
Pass a "flags" argument instead of the original winbind command down the
name_to_sid chain. This way we are independent of the winbind commands and
can take the decision at a much higher level
commit 62fec968193e8a96ccffef216aba30ffb681d33a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 22:42:50 2009 +0200
Some mods for recent coding conventions
commit ac94a8b0e3248dac63d7bc7d0f7aef370c725763
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 22:47:48 2009 +0200
Place a comment correctly
commit fc261be681f55d5cf17ffe58471a71cda6ad202d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Aug 1 00:24:35 2009 +0200
Fix indentation
commit c67037d986b978db7baa529f4894e22eda3ac7a5
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 23:48:39 2009 +0200
Refactoring: mem_ctx is not needed as an argument to centry_sid
commit a488334bf1d2c76ebad123df4fc970d617dee126
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 23:17:54 2009 +0200
Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSS
It took me a bit to understand what this flag does. I hope this is
a bit clearer, at least it is to me.
commit 42becbc7a810e1d521f5aee6bcbbb5c1ad3ab7bf
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 22:59:30 2009 +0200
Fix some nonempty lines
commit b4d5f4dd67bd838cc0ccd4b96b08da59858adae5
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 22:38:54 2009 +0200
Remove a pointless variable
commit 301be8c99b4646f0947ef94e12ffda433854b659
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 31 11:19:19 2009 -0700
We're not changing last write, but setting this to be FILE_NOTIFY_CHANGE_CREATION
doesn't work. So use FILE_NOTIFY_CHANGE_LAST_WRITE (now seems to reliably fix
bug #6529 - Offline files conflict with Vista and Office 2003.
Jeremy.
commit d87e937518c0b4eaee15503ce243f6005130c610
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jul 31 19:24:53 2009 +0200
s3: Remove invalid constant
commit ba32afbface75fc13886237251e8debac7c75aa3
Merge: df270cd796afe3f2b051db742b9094acf16502d9 b53338bb6846a431b78d7b85d4ef35281d3efa1c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jul 31 18:17:00 2009 +0200
Merge branch 'master' of git://git.samba.org/samba
commit df270cd796afe3f2b051db742b9094acf16502d9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jul 31 18:15:39 2009 +0200
s4: Correct renamed constants
commit b53338bb6846a431b78d7b85d4ef35281d3efa1c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 17:32:03 2009 +0200
Provide a mem_ctx for child requests
commit 8110cf57aa2709ec6476e6952965f302a5c16997
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Jul 30 12:43:49 2009 +0200
s4: Adds a small test for the new enhanced error messages from the AD LDAP server
commit 04ea52f8675aad7663126514ab0132e47f2c8358
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Jul 30 12:41:06 2009 +0200
s4: Enhances the LDAP server to display error messages like Windows Server
Those error messages also include the WERROR code of the failed operation(s) in this
manner: <error code eight chars in HEX>: <further error message>
This also addresses bug #4949
commit a08bffa3589df96e39b57036cd919c8ca570f894
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Jul 30 12:40:14 2009 +0200
Adds new error codes (needed for enhancing error messages for SAMBA 4 AD LDAP server)
commit f511ccbc429aacff3882e12366bae2aebf9d768a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 31 16:16:24 2009 +0200
Slightly restructure the async winbind request calling convention
The main loop now allocates the response, this has to be done everywhere
commit a3bcbd177537e5da437974e64bbd07d88c087fa2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:44:21 2009 +0200
s4:libcli/ldap: the tls code steals the original socket on its own now
metze
commit 471e67a7334050576b96184dbe0534982f8706fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:43:14 2009 +0200
s4:ldap_server: the tls code steals the original socket on its own now
metze
commit 6f40637ca8b6c2a54551b711dfd34f24b3295a53
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:42:42 2009 +0200
s4:tls: avoid using talloc_reference() in tls_init_client()
metze
commit d866497b187f4c9c4fd7771b85ca1441b694af09
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:40:29 2009 +0200
s4:tls: avoid using talloc_reference() in tls_init_server()
metze
commit ff37d6631c40a61e596ce93a6803c65e1efe98c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 12:06:12 2009 +0200
s4:libnet: use talloc_strdup() instead of talloc_reference()
metze
commit 066e81f55777a1f8788be0c2c6077997c322baa3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:31:35 2009 +0200
s4:build: make sure that we regenerate proto headers when source files change
metze
commit 933d5ee22b7f317d541224319a1b8fbf62fd4534
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:30:15 2009 +0200
librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()
metze
commit 2ef1159c0ddf92d727f7267bec91621be302833e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:29:28 2009 +0200
util/asn1: fix potential memory leak in asn1_write_OID()
metze
commit 7d470fdb1b180d63a4e08e7c9d0a88223031053f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 10:38:04 2009 +0200
s4:auth: make sure we have elements returned at all in authsam_expand_nested_groups()
metze
commit 71b013f4deb79f66a28545dc3be910815b123f7c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Jul 16 18:28:58 2009 -0700
s4: Patch to implement nested group and privileges
This patch adds a function "authsam_expand_nested_groups" (calculation of rights
through expanding groups of a certain SID) which basically collects all
memberships through "memberOf" attributes. It works with either user or group SIDs.
For avoiding loops it tests on each call if the SID hasn't been added yet (through
the helper function "sids_contains_sid").
The function itself is called by "authsam_make_server_info".
commit a207cca1d33b510e699a84d4d1a19b7c759bfbfd
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Jul 30 11:52:39 2009 +0930
tdb: don't alter tdb->flags in tdb_reopen_all()
The flags are user-visible, via tdb_get_flags/add_flags/remove_flags.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3b2f074bda8734a0b30a3e31117c0217d890809c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Jul 30 11:52:08 2009 +0930
tdb: Reimplementation of Metze's "lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() should be a noop".
This version just wraps the reopen code, so we still re-grab the lock and do
the normal sanity checks.
The reason we do this at all is to avoid global fd limits, see:
http://forums.fedoraforum.org/showthread.php?t=210393
Note also that this whole reopen concept is fundamentally racy: if the parent
goes away before the child calls tdb_reopen_all, the database can be left
without an active lock and another TDB_CLEAR_IF_FIRST opener will clear it.
A fork_with_tdbs() wrapper could use a pipe to solve this, but it's hardly
elegant (what if there are other independent things which have similar needs?).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fa91bc67199f0d45a0e570b43aeafd816a5491bf
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Jul 30 11:51:28 2009 +0930
tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() should be a noop"
This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd.
tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 42b28ee95d0884c465fd2762ee9cbf1044a8bd4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 08:36:03 2009 +0200
.gitignore: ignore more generated files
metze
commit 258250f1aca98e5da52f12c1a912b97af9657749
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:27:54 2009 +0200
winsif.idl: add definition of winsif_WinsDoScanvengingNew()
metze
commit 8ad17b45014574d8d9db2170dc6d66fda76589e2
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:27:39 2009 +0200
winsif.idl: add definition of winsif_WinsStatusWHdl()
metze
commit d3ec23f405682facb805851e80cb0ee11feff61f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 15:39:14 2009 +0200
winsif.idl: add definition of winsif_WinsStatusNew()
metze
commit 50662d22d8214c1009e1e228c4d97bd005274997
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 28 17:12:05 2009 +0200
winsif.idl: add definition of winsif_WinsGetDbRecsByName()
metze
commit e7466831a8a240f0af88e39ab14743d4017c9d89
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:26:30 2009 +0200
winsif.idl: add definition of winsif_WinsGetBrowserNames()
metze
commit 833f253d9354e811f29ddd73853494bc38716435
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:26:03 2009 +0200
winsif.idl: add definition of winsif_WinsSetFlags()
metze
commit 655efd069df98a025835caa008218a5bbabc0c20
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:25:45 2009 +0200
winsif.idl: add definition of winsif_WinsDeleteWins()
metze
commit 5899bc002abcf6377adb01e518c89515bec2cdad
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:25:28 2009 +0200
winsif.idl: add definition of winsif_WinsGetBrowserNames_Old()
metze
commit 5fd30f8dfb4cec6393989454103b2fb32e6fa885
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:25:10 2009 +0200
winsif.idl: add definition of winsif_WinsGetNameAndAdd()
metze
commit 7bea52ab161947f86b49acc24306388fbde8356a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:24:53 2009 +0200
winsif.idl: add definition of winsif_WinsWorkerThreadUpdate()
metze
commit 47174d31303f44b5e1ca2e933a661c60b29992b2
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:24:23 2009 +0200
winsif.idl: add definition of winsif_WinsResetCounters()
metze
commit c91be0915e84dde1c306b95247f6a7cb9fc7d760
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:24:02 2009 +0200
winsif.idl: add definition of winsif_WinsSetPriorityClass()
metze
commit 6d0ab082ff39ccd66ae66f688326903231ba6836
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:23:46 2009 +0200
winsif.idl: add definition of winsif_WinsPullRange()
metze
commit e29763fd3f1c321f6ff54323aa5637dd8842b0df
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:23:25 2009 +0200
winsif.idl: add definition of winsif_WinsDelDbRecs()
metze
commit b540aa4296010c97696a7b16e1bd45f56bd9af18
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:23:06 2009 +0200
winsif.idl: add definition of winsif_WinsBackup()
metze
commit 7430582346befcf693de0787947bf62f28655be6
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:22:48 2009 +0200
winsif.idl: add definition of winsif_WinsTerm()
metze
commit 39ec220d4943350870c10d11555c0bdd86b87553
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:22:18 2009 +0200
winsif.idl: add definition of winsif_WinsGetDbRecs()
metze
commit f6084589f90b24a080436e7f1a6bd03580b801dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:21:38 2009 +0200
winsif.idl: add definition of winsif_WinsDoScavenging()
metze
commit 15c330af324139578ccd6651221cd739e2b96385
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 09:20:52 2009 +0200
winsif.idl: add definition of winsif_WinsDoStaticInit()
metze
commit b62ee9972e45c838977a51ee4f95732f19eb29db
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 15:44:06 2009 +0200
winsif.idl: add definition of winsif_WinsTrigger()
metze
commit dbd963fa87a537ef553eced05516b69200d205a1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 15:38:01 2009 +0200
winsif.idl: add definition of winsif_WinsStatus()
metze
commit f6c0ba9869ded22da666b974448fa6333f8a9ad3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 29 15:35:45 2009 +0200
winsif.idl: add definition of WinsRecordAction()
metze
commit 639df54cf5289f2d74c00092f654458f1b4b834e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 28 14:04:50 2009 +0200
winsif.idl: add missing function calls
metze
commit d01e8d22fa074b56d8c1f8be0c1f4616f6e0ad9f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 28 14:07:59 2009 +0200
s4:librpc: rename wins.idl => winsif.idl
metze
commit 3abe59cb2df9d2394d37f68c413d9098fa0a368f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 18:56:42 2009 +0200
librpc: rerun "make idl"
metze
commit 2ed71264e1b80b5563147112a10ce5bea36f9779
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 16:05:52 2009 +0200
pidl:Samba3/ClientNDR: add support tevent_req based _send/recv() client functions
metze
commit 28a46567385eebba40676831369564590b1ed1da
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 15:29:02 2009 +0200
pidl:Samba3/ClientNDR: rename ParseFunction => ParseFunctionSync and add ParseFunction as glue
This prepares the following ParseFunctionAsync* commits.
metze
commit 6a1ff907082a0b3225f2698f93f92ae6396d4239
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 15:14:25 2009 +0200
pidl:Samba3/ClientNDR: allow passing optional variable prefixes to ParseOutputArgument()
metze
commit 9e4cf82b74486e64caad963c3da330326ea99167
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 08:58:36 2009 +0200
pidl/Samba4.pm: allow an optional prefix passed to DeclLong()
metze
commit dcdefc17b9840ae8a3175da80070dd27bd81a5c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 30 14:31:55 2009 +0200
s3:rpc_client: add dispatch_send/recv() to struct rpc_pipe_client
metze
commit c3e12444f57e24dcd6c9259537ed0489db4658e9
Author: Yannick Bergeron <burgergold at hotmail.com>
Date: Thu Jul 30 19:31:24 2009 -0400
Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to allow AIX to call sys_getgrouplist only once
commit 41b95da435758bb522a2d7748f52afa81d9499eb
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 31 10:14:09 2009 +0200
pidl:Samba4/Python: fix mapType() => mapTypeName()
This tries to fix commit 8eff9f9a3167eb0c2a4c00edf5a4cdbbc06c4dfd.
The problem was:
Undefined subroutine &Parse::Pidl::Samba4::Python::mapType called at /home/metze/master4/pidl/lib/Parse/Pidl/Samba4/Python.pm line 848.
Jelmer: please check this.
metze
commit fc4e21bdae298095e7ab904fdec657f97743bfe7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 30 14:27:32 2009 -0700
Tidy up treatment of ctime.
Jeremy.
commit 65165433ecb95a697442fd88723036605ea21186
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 30 13:19:26 2009 -0700
Fix bug #6529 - Offline files conflict with Vista and Office 2003.
We need to send a notify message when a timestamp is changed that
can't be reflected in the underlying POSIX filesystem.
Jeremy.
commit 84bfd7395c48783fd6fca19effa12561217f65ec
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 30 13:16:40 2009 -0700
Remove the extraneous logic in smb_set_info_standard - we
do the time twiddling logic at the smb_set_file_time level.
Jeremy.
commit e411ec6a8af13ff9213b27212a4bed2db651585d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 30 13:13:23 2009 -0700
SMB_INFO_STANDARD is not a valid info level on set,
and was being read incorrectly anyway. Remove.
Jeremy.
commit 36c0f0f99aee940668b84c2c70b27f4993d9e6ee
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Jul 30 13:10:33 2009 -0700
realloc() has that horrible overloaded free semantic when size is 0:
current code does a free of the old record in this case, then fail.
commit a88c281ddc52bfb20cf65245a703233426bb4592
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Jul 30 13:09:33 2009 -0700
If the record is at the end of the database, pretending it has length 1
might take us out-of-bounds. Only pretend to be length 1 for the malloc.
commit 8eff9f9a3167eb0c2a4c00edf5a4cdbbc06c4dfd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jul 30 20:28:29 2009 +0200
python: Cope with the dom_sid2 alias in pidl's python generating code.
This fixes some problems in the samr Python bindings that pidl was
(correctly) warning about.
commit 6768cfe624fffef13109989e9cc79ccb4df13d19
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jul 30 20:04:42 2009 +0200
DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.
Use py_talloc_reference in DCE/RPC code, fixes
access to SAMR pipe.
commit eda7f35bc891ca4a7505ec054a2b4591c6edfb38
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jul 30 12:29:21 2009 +0200
Remove RFC's from the release tarballs to make the lives of the Debian
maintainers of Samba4 a bit easier.
commit c9803ee26ad1b2f92f2ce7653ce16ac84d0b3eb6
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 12:18:36 2009 +0200
s3 po: Regenerate msg files.
commit 2f7108bcaed0cdcd3c8f4663267f84e256736495
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 12:17:46 2009 +0200
s3 net: i18n support for net lua
commit a9a52f3b62d6bf6d87840232fcbb8cdcf5d8b3c4
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 12:10:56 2009 +0200
s3 net: i18n support for net lookup
commit 3af57c66b35a13b94fe090ea3f46f2f2ad22b077
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 12:07:31 2009 +0200
s3 net: i18n for net join
commit 346c5cca441a7bbc68250e08e7960df37faf2ddf
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 12:04:53 2009 +0200
s3 net: i18n support for net idmap
commit 35806ebe67d4ca7759bfd1ea69eddc44d6d4fde1
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 11:53:59 2009 +0200
s3 po: Make adding translated files less tedious
commit a7f6c839bafeb8c163cec1c8b73603637621faa7
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 11:30:33 2009 +0200
s3 net: i18n support for net help
commit cb55ec6dcbc09d6f1850846a3cf6f2f4190a0b9b
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 11:25:37 2009 +0200
s3 net: Remove uid==0 check from net groupmap
commit 8e43ea647bf2514baec9ab7f726a3201ac4226d3
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 11:16:32 2009 +0200
s3 net: i18n support for net group and net groupmap
commit 137a4015f04ea172c2610c9f5c9dd8295e1e4e0f
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 09:35:42 2009 +0200
s3 net: i18n support for net file
commit 3a7b04361e594a0a35229a7762d30daa3d4264bb
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 09:14:45 2009 +0200
s3 net: i18n for net eventlog
commit bdb23c73d90c9a218fa39af114b900f1d8dd2c51
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 09:10:03 2009 +0200
s3 net: i18n support for net dom
commit 51f9d1ecd53f490f2a7383a7e1931ce6d9933e21
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 09:00:31 2009 +0200
s3 net: i18n support for net conf
commit 6e044a22cf232798efbd40a2b55fd9556483d403
Author: Kai Blin <kai at samba.org>
Date: Thu Jul 30 00:00:09 2009 +0200
s3 po: Update msg files
commit 358a55e50d0d9143ffdb2bc3df6701307c1fb3df
Author: Kai Blin <kai at samba.org>
Date: Wed Jul 29 23:59:39 2009 +0200
s3 net: i18n support for net cache
commit b429c3c5cbd83231027be9e6efc06e9da42d9114
Author: Kai Blin <kai at samba.org>
Date: Wed Jul 29 23:50:11 2009 +0200
s3 net: Correct path for net_ads_gpo.c
commit 320a9aff7094aed8d249dea16f411233035e9222
Author: Kai Blin <kai at samba.org>
Date: Wed Jul 29 23:45:41 2009 +0200
s3 net: i18n for net ads gpo
commit 57b5269038624b70e117025af9b977e0addcdc8e
Author: Kai Blin <kai at samba.org>
Date: Wed Jul 29 23:29:31 2009 +0200
s3: Update i18n files
commit ceab454bcf059903db5dbc5bb9351d4f5eae419d
Author: Kai Blin <kai at samba.org>
Date: Wed Jul 29 23:28:01 2009 +0200
s3 net: i18n support for net ads
commit d2eb7f8853b9e1cad3919772e592e989b5cd6cf0
Author: Kai Blin <kai at samba.org>
Date: Wed Jul 29 20:07:47 2009 +0200
s3 net: Initial top level support.
commit 9b461ad7eb4d478397fe56f37f7c8ffca6724b23
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 29 10:12:11 2009 -0700
s3: Attempt to fix hpuxacl module
commit d498532389df7b1f6b1d01e47166f5697a742147
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 15:21:49 2009 +0200
s3:passdb: use transaction_wrapped write in tdbsam_new_rid()
Now all tdb writes in passdb use transactions.
Michael
commit 8da2f93716c23056a9de4a418bc29252a3b5b592
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 15:15:54 2009 +0200
s3:secrets: use transaction wrapped store in get rand seed.
Now secrets.tdb is only writen with transactions.
Michael
commit ae58ff981df4acadb43f0c89e75b760538673bf4
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 15:14:57 2009 +0200
s3:dbwrap: add dbwrap_trans_change_int32_atomic()
A transaction wrapper for dbwrap_change_int32_atomic().
Michael
commit fac81b375099e32f8124ae3cba631bb5fe36b1cb
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 15:12:39 2009 +0200
s3:dbwrap: export logic of dbwrap_change_int32_atomic into an action function
to prepare for adding a transaction wrapper to dbwrap_change_int32_atomic()
Michael
commit a86e163c1be3485698a238508101c205a47bc937
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 15:08:06 2009 +0200
s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32
Michael
commit 3acef0993501468f3ef807e76b56aa296f8a87d0
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:56:32 2009 +0200
s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.
Btw, the previous code must have failed to warn when exceeding the high_hwm,
because it overwrote hwm with the return value of the dbwrap_store_uint32(),
which does not return the hwm but 0 or -1, depending on success.
Michael
commit e46e5d7d0871e203ea8c4bb92a7b27e6cafce77d
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:45:31 2009 +0200
s3:winbind: fix typo in debug message in idmap_tdb.
Michael
commit d289ed916b1bcf8ad9a04ab22deb76444ee93062
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:43:14 2009 +0200
s3:winbind: fix typo in debugmessage of idmap_tdb
Michael
commit bd34de10bc4f814c943c5deac0028fc2cc8a1f12
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:39:30 2009 +0200
s3:winbind: use transaction in idmap_tdb2_allocate_id_action().
This uses the new dbwrap_trans_change_uint32_atomic()
instead of dbwrap_change_uint32_atomic().
Now all db write operations in idmap_tdb2.c are using
transactions.
Michael
commit 05794380395bad93aac5b225e07a446864740e78
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:37:39 2009 +0200
s3:dbwrap: add dbwrap_trans_change_uint32_atomic()
A transaction wrapper for dbwrap_change_uint32_atomic().
Michael
commit 14c2bc91b9ccf85f82d56f4b0dbe8346a06bfe7e
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:32:31 2009 +0200
s3:dbwrap: export logic of dbwrap_change_uint32_atomic into an action function
to prepare for adding a transaction wrapper to dbwrap_change_uint32_atomic()
Michael
commit 6abcdaad28162204fb9e9cc482ee03b4d4d6fe0a
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:26:26 2009 +0200
s3:dbwrap: untangle assignment and check in dbwrap_change_int32_atomic()
Michael
commit 8b0993e0850020c89e5b096366565da8f1a4432d
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:25:29 2009 +0200
s3:dbwrap: untangle assignemend and check in dbwrap_change_uint32_atomic()
Michael
commit de2846012b8b0ca24d342304d88819cab9f2cecf
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:23:26 2009 +0200
s3:dbwrap: don't leak in dbwrap_change_int32_atomic().
Michael
commit 80abb95ead3c51702bb459b9af9788b6960361f9
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:22:37 2009 +0200
s3:dbwrap: don't leak in dbwrap_change_uint32_atomic()
Michael
commit aa4e5a32a7ee3e71fc0b69ad7e8bd44b57c9273d
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:21:03 2009 +0200
s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32.
Michael
commit ded0ce8345b99e9d5e0cfaea7cee58648baea4b7
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 14:16:11 2009 +0200
s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.
Michael
commit d916e56c4c9dc729dc88418f75ebbbf943597476
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 13:43:29 2009 +0200
s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores.
When a mapping is not found, then the idmap script is called (if defined).
When this gives a reply for the desired sid, this reply is stored in the db.
This patch wraps theses two store operations into a transaction by re-using
the idmap_tdb2_set_mapping_action() function previously defined
for idmap_tdb2_set_mapping().
Michael
commit a9bea871c963710fe06822dad56aa31029b59a1a
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 29 13:36:18 2009 +0200
s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores.
When a mapping is not found, then the idmap script is called (if defined).
When this gives a reply for the desired id, this reply is stored in the db.
This patch wraps theses two store operations into a transaction by re-using
the idmap_tdb2_set_mapping_action() function previously defined
for idmap_tdb2_set_mapping().
Michael
commit 9e20e178b3500fe4a32f4b4b1651a3514484fd28
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 28 16:53:37 2009 +0200
s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id()
Michael
commit ab7a7be5d4b48dc502e2265bf8bccf544a892145
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 28 13:31:09 2009 +0200
s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping()
Michael
commit 94a139afe5d607b09753eec36127e5b682978c5a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 30 14:26:32 2009 +0200
shadow_copy2: The system getrealfilename() can't deal with a 0-length fname
This fixes viewing the content of snapshots in the share root directory. We
have to treat the filename that *just* consists of "@GMT-YYYY.MM.DD-HH.MM.SS"
like the share root, which is the current working directory.
commit d8543da9dad3286cd330b98374405edb9f976e77
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 29 04:30:52 2009 -0400
Fix unqualified "net join"
Kai, please check!
Thanks,
Volker
commit 2d0cd3e53ad59f3fe4a42a3158fc85f37e6d6560
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 28 18:02:10 2009 -0700
(Hopefully) fix the problem Kai reported with
net ads leave and IPv6. Ensure all DC lookups
prefer IPv4.
Jeremy.
commit 285edf6a5986eb3a1f831f4b260afda0bb14c51e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jul 29 09:29:50 2009 +1000
s4:samba3sam Remove extra newlines that broke samba3sam test
The python ldif parser was changed to be stricter (perhaps too
strict), and the extra newlines broke it.
The problem was masked earlier because errors parsing the LDIF were
considered to be 'end of file', and so no error was raised.
Andrew Bartlett
commit 113621d96dbd2e558146e0cc4db4ce0c2067fd58
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jul 29 09:07:49 2009 +1000
s4:provision We no longer add krbtgt or kpasswd account into secrets.ldb
commit d793beed56823f3bbcef6bdea2c455e3171af870
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 28 17:17:07 2009 -0400
Remove a duplicate prototype
commit 5d05d2299983b5d34615cd269b04806bba173c0d
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 28 11:51:58 2009 -0700
Added prefer_ipv4 bool parameter to resolve_name().
W2K3 DC's can have IPv6 addresses but won't serve
krb5/ldap or cldap on those addresses. Make sure when
we're asking for DC's we prefer IPv4.
If you have an IPv6-only network this prioritizing code
will be a no-op. And if you have a mixed network then you
need to prioritize IPv4 due to W2K3 DC's.
Jeremy.
commit 571f20cd4db48c8d510e10b7188678d585abb2d1
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jul 28 13:22:35 2009 +0200
release-scripts: Remove RFCs in source4/.
Remove RFCs as they are non-free content (with a strict interpretation of
the DFSG). Addresse Debian bug #538034.
Karolin
commit c6d7f3bdb541eaa2734723d644edae9fae89e1da
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Tue Jul 28 18:24:27 2009 +1000
pidl: import a patch to pidl made in the wireshark reporitory.
Original commit message in wireshark SVN (rev 28961):
====
From Kovarththanan Rajaratnam:
More "Cleanup header_field_info definitions"
====
Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 7204ea422bcffa0a7d26eb34c7adf9fc3a7e714c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 28 08:17:25 2009 +0200
s4:gensec/spnego: only generate the mechListMic when the server expects it
This fixes the ntvfs.cifs tests.
metze
commit 4e049b0a1c95d896280944588df130a5f5e7563f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 28 18:00:13 2009 +1000
Fix compile of py_net.c
commit 058cd95c88f693a42bb1c4f620b62346a3f0f08d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 28 16:01:31 2009 +1000
s4:libnet Add in a 'credentials' parameter for python libnet_Join
commit bfda910a20cb93e3db458456c75feb9d4cad2607
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 28 10:55:28 2009 +1000
s4:tls Enable GnuTLS back to version 1.4 (an into the future)
We think we have the bug fixed.
Andrew Bartlett
commit 8ff1f50b0c47f7ff92d557ef4caf64a44b387ab4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 28 14:05:19 2009 +1000
s4:kerberos Add support for user principal names in certificates
This extends the PKINIT code in Heimdal to ask the HDB layer if the
User Principal Name name in the certificate is an alias (perhaps just
by case change) of the name given in the AS-REQ. (This was a TODO in
the Heimdal KDC)
The testsuite is extended to test this behaviour, and the other PKINIT
certficate (using the standard method to specify a principal name in a
certificate) is updated to use a Administrator (not administrator).
(This fixes the kinit test).
Andrew Bartlett
commit 47a7a2e442c7e006eca8188c6a01707d85c4e61c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 22:04:26 2009 +1000
s4:kerberos Add 'net export keytab' command for wireshark decryption
It is much easier to do decryption with wireshark when the keytab is
available for every host in the domain. Running 'net export keytab
<keytab name>' will export the current (as pointed to by the supplied
smb.conf) local Samba4 doamin.
(This uses Heimdal's 'hdb' keytab and then the existing hdb-samba4,
and so has a good chance of keeping working in the long term).
Andrew Bartlett
commit 9297b975f58a6c8a8609e05d0bed7b4846a2be32
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 27 12:09:40 2009 -0700
Fix the build breakage by #including modules/vfs_acl_common.c
into acl_tdb and acl_xattr. Duplicates the code size, but keeps
the code in common so I don't have to do bug fixes in two places
(which is what I really cared about).
Jeremy.
commit 67d9130c134e885c17242596aacd2f265737d805
Author: Kai Blin <kai at samba.org>
Date: Mon Jul 27 17:37:22 2009 +0200
s3: net ads user info should print primary group as well (bug #2658)
Thanks to Pavel V. Rochnyack <rpv at muma.tusur.ru> for reporting this and
offering an initial patch.
commit a869e4253a87f9a5e13dbe87b2799f8683d238d7
Author: Shirish Pargaonkar <shirishpargaonkar at gmail.com>
Date: Mon Jul 27 12:02:35 2009 -0400
umount.cifs: do not attempt to update /etc/mtab if it is symbolic link
If /etc/mtab is a symbolic link to e.g. /proc/mounts, do not update it.
This is a fix for a bug reported in 4675 on samba bugzilla
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar at gmail.com>
commit b676e63a520e644e2737b55a61244fa8df9a10dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 16:03:03 2009 +0200
frstrans.idl: add definition of frstrans_InitializeFileTransferAsync()
metze
commit 826e6a83a000156cbdbacdd2fc1fdf4c4dceac5e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 16:02:09 2009 +0200
frstrans.idl: add definition of frstrans_AsyncPoll()
metze
commit 3142f76e2d181e6a3d51d5a7b9efc28f2742b911
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 16:01:11 2009 +0200
frstrans.idl: add definition of frstrans_RequestVersionVector()
metze
commit 2a797731a009b2a1c908b3075791f87c41d528ad
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 16:00:00 2009 +0200
frstrans.idl: add definition of frstrans_RequestUpdates()
metze
commit a2d0c6cec81d86722589b3afd0ab186989260869
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 15:57:32 2009 +0200
frstrans.idl: add definition of frstrans_EstablishSession
metze
commit e31a92c44e5275ea971c052e2909a9c3ae81123a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 15:56:13 2009 +0200
frstrans.idl: add definition of frstrans_EstablishConnection()
metze
commit 8860a03671adc9cb35ddffd147960b2f2dc4bd3b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 15:55:37 2009 +0200
frstrans.idl: add definition of frstrans_CheckConnectivity()
metze
commit f167c977d12e88fce3ac15a25c24ca5d1157a883
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 17:35:54 2009 +0200
librpc: rerun "make idl_full"
metze
commit 92791ce9a8439ac06a22afdbeb0d0fc66c32cb31
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 17:34:37 2009 +0200
pidl: allow foo being on the wire after [length_is(foo)] uint8 *buffer
metze
commit 7ccc9a6ef563cc855752b4e74152420b9be5af43
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 15:52:16 2009 +0200
pidl: add support for [string] on fixed size arrays.
midl also supports this:
struct {
long l1;
[string] wchar_t str[16];
long l2;
};
Where the wire size of str is encoded like a length_is() header:
4-byte offset == 0;
4-byte array length;
The strings are zero terminated.
metze
commit b7c003c09c06ef5a23beb0928affaba75f65587c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 27 17:25:12 2009 +0200
Revert "s4:kerberos Add 'net export keytab' command for wireshark decryption"
This reverts commit a40ce5d0d9d06f592a8885162bbaf644006b9f0f.
This breaks the build...
Andrew, please repush it, when it's fixed:-)
metze
commit 3532882d02ff30c1ea47dd433715246351297e4e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 27 14:28:52 2009 +0200
Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndr
commit 5135ebd6f099518f0a0b5796e8057210be824740
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 27 14:47:41 2009 +0200
Fix a valgrind error in chain_reply
construct_reply() references the request after chain_reply has freed it.
commit d3132e21f3c93043e3d29584f4094b6edfc02c5a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 26 20:56:58 2009 +0200
Fix a typo
commit e30509f037098feac8345f39524902061712039f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 26 20:20:50 2009 +0200
Fix a valgrind error in winbind
When looking for idle clients, we dereferenced state->response. As this is
dynamically allocated now, the proper test is whether state->response exists at
all. This is the case when an async operation is in process at that moment.
commit cdd7a5208fbcb65e4a75ee08f8f015530f418c15
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 22:39:10 2009 +1000
s4:kerberos Add test to show that we actually export the keytab
While it is hard to prove it is correct, at least the new
'nettestuser' principal and the Administrator principal are correct.
We had to fix the case of 'Administrator' in the selftest code to
match the DB, as the keytab lookup is case sensitive.
Andrew Bartlett
commit a40ce5d0d9d06f592a8885162bbaf644006b9f0f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 22:04:26 2009 +1000
s4:kerberos Add 'net export keytab' command for wireshark decryption
It is much easier to do decryption with wireshark when the keytab is
available for every host in the domain. Running 'net export keytab
<keytab name>' will export the current (as pointed to by the supplied
smb.conf) local Samba4 doamin.
(This uses Heimdal's 'hdb' keytab and then the existing hdb-samba4,
and so has a good chance of keeping working in the long term).
Andrew Bartlett
commit 56f4516399431cc508ca0c3e0dd7f179cc7ab62c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 16:09:25 2009 +1000
s4:kdc Push context to hdb_samba4 by way of the 'name' of the DB
This overloads the 'name' part of the keytab name to supply a context
pointer, and so avoids 3 global variables!
To do this, we had to stop putting the entry for kpasswd into the
secrets.ldb. (I don't consider this a big loss, and any entry left
there by an upgrade will be harmless).
Andrew Bartlett
commit b50ab318c1c66aaffd68c01b19140d0221c3e9c1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 16:07:04 2009 +1000
s4:setup add 'cn' attribute to Samba4 local schema
(We recently made the ms_schema.py script also add this attribute)
commit 0c2dca71fad1cb20bda2cc9bd5446735fc199759
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 13:50:50 2009 +1000
s4:heimdal Extend the 'hdb as a keytab' code
This extends the hdb_keytab code to allow enumeration of all the keys.
The plan is to allow ktutil's copy command to copy from Samba4's
hdb_samba4 into a file-based keytab used in wireshark.
One day, with a few more hacks, we might even make this a loadable
module that can be used directly...
Andrew Bartlett
commit afb6ac247be9fa2e5e34dcf69e6b5ba557e19892
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 27 13:48:45 2009 +1000
s4:kdc Tidy up hdb_samba4 some more
This removes the last use of the prefix hdb_ldb and makes it clear
that we pass in 3 global variables to get state information into
hdb_samba4 when used as a keytab. (And that they belong to
hdb_samba4, not to the KDC)
Andrew Bartlett
commit 34c535c9a8d08a480e156aaa9e4b843ffaab0636
Author: Michael Adam <obnox at samba.org>
Date: Mon Jul 27 13:33:38 2009 +0200
docs: fix typos in the net man page.
Noted by Oota Toshiya <t-oota at dh.jp.nec.com> .
Michael
commit d3f21d0a1fdfa382a1d2fde0a41a74043531dd12
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 26 17:20:54 2009 -0400
Fix some nonempty blank lines
commit e8abc36d2a8c611ecfefa9ef8e798cf2b072a432
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 27 12:36:31 2009 +0200
Fix a valgrind error in cli_ctemp_done
For performance reasons cli_smb_recv does not make copies of the buffers we
received from the client, so both "vwv" and "bytes" vanish with
TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in
this case it's justified not to make copies.
Comments?
commit fb03bbfa09c9df01c349f19a28c05f9bfd1cf4dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 26 22:04:59 2009 +0200
Fix valgrind errors in DeleteDomainGroup and DeleteDomAlias
commit 1a6aaee0507fbcd3abc2bdaad55cf5c4a6ff0e05
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 26 15:38:10 2009 +0200
Fix a valgrind error in _samr_DeleteUser
The close_handle invalidates uinfo
commit df0731d6e99aa85687b8cc54ed18e4f89c9b741c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 25 13:21:57 2009 -0400
Fix a 32/64bit stack corruption bug
commit b9756de20aab4008c7aa69a0ea54a310426854fc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 25 13:11:08 2009 -0400
Cleanup patch after "new VFS"
commit db5d3465ab8c7410e2b4ff7bbdbd108cea302c83
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 25 13:10:55 2009 -0400
Cleanup patch after "struct stat_ex"
commit 9ca44867b0c71ac60aedc65a2dc3886629df563c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 25 12:57:46 2009 -0400
Remove a pointless static fstring
commit 7c768ddab6c0fb2868c4464fcb760994792dd898
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 25 12:56:06 2009 -0400
No explicit initialization necessary for a zero blob
commit 4c6547e8a1f872e5bc1e132ec4ccc6f634166932
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 19:47:39 2009 -0400
Move 16 bytes from data to r/o text segment
commit 8cba97a16459eb1b1dc18c85e542ca571490ec5f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 19:03:45 2009 -0400
Fix a winbind memleak
commit 6b167ae53b1774950d76a15ba92d9f24e59bc565
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 14:58:36 2009 -0400
Use a switch statement in charset_name()
commit ddcfdd8ecf3c8c1fa391140715ae6b4038ef10ad
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 13:28:48 2009 -0400
Fix some nonempty blank lines
commit 261ae2eb112e53d5d82b5f53d2a23e12b2d96945
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 25 12:33:11 2009 -0400
First patch for "new VFS" portability
commit f49f3fcb0127b6ed19fec94f93658180ead04ac5
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 24 18:38:40 2009 -0700
s3: Convert a few callers of unix_convert() over to filename_convert()
This patch also changes the unix convert flags to make sure the
correct semantics are preservered for allowing/disallowing wildcards
in the last component of the path.
commit 7197ba3abd6dfad74a28d5e3f8a73367ab22810b
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 24 16:05:44 2009 -0700
s3: Remove a few callers of get_full_smb_filename()
commit 247a77a422192d7f270952334f06a512fcd339aa
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 24 17:09:42 2009 -0700
s3 onefs: Fix the onefs modules after the big refactoring
commit ff547a23ae464475fa9a6f0c9b8a5d1d721dde64
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 24 17:06:41 2009 -0700
Factor out common code into vfs_acl_common.c.
Jeremy.
commit cd5133b1127579fa47152e4c38f4a6534bdf37c7
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 24 11:39:56 2009 -0700
s3: Simplify rename_internals() by passing in smb_filename structs
commit 10324b177ed2c5de07039f035905b8272f51fbf7
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 24 12:13:07 2009 -0700
s3: Allow filename_convert() to pass through unix_convert_flags and let the caller know if the path has a wildcard
This also eliminates the need for resolve_dfspath().
commit c472bca42c587d46bd9d11a1c02fe53808cee08e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 24 14:47:52 2009 -0700
Make acl_tdb match acl_xattr. Large duplication of
code here needs tidying up. Compiles but not yet tested.
Jeremy.
commit d373f0b77ca53e3c5282a9a643897dfb477ada21
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 24 14:13:42 2009 -0700
For some strange reason using :
uint8 hash[XATTR_SD_HASH_SIZE];
doesn't have the same effect as :
uint8 hash[64];
Jeremy.
commit 1bab4fdaafd5930a02ae5a0d603176720ef15220
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 24 14:09:42 2009 -0700
Fix hash function in acl_xattr to be SHA256, make
the hash function selectable. Upgrade version.
Compiles but not fully tested yet (coming). Make
vfs_acl_tdb.c compile - this needs updating to
match acl_xattr (also coming soon).
Jeremy.
commit 6b801d6c4cdaaf47191b7051c81cf9498acd64f1
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 13:21:45 2009 -0400
add my copyright after the VFS rewrite
commit d2403dc231806cc8f5fc96274457d42f4b796ca7
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 10:43:02 2009 -0400
Move the "enum _vfs_op_type" to full_audit
It's only used there now. Someone should now go in and simplify full_audit...
:-)
commit 033185e2a1b2892fe8dc74a18a38e5e13e08cb22
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 23 20:28:58 2009 -0400
Make the smbd VFS typesafe
commit be5cf236968658263b0be5e1e4742741c70f65f8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 19 14:53:11 2009 -0400
Fix the chain2 test
commit c116652a3050a8549b722ae8ab5f9a2bf9a33b9f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 19 14:52:07 2009 -0400
In chain_reply, copy the subrequests' error to the main request
commit 79fd60dd3872f136528821d1c755f55fa60b3450
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 24 10:21:07 2009 -0400
Fix a few uninitialized variable warnings
I know those warnings are bogus, but both Coverity and gcc don't get it.
commit 210181de7503966ea9fbfdbe2c030ab7b04b973c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 24 09:37:12 2009 +0200
s4:gensec_gssapi: pass the correct oid to the gssapi layer.
metze
commit c00e4040bcbe18b76f8147bb124409d079bdb8c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 24 09:33:06 2009 +0200
s4:gensec/spengo: make sure we send the blob with the micListMech signature to the peer
We should even do this if the submech has no more data to send.
metze
commit 68028a73b6fd2bce66eabea5dd8a4187a6df6729
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 18 21:29:15 2009 -0400
Some more VFS type errors
commit 4b76f279d10489c03290a331478d40ddea1ef729
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 18 18:27:28 2009 +0200
Fix some nonempty blank lines
commit 19245509fc30239f408b726c8c8223c549f2718c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 18 21:28:54 2009 -0400
Fix some C++ warnings
commit d005e4dabb396607d959ece8da3c649797d59d44
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 23 17:54:02 2009 +0200
s4:ldb: add support for the new Recycle Bin Feature LDAP controls
LDB_CONTROL_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064
LDB_CONTROL_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065
metze
commit c4274e348047a66488a8b8d67ec88df0a06e1e64
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 23 17:52:23 2009 +0200
s4:libcli/ldap: add support for new Recycle Bin Feature LDAP Controls
LDAP_SERVER_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064
LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065
metze
commit 6c99345dd34c75b74822e0920d153c2477a294e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 23 13:02:56 2009 +0200
frsrpc.idl: add definition of frsrpc_FrsNOP()
metze
commit 9e154b6b35e7e157d011b5b31d9ec8e280f006ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 23 13:01:42 2009 +0200
frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent()
metze
commit 9b18c5475e31507bb27e26e9f34142ead9dae349
Author: John H Terpstra <jht at samba.org>
Date: Thu Jul 23 09:50:04 2009 -0500
Fix typos reported by OPC Oota.
commit 94717ae8e5dfe2ccdb7f3557d5490708b00ae471
Merge: 14952c72a29ec92badb1bcf16d2a15fe100f060d 7bad4b48c82fed4263c2bfe97a4d00b47913604a
Author: John H Terpstra <jht at samba.org>
Date: Thu Jul 23 09:33:06 2009 -0500
Merge branch 'master' of ssh://jht@git.samba.org/data/git/samba
commit 7bad4b48c82fed4263c2bfe97a4d00b47913604a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jul 22 20:15:58 2009 +0200
[SAMBA 4 / NETLOGON] Modify type of SAM contexts
In the SAMBA 4 DCE/RPC NETLOGON server the SAM context references have generally
the type "void *". But we know that those context objects are based on the "struct
ldb_context" type. We've always to cast for using a SAM/LDB call.
This I didn't find very appealing and so I assigned the right (detailed) type to each "sam_ctx".
Therefore, the casts could disappear.
Also this change is only cosmetic.
commit 2cc4a43d0e204acebb9b23fd0abbdb8e7e876128
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 22 10:55:39 2009 +0200
frstrans.idl: add new DFS-R FrsTransport interface with dummy functions
metze
commit 109b9dcad9b3fbb8a3289cd73471a5881cbd40a6
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 22 15:48:32 2009 +0200
frsrpc.idl: add definition for frsrpc_FrsStartPromotionParent()
metze
commit 07d3b69b55c37f26ba6fa8b0c1c59e800325b435
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 22 09:52:09 2009 -0700
s3: Change unix_convert to use an smb_filename struct internally
This allows SMB_VFS_[L]STAT to be called directly. Additionally, I
changed NTSTATUS result to be named status for consistency.
I also removed the stat_cache_add() from build_stream_path() because
stat_cache_lookup() is never actually called on a file with a stream.
There is no reason why the stat cache couldn't be consulted for
streams in the future.
Jeremy/Volker, please take a look at this one when you get a chance.
commit 83284e13f91f685b8dcccb9202e33fe64e6930b2
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 15:55:25 2009 -0700
s3: Convert some callers of vfs_lstat_smb_fname to SMB_VFS_LSTAT()
commit 4b42927ec31a0819b1e5ec415fd1a16061cff677
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 13:57:56 2009 -0700
s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()
commit 84eced142551a1986ba727d4c57aed1296ac87b4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 22 11:05:21 2009 +0200
librpc: fix the merged build of ndr_frsrpc.c
metze
commit 8f5ef1063354b4ce32dfc9122e8221e2fea88890
Author: Kai Blin <kai at samba.org>
Date: Sun Jul 5 09:21:07 2009 +0200
Revert "net: Use samba default command line arguments."
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041
and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc
72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and
38cd0e086f50ce54d88a19aa5a6803469af90489
This change caused more trouble than it solved. We need to do this differently.
Reverting so we don't accidently release this.
commit 1887ad0a26cca026c3503f0ef4e40f8eff42a121
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jul 22 18:04:58 2009 +1000
s4:provision Fix provision on FreeBSD
We were missing the 'cn' attribute, which we then prepare a sorted
list based on. On Linux, strcmp(NULL, NULL) does not segfault, where
it does on FreeBSD.
Reported by Timur I. Bakeyev <timur at com.bat.ru>
Andrew Bartlett
commit 605649edc3d3ce4f760b08fd8ee5684007369be8
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 11:37:51 2009 -0700
s3: plumb smb_filename through some of the trans2 posix_* functions
commit 23c703a01eddfa9103352e0ad43bc9fe39ea0c27
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 11:35:17 2009 -0700
s3: Remove unnecessary callers of get_full_smb_filename
This often times means explicitly denying certain operations on a stream
as they are not supported or don't make sense at a particular level. At
some point in the future these can be enabled, but for now it's better to
remove ambiguity
commit 00e267008defe18475115a4300addf3cbcabff5a
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 10:28:28 2009 -0700
s3: Remove the now unused fname parameter from filename_convert()
commit 4860fc4951a7dbd80d8938f4dba49c42a12b4d00
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 10:19:00 2009 -0700
s3: Fix RENAME_FLAG_RENAME path to stop calling unix_convert twice
commit 78ce9dd471568773760292ea18478af51c11d71a
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 10:18:10 2009 -0700
s3: Remove unnecessary fname argument from callers of filename_convert
commit 6b49f28592af5c998642bd5d5f76b77c79a22cd7
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 21 09:29:59 2009 -0700
s3: Plumb smb_filename through map_open_params_to_ntcreate
commit 424e7636957f07c044ee24a9bbf650b02291939b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 21 16:48:06 2009 +0200
frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure
and use hand modified ndr_push/pull functions to let it not appear
on the wire.
metze
commit 9d148f75c712d4cf6863f8eb1256f806eac8d38b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 21 16:05:44 2009 +0200
frsrpc.idl: almost complete the idl for the frsrpc_FrsSendCommPkt() function
TODO: The amount of chunks is dynamic, we need to fix that
metze
commit b91156d4ae8f1b0e60a4cdacd1aa34b110b6451a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 21 16:04:35 2009 +0200
frsapi.idl: fill the frsapi_WriterCommand() function
metze
commit 143625661300e7ee52e969bc3790e50a0016b88b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 21 16:04:07 2009 +0200
frsapi.idl: fix some unknown field names
metze
commit 8b6ec5b82cbc66cf8efd9d0713e36aac63c8c49e
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Tue Jul 21 13:56:17 2009 +0200
do not log chdir with level 0 if reason is access denied
this changes the level of logs caused by users trying to access shares
or subdirectories for which they do not have access to in the ACL
this can fill up the samba log even with log level 0 and is more an
expected kind of logs that IMHO should not be logged with such a high
level.
All other errors while chdir() will still be logged with level 0
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 319a97bce9f77161e62de9f86ddbec58629238cb
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 21 12:35:48 2009 +0200
s3:dbwrap: use the transaction wrapper in dbwrap_trans_store().
Now dbwrap_util.c contains only one call to each of
transaction_start, transaction_commit and transaction_cancel.
Michael
commit d5efb38151dea179af920a1a279d974a47b6bfd6
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 21 12:26:14 2009 +0200
s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete().
Michael
commit 760104188d0d2ed96ec4a70138e6d0bf86d797ed
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Tue Jul 21 16:23:35 2009 +0930
tdb: fix locking error
54a51839ea65aa788b18fce8de0ae4f9ba63e4e7 "Make tdb transaction lock
recursive (samba version)" was broken: I "cleaned it up" and prevented
it from ever unlocking.
To see the problem:
$ bin/tdbtorture -s 1248142523
tdb_brlock failed (fd=3) at offset 8 rw_type=1 lck_type=14 len=1
tdb_transaction_lock: failed to get transaction lock
tdb_transaction_start failed: Resource deadlock avoided
My testcase relied on the *count* being correct, which it was. Fixing that
now.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Michael Adam <obnox at samba.org>
commit 8e04c69e027260e7e1f0a4cf3e58e31ed4084d8b
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jul 20 14:32:32 2009 -0700
s3: Add some asserts to the filename util functions
In the smb_filename struct stream_name must equal NULL if there
is no stream name. These asserts should catch any future offenders
of this invariant early.
commit f4530f6d2a0688e350c3c7be23f256ebceffa636
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 15:43:21 2009 -0700
s3: Plumb smb_filename through open_fake_file
commit 841efce8b5e931a7ec910afb7d0d8b6a123c6900
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 15:35:08 2009 -0700
s3: Separate out a new file: filename_utils.c
This is to ease the linking pain of everything that links LOCKING_OBJ
commit 82c3f505fe2e50022b5102e6388dc3b830d235da
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 15:10:35 2009 -0700
s3: Move is_ntfs_stream*() to filename.c
commit c9b8a017147211d86662f40dcf835b152ab90cf4
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 18:11:32 2009 -0700
s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.
commit 5a8d70d465f28ae02f4df7a3c2905e028c2e3142
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 14:50:37 2009 -0700
s3: Change fsp->fsp_name to be an smb_filename struct!
commit 635e5e7ff038378d28c52bd5f81d24db99a77a76
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 11:50:30 2009 -0700
s3 onefs oplocks: Replace static fstring with talloc'd dbg_ctx()
commit 12a5db45e2814b6992210d8f30908ab3e8b6bc65
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 10:38:56 2009 -0700
s3: Change file_structs to be allocated with talloc instead of malloc
commit 04c3dfde0f0bc12daf0922a0fe578e3bde587fc8
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jul 20 15:37:18 2009 -0700
lib util: Fix const warning
commit 93570491712bf42b5c8dba825e7d2a40e71c0378
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 20 15:15:08 2009 -0700
Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....
Jeremy.
commit 54a51839ea65aa788b18fce8de0ae4f9ba63e4e7
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Sat Jul 18 15:28:58 2009 +0930
Make tdb transaction lock recursive (samba version)
This patch replaces 6ed27edbcd3ba1893636a8072c8d7a621437daf7 and
1a416ff13ca7786f2e8d24c66addf00883e9cb12, which fixed the bug where traversals
inside transactions would release the transaction lock early.
This solution is more general, and solves the more minor symptom that nested
traversals would also release the transaction lock early. (It was also suggestd in
Volker's comment in 6ed27ed).
This patch also applies to ctdb, if the traverse.c part is removed (ctdb's tdb
code never received the previous two fixes).
Tested using the testsuite from ccan (adapted to the samba code). Thanks to
Michael Adam for feedback.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
Signed-off-by: Michael Adam <obnox at samba.org>
commit c80783eafd28bb3d749761cbbed80423c908d247
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jul 20 10:25:25 2009 +0200
Re-add accidently removed shares test.
commit 09135ee5a09a8b6aabf88c1bdf9280065c8b35e7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jul 18 10:15:55 2009 +1000
s4:kdc Add in a simple check for constrained delegation to self
To do this properly, we must use the PAC, but for now this is enough
to check that we are delegating to another name on the same host
(which must be safe).
(Windows 7 does this a lot, also noted in bug 6273)
Andrew Bartlett
commit 2fc5331e5c23e3f448b53fa7838e478772d0caed
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jul 10 12:48:18 2009 +0200
[SAMBA 4 directory] Refactoring and clean up of directory structure
- Adds more system objects which make sense to have them in SAMBA 4 also to
have them when we add more and more services related to the directory (volume
support, DFS, replication service, COM...)
- Make sure that "isCriticalSystemObject" and "showInAdvancedViewOnly" attributes
are set correctly on each object
commit 7889823783625e16e273770f73f285920828e411
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 21:12:56 2009 +0200
pidl: Print actual type names in errors about unknown origins rather than 'HASH(0x....)'.
commit 54a2f51d57a24104f1facff2674b4d441cdfde48
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 20:42:52 2009 +0200
pidl: Print proper errors when arrays don't have a specified size rather than spewing pages of perl warnings.
commit 54670bb400f2f8c05d8331dbf17831354600e186
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 18:58:22 2009 +0200
Remove unused parameter setting.
commit 478446f96dae1f42312b72fda4210f1300023e57
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 18:51:15 2009 +0200
Remove unnecessary imports.
commit 8557d14f65212faceb3e7223818b34b8869a0470
Merge: 7a765b65b739c38ea1e3cfc136c92d2fb5ed4fa7 4447bd96b90ce4bfca793d482f9dcbd98e6579a5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 17:39:23 2009 +0200
Merge branch 'master' of git://git.samba.org/samba
commit 4447bd96b90ce4bfca793d482f9dcbd98e6579a5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 17:18:04 2009 +0200
Include ntsvc NDR in libndr-standard.
commit de2a9fb60704eda5ba22e5d3b14111628acef2e8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 17:17:23 2009 +0200
Remove unused variable.
commit 11fa3ed9ee1a05aabdba902db9899dfeb664b324
Author: Slava Semushin <php-coder at altlinux.ru>
Date: Sat Jul 18 23:30:33 2009 +0700
source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak.
File descriptor leaks when write(2) fails and we are returning from
function.
Found by cppcheck:
[./source4/lib/registry/patchfile.c:319]: (error) Resource leak: fd
commit 5f8df164716a43bd9e6c22dfd1f066bf96ccf273
Author: Slava Semushin <php-coder at altlinux.ru>
Date: Sat Jul 18 16:28:53 2009 +0700
lib/util/util_file.c(file_save): fixed file descriptor leak when read(2) fails.
Found by cppcheck:
[./lib/util/util_file.c:383]: (error) Resource leak: fd
commit a817cff5a0f17c6a8b35013483a18c70acdfaa1c
Author: Matthieu Patou <mat+Informatique.Samba at matws.net>
Date: Sat Jul 11 15:57:35 2009 +0200
Fix broken password quality check
This fixes broken password tests when the passwords contain non ASCII characters
(e.g. accentuated chars like ('e, `e, ...)
commit 295c3724a30013c572d3a3fdd3a8acc6ed19c546
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jul 15 13:25:04 2009 +0200
Fix typo
commit cb53b780803bc9a6dc02b16a64abe408727f69b4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jul 17 18:13:28 2009 +0200
[SAMBA 4] Some cosmetic changes for the LDB modules
Some corrections which make the code a bit more readable (no functional changes here)
commit dbedfc318e2984238ee0acdb19a1a70fda8f4381
Author: Matt Kraai <mkraai at beckman.com>
Date: Thu Jul 9 09:45:28 2009 -0700
include unix.h if it's available
commit 5b4cb31ef1359d8c39dbffc028abb68652cc2186
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Jul 9 17:54:42 2009 +0200
Cosmetic correction
Changes the order of two commands. First set up the "priv" structure, then
assign it to the "ntvfs" structure.
commit de04e00ec2bf823f90a464416e88231e97f8df59
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 15:39:52 2009 +0200
Merge more ndr interfaces into libndr-standard.
commit 63a6ca084d55db95abea7abffdbe27b55f2b002f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 13:41:04 2009 +0200
librpc: Integrate some subsystems now part of libndr-standard and integrate ndr_dfs in libndr-standard.
commit 28d155499a19943fca3624c814bc13e53d7c71be
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 13:39:38 2009 +0200
Add missing includes.
commit 7a765b65b739c38ea1e3cfc136c92d2fb5ed4fa7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 13:19:54 2009 +0200
provision: Remove unused imports.
commit d8ce8f9b61cdd18d65a27623a537fbcbdf547a59
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 12:41:09 2009 +0200
Create libndr-standard, which includes the NDR marshalling code for
the "standard" set of DCE/RPC interfaces found on Windows.
commit 04c1d02021b2e1b38d78d539655989c724f13d17
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 12:15:59 2009 +0200
Remove unnecessary include, update README.
commit 5bf6203bc2cb63860c616556e14e2dbb07277db6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jul 19 12:10:47 2009 +0200
Remove outdated status file about samba3 -> samba4 upgrade project.
commit ce378e7c51913c1b110e62dc35c205d8d2fad58a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 19 02:32:44 2009 +0200
Fix a few type errors in VFS modules
commit 27087e6a878aa216d73ea629535be49fca10315f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jul 18 20:04:11 2009 +0200
VFS examples: Update copy of config.{guess,sub}.
commit 7883897b8d4e5993e636d3cde8bad509ee272fcb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jul 18 18:39:20 2009 +0200
python: Set right ldb modules directory when using system ldb.
commit d884fcf9a0e52c6ea6707c57c30f0e3dfea9a345
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jul 18 18:28:57 2009 +0200
Actually fill in ldb modules directory.
commit d356669492912ad97d031694123b628a9307c3bd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jul 18 16:11:21 2009 +0200
Remove pyldb_util and simply duplicate the 5-line function it contains,
rather than creating a separate shared library for it.
commit 8c5aff207d25764dd457050c2e5975b4b42c917f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jul 18 10:37:59 2009 +0200
ldb: Display SHLD_FLAGS when building.
commit 0259a303f4cd69b2db0b059335421f8d0dbc74f5
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 21:50:33 2009 -0700
Fix Coverity CIDs 887, 888. Don't pass NULL's to functions
that deref them.
Jeremy.
commit 0bd13fda76d8cb4f345411b847d5be233e12bcc0
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 21:40:23 2009 -0700
Fix Coverity CID 928. Removed check as this can never be null.
Jeremy.
commit 3036a9c7c12d382b925a1f0e2d6265a3817bd3c4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 21:36:55 2009 -0700
Fix Coverity CID 929. Potential NULL deref after code refactoring.
Jeremy.
commit d654782806af37ba0d249f695ebecaad2a6ad3a7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 21:29:28 2009 -0700
Fix coverity CID 930. Pointer check can never be null here.
Jeremy
commit 7254898bc760984357f068926cb4504c154d5cae
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 21:26:16 2009 -0700
Fix coverity CID 931. This check is redundent as smb_fname can
never be null in this function.
Jeremy.
commit eba2eb45e208e6b3091c01ff1d40fd966e72a044
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 18:05:10 2009 -0700
Fix a typo reading uninitialized memory. Caught by valgrind.
Jeremy.
commit 55b4231c773ef17b8e628f33d6c3c9d5335df9da
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 17:57:48 2009 -0700
Move the initialization of smbd_server_conn from smbd/process,
after the accept and fork, to smbd_init_globals(), so it's
done immediately on server startup. This is needed as some
messages are sent to all active smbd processes (including
the master listening daemon). If it gets a message that
forces it to scan it's current connections (ie. conn_find())
then it discovers that sconn->smb1.tcons.Connections dereferences
null (as sconn == NULL in the parent) and crashes. Yes,
I could fix all cases where sconn is used and explicitly
check for NULL but this fix is easier. It means that
the smbd_event_context() is initialized in the master
daemon and then re-initialized after fork, but that
should be being done correctly in every fork call anyway.
Without this change the previous fix 6a9e0039100b57f9626e87defec6720c476b9789
still panics in the reproducible test case for bug
6564, as this is one case where such a message
(MSG_SMB_CONF_UPDATED) is sent to the parent. Metze
please check. This change passes valgrind.
Jeremy.
commit 6a9e0039100b57f9626e87defec6720c476b9789
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 17 17:36:26 2009 -0700
Fix bug #6564 - SetPrinter fails (panics) as non root.
Missing become_root()/unbecome_root() around reload_services.
Jeremy.
commit 33251da8611ddc98c3ae73d62601218e5b784e63
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 17 22:40:24 2009 +0200
3.4 is released...
commit 3b44c0c21ee150c1bb13dcfcdbdf25f0479cc400
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 17:16:44 2009 +0200
s4-spoolss: fix the build after OsVersion changes.
Guenther
commit 1a7a8d43308e73d6136ba96e07b10519b4713306
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 16:47:48 2009 +0200
spoolss: fill in some unknowns in spoolss_OSVersion and spoolss_OSVersionEx.
Guenther
commit f394fa7766d394f30d35da4191a9ec7b09693a9c
Author: Bo Yang <boyang at samba.org>
Date: Sat Jul 18 14:07:33 2009 +0800
s3: add failure check.
Signed-off-by: Bo Yang <boyang at samba.org>
commit ffbcf3b491293db92141f7936e3fefc81066e730
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 15:39:40 2009 +0200
s3-rpcclient: add createprinteric command.
Guenther
commit 11bea731aebc57a63e5fbc6bc0655b50a3815539
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 15:38:40 2009 +0200
spoolss: fill in spoolss_Create/DeletePrinterIC + rerun make samba3-idl.
Guenther
commit 3e661d4c8e1846d8f64fe029981fb7628e6211d8
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 01:05:25 2009 +0200
s3-lsa: let _lsa_Delete return NT_STATUS_NOT_SUPPORTED as w2k3 does.
Guenther
commit 2a26b2ac87b3a07a29ec1db128f42059ef2e4998
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 18:45:29 2009 +0200
s3-lsa: Fix access_mask calculation for new handle in _lsa_CreateAccount().
Guenther
commit 3eea254e5bfacdac1d7bb2b72863a31e0c850968
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 16:32:04 2009 +0200
s3-lsa: add (not yet activate) level specific access checks for _lsa_QueryInfoPolicy.
Guenther
commit 864e8097525c2f4b05e139e78dd40dea42ab2c39
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 16:28:11 2009 +0200
s3-lsa: also implement level 13 in lsa_QueryInfoPolicy.
Guenther
commit d1903cb7f2269c3eeb27ae05f734cbd8a542ee7f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 13:44:55 2009 +0200
s3-lsa: Fix policy handle memleak and handle type check in _lsa_DeleteObject().
Guenther
commit 7e9f8f0f951912943208af8cdb47c6b733b0d82c
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 13:37:08 2009 +0200
s3-rpcclient: add LSA storeprivatedata command.
Guenther
commit 27c39a280460a1ae94bd2936535263c77729af5a
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 13:30:37 2009 +0200
s3-rpcclient: add LSA retrieveprivatedata command.
Guenther
commit 7194fc6a690722e5c896ee367bcba659d131fa85
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 12:56:30 2009 +0200
s3-rpcclient: add LSA setsecret command.
Guenther
commit 1a862349e153250c7bad540f584bceea19738021
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 12:03:58 2009 +0200
s3-rpcclient: add LSA querysecret command.
Guenther
commit f848f4f4d3e3d3920ea1c6b94bb28ce7e7cdb73d
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 11:58:10 2009 +0200
s3-rpcclient: add LSA deletesecret command.
Guenther
commit dee787cb774452525fe10b13e3d5210f31dcb3eb
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 11:54:49 2009 +0200
s3-rpcclient: add LSA createsecret command.
Guenther
commit 9ac5f5c8ce6b82d26ed6efc4632e08182d2fda39
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 17 13:09:26 2009 +0200
lsa: fill in lsa_StorePrivateData and lsa_RetrievePrivateData and rerun make samba3-idl.
Guenther
commit b180fe34a71a595d0dea8e72877149361b531e02
Author: Bo Yang <boyang at samba.org>
Date: Sat Jul 18 10:46:11 2009 +0800
s3: compile warning and upn handling
Signed-off-by: Bo Yang <boyang at samba.org>
commit e7daa0d7049933e5a743f7e6db886f624490c53d
Author: Bo Yang <boyang at samba.org>
Date: Sat Jul 18 08:03:57 2009 +0800
s3: don't do this, upper callbacks will check it
Signed-off-by: Bo Yang <boyang at samba.org>
commit 20f40d1c5065d909f4274b86de20fa941fa20405
Author: Bo Yang <boyang at samba.org>
Date: Sat Jul 18 08:01:56 2009 +0800
s3: Fix crsh in net usershare list
Signed-off-by: Bo Yang <boyang at samba.org>
commit 5f295eb6f5fe60394b764a2e0bc76b77f6160664
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 16 18:28:58 2009 -0700
More conversions of NULL -> talloc_autofree_context()
so we at least know when we're using a long-lived context.
Jeremy.
commit d4a87ee966adb9205169507fca5c07faefc4513e
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 16 18:14:56 2009 -0700
Replace more long-lived contexts with talloc_autofree_context().
Jeremy.
commit d5c20c072b464b675fbd5f37a94ae8a6ad403d49
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 16 18:13:46 2009 -0700
Replace short-lived NULL talloc contexts with talloc_tos().
Jeremy.
commit 9f0bdd4e17ef5fe0b28a8ec4676d19eb4ffe6786
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 16 18:12:17 2009 -0700
Remove an unused talloc context.
Jeremy.
commit f6bed79ec6f287ac5da79151b97b6cf4776aab7a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Jul 17 08:39:51 2009 +1000
Revert "s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler version"
This is now handled correctly in the newly imported Heimdal
This reverts commit 4a754d029b0eb229b23980aa4a80dae2b485a302.
commit 6cb81f7b37d541efb54bcdca46b1e0f6bc8afef9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Jul 17 08:29:03 2009 +1000
s4:heimdal: import lorikeet-heimdal-200907162216 (commit d09910d6803aad96b52ee626327ee55b14ea0de8)
This includes in particular changes to the KDC to resolve bug 6272,
originally by Matthieu Patou <mat+Informatique.Samba at matws.net>. We
need to sort the AuthorizationData elements to put the PAC first, or
else WinXP breaks when browsed from Win2k8.
Andrew Bartlett
commit 19bc4ce95ca9b2a985313f5eb887275aa6fe3599
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 16 17:37:36 2009 +1000
s4:kdc Rework KDC to pull in less attributes for krbtgt lookups
Each attribute we request from LDB comes with a small cost, so don't
lookup any more than we must for the (very) frequent krbtgt lookup
case. Similarly, we don't need to build a PAC for a server (as a
target), so don't ask for the PAC attributes here either.
Andrew Bartlett
commit d7b31ff853ac06d5021314be698109f8487770f9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 16 12:47:57 2009 +1000
s4:kdc rename functions from LDB_ to hdb_samba4
The LDB_ prefix is misleading, and stomps on the LDB namespace. This
is a Samba4 hdb module, and not something generic.
Andrew Bartlett
commit 2e77debc99299cd0defd5c00c6b618dc753905c8
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 18:39:06 2009 +0200
Revert "fix LSA-PRIVILEGES"
This reverts commit 0d9fdbceedddb08dbea8ed84e06a218d3ec562f4.
commit 106d43a1ddf1a9ad9369bde17acede2a6071fb6c
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 18:38:55 2009 +0200
Revert "fix LSA-TRUSTED-DOMAINS"
This reverts commit 3c9b26276083002124674678ac757e859fb6b20e.
commit 8d68d04258d8a6e090d2eb27476532d63f741231
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 18:38:25 2009 +0200
s4-smbtorture: use secinfo flags instead of numbers in lsa test.
Guenther
commit 4faef0da762fc1689ae9a3bc657fc6b5e77beb94
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 18:37:19 2009 +0200
s3-lsa: Fix pointless check for sec_info flags in _lsa_QuerySecurity().
Guenther
commit 35e45fb841e0c36ec2f8b2a8d7216700cc9af691
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 18:32:53 2009 +0200
s3-lsa: implement _lsa_LookupPrivName().
Guenther
commit 3b899af422075949f3c2f0d14787c7e11a3b16df
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 02:25:43 2009 +0200
s3-lsa: implement _lsa_EnumAccountsWithUserRight().
Guenther
commit 74c405db406d0971ba4fe2abae4ebd950d27ab1c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 16 09:54:14 2009 -0700
Tidyup prompted by #6554 - Wrong deallocation in sam_account_ok.
Jeremy.
commit 4a754d029b0eb229b23980aa4a80dae2b485a302
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 16 12:21:29 2009 +0200
s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler version
Otherwise heimdal/lib/gssapi/gssapi/gssapi.h will just define it to
__attribute__ ((deprecated)) which is not supported by all compilers
we care about.
This should fix the build on Tru64
metze
commit 98aba452fbddb9f05250a7e4dc8979990759f671
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 16 12:08:56 2009 +0200
s4:heimdal_build: try to fix the build on systems without ifaddrs.h
metze
commit 39684d2cbe1c8c69dc9ca5c6e05861e24091bb83
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 16 09:06:42 2009 +0200
tevent: try to fix the build on QNX qnx18 6.4.1 it doesn't have SA_RESTART defined
metze
commit c9fe3256d87f4fcd119dc1a3c784f2196b4ad2fd
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 16 10:51:34 2009 +0200
s4:heimdal_build: tell heimdal we have inet_aton()
This should fix problems on Solaris.
metze
commit 8cac8fd5d69f332db9e50865395d11e36639904f
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 11:13:26 2009 +0200
s4-smbtorture: use torture_comment in RPC-LSA tests.
Guenther
commit 0d9fdbceedddb08dbea8ed84e06a218d3ec562f4
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 11:07:14 2009 +0200
fix LSA-PRIVILEGES
commit 3c9b26276083002124674678ac757e859fb6b20e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 11:07:06 2009 +0200
fix LSA-TRUSTED-DOMAINS
commit 47eb061b5345cccf322c165f510f54c04481d4bc
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 02:10:23 2009 +0200
s4-smbtorture: move all privilege tests to RPC-LSA-PRIVILEGES.
Guenther
commit 29c3a277e10e9c87c6965c4c6fb26a01b1277c57
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 00:56:17 2009 +0200
s4-smbtorture: move all trusted domain tests to RPC-LSA-TRUSTED-DOMAINS.
Guenther
commit 3fa212af61cd334daf2b0ac6bb4c85e1db15230a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 16 08:51:51 2009 +0200
s4:heimdal_build: try to fix the build on Solaris
The problem seems to be #define flock rk_flock
heimdal/../heimdal_build/replace.c: In function `rk_flock':
heimdal/../heimdal_build/replace.c:64: error: storage size of 'lock' isn't known
heimdal/../heimdal_build/replace.c:64: warning: unused variable `lock'
metze
commit 1f12dc4409cc4964e708c29906fad1f81086ec01
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 16 08:20:17 2009 +0200
tsocket: rename sa_len => sa_socklen, because sa_len is a macro on some platforms
metze
commit c901f57ce31cb6deaf2897e12b3b14a25fe9e12f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 7 12:34:55 2009 +1000
s4:kdc Initialise new hdb function pointers.
Soon we will add implementations for these.
commit e25325539a86912ce620875ef07beff5bcde6060
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 16 09:53:14 2009 +1000
s4:heimdal: import lorikeet-heimdal-200907152325 (commit 2bef9cd5378c01e9c2a74d6221761883bd11a5c5)
commit 05bec77e00cc0f974d8521f781dce9dcff897f76
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 02:48:34 2009 +0200
lsa: fix typo in lsa_TrustDomInfoEnum enum in IDL.
Guenther
commit 2260cdbb53e1bcc64adf1910c8986a02e3697a36
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 16 02:08:17 2009 +0200
s3-ldapsam: bring Fedora DS LDAP schema in line with OpenLDAP schema.
Guenther
commit f982c912f47d5bfd00b4736573c7e4219a31a6c8
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 15 23:16:19 2009 +0200
s3-rpc_parse: remove more unused code.
Guenther
commit 33768fea073fb24763728c1da3424465ebabc1f0
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 15 21:59:05 2009 +0200
s3-spoolss: make some of the command hooks static.
Guenther
commit c3f461c35f9ca1b6a0e01efe53fbf439faaddad9
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 22:01:01 2009 +0200
s4-smbtorture: some work on getprinterdriver and getprinterdriver2 tests.
Guenther
commit e16a2a1fa941511a8eeefd05b397dd934a77c9f6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 16 08:29:43 2009 +1000
s4:gensec Rework gensec_krb5 mutual authentication defaults
When emulating Samba3 (which we do to ensure we don't break
compatability), don't do mutual authentication by default, as it
breaks the session key with AES and isn't what Samba3 does anyway.
Andrew Bartlett
commit 84dca625cab96f72123308d80a5aeed5fc42f0c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 14 13:22:38 2009 +1000
s4:heimdal The implied GSS_C_MUTUAL_FLAG depends on AP_OPTS_MUTUAL_REQUIRED
We had previously assumed it was unconditional. Samba3 didn't mind
very much, but Samba4's samba3-like client did, and the behaviour
differed to Win2008 behaviour.
Andrew Bartlett
commit bc354fb1a6fd524629434c199e2ca260a8400bb4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 14 10:19:16 2009 +1000
s4:gensec Allow mutual auth to be turned off in 'fake_gssapi_krb5'
This allows the older 'like Samba3' GENSEC krb5 implementation to work
against Windows 2008. I'm using this to track down interop issues in
this area.
Andrew Bartlett
commit 271b5af92e9aada36adc648a6dd43a13c5aed340
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 14 08:15:50 2009 +1000
s4:dsdb Handle dc/domain/forest functional levels properly
Rather than have the functional levels scattered in 4 different,
unconnected locations, the provision script now sets it, and the
rootdse module maintains it's copy only as a cached view onto the
original values.
We also use the functional level to determine if we should store AES
Kerberos keys.
Andrew Bartlett
commit ba58edd0bc2d77c6ed1b6a76f33787da9031db5b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 14 08:00:09 2009 +1000
Add a way to set an opaque integer onto a samdb
This will allow us to set some more flags into ldb during the provision.
commit d6c44a704e9a138dba8398f45e9af2601826f659
Author: Timur I. Bakeyev <timur at FreeBSD.org>
Date: Sun Jul 12 23:36:08 2009 +0000
Add ad-schema/*.txt and utils to the installmisc.sh
Install other useful scripts from the setup/ directory, not only
provisioning ones.
Also install setup/ad-schema/*.txt files to the SETUPDIR. These are
necessary for 'provision' to work properly.
commit 48a07321479c14a6618bb21302d27fd9606efbdd
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 15 13:59:11 2009 -0700
Fix bug #6551 - win98 clients cannot connect after server upgrade to samba-3.4.0.
The values of vuid and tid were not being correctly updated in the struct smb_request
when passed to chain_reply inside sessionsetupX and tconX.
Jeremy.
commit 377a97579bc9b733c5a6363c71498e2ecf894f02
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 21:02:42 2009 +0200
s3:smbd: try to fix a compiler warning on i386 : left shift count >= width of type
metze
commit 2fca950d68bff3641ed3ac4bdaee1d16f0cca88a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 20:58:11 2009 +0200
s3:libsmb: we need to include "includes.h" as first header to let code build on all platforms
This should fix the Tru64 build.
metze
commit 8447600d98ebb7da47a4815194d29c77225c7bb5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 20:54:01 2009 +0200
s3:tldap: fix the build - a void function should not return a value
metze
commit 1f5aec877fc48ff96b14a0e95f01c68a29dd8718
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 15 11:49:33 2009 -0700
Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.
Jeremy.
commit b76ab511f7238820a4e6ac3a2ae17d103f2bf9b9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 20:47:07 2009 +0200
s4:winbind: rename uint => uint32_t as uint isn't portable
metze
commit 722765213bcda1de93d2fe7d64b89c8b7a37f29e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 20:45:53 2009 +0200
s4:libnet: rename uint => uint32_t because uint is not portable
metze
commit dea2e4690a188a5ff06c9df354befe65cbcb320c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 20:43:23 2009 +0200
s4:heimdal_build: try to fix the build on Solaris
We need the definition of 'struct flock'.
metze
commit 64ee4458cf8c8fb1dec5334cebbe63cfb0045ada
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 19:23:12 2009 +0200
s4:ntvfs/ipc: replace unnesessary talloc_reference() by a simple talloc_strdup()
metze
commit 5240b10eaa1f19dcf2dbc31e5e1f8868716bbc69
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 19:17:57 2009 +0200
s3:ntvfs/posix: avoid unnesessary talloc_reference()
This caused the panics on the RAW-SETFILEINFO.RENAME test,
because we returned an empty strings.
The problem was:
ERROR: talloc_steal with references at ntvfs/posix/pvfs_setfileinfo.c:215
reference at ntvfs/posix/pvfs_resolve.c:799
metze
commit 382d5c8f5bb3b54e7c1a2daaf9d0283b6275768a
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jul 15 18:40:57 2009 +0200
s4:heimdal: teach heimdal we have (v)aÑprintf in libreplace
commit b08ca108ef8d483e77481ca3335599762cb2547c
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jul 15 18:32:58 2009 +0200
Ñ4:heimdal: teach heimdal that we have strnlen via libreplcae
commit 5236b3699da2b5cc55d55310de76e4ab65a8bb46
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jul 15 17:24:14 2009 +0200
s3: make linking of rpcclient --as-needed safe
commit 2df4550aae1e326511fe4e7e0d2d98be3e578caf
Author: Peter Volkov <pva at gentoo.org>
Date: Wed Jul 15 17:36:25 2009 +0200
s3: make linking of cifs.upcall --as-needed safe
See http://www.gentoo.org/proj/en/qa/asneeded.xml for details.
commit 7bd4699228a1975573cb62550043c05b48e66361
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 15 16:59:07 2009 +0200
s3:dbwrap: fix embarrassing typo :-)
Michael
commit 5a525f7f2855677531385874402e2d7a2f117944
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 17:16:21 2009 +0200
s3:registry: db backend: add my C
Michael
commit 78576117eb4292e4e2750928d5f84c2edc94192f
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 15 12:50:55 2009 +0200
s3:registry: flush the provided subkey_ctr in regdb_fetch_keys_internal()
This way, we always return what has really been read from the db,
and not more. The callers assume exactly this, but one could hand
in an already pre-filled subkey container...
Michael
commit 92df5e4a0243bde6fbc5261bf6758090c4c35eee
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 15 12:47:12 2009 +0200
s3:registry: add function regsubkey_ctr_reinit()
This reinitializes an already allocated regsubkey_ctr structure,
emptying out the subkey array and hash table.
Michael
commit dc0bcfa188cb24c5a34f592ece946682d5fb8afe
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 15 12:45:43 2009 +0200
s3:registry: turn regdb_fetch_keys_internal() from int to WERROR return type
This way, more error information is propagated to the callers.
Michael
commit c52dd1d5b81ce71855a3215f1b23704ac450fdee
Author: Michael Adam <obnox at samba.org>
Date: Mon Jul 13 17:15:14 2009 +0200
s3:registry: use transaction wrapper in create_sorted_subkeys()
Michael
commit 109ea29b2c1a3bc752f9afda2c0010b9e675aa83
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 12:54:16 2009 +0200
s3:registry: restructure logic of create_sorted_subkes() slightly
This makes it clearer to me, and it also makes it easier to
use the transaction retry wrapper in the next step.
Michael
commit 2d6dbcd0b13da469f8b7dc6ed65e51d91ce1ab9c
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 11:04:20 2009 +0200
s3:registry: use transaction wrapper in regdb_delete_subkey().
Michael
commit a48d8353c79685371dbd2cc73b6c9032c5166a5b
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 10:54:18 2009 +0200
s3:registry: add a comment header for the delete_subkey set of commands.
Michael
commit 5640598cbb66fb0e65413e53a11ff82a553caad6
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 10:52:40 2009 +0200
s3:registry: add a comment header for the create_subkey set of functions
Michael
commit 8c7b9604931a787107bc01b359a231d376ed92c0
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 10:41:59 2009 +0200
s3:registry: use transaction wrapper in regdb_create_subkey()
Michael
commit 86d747e19f877c45ac32663ec2a3381ad03cdcf5
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 10:28:29 2009 +0200
s3:registry: use transaction wrapper in regdb_store_keys_internal().
Michael
commit f93c9e0d415b5c2e2fd73bb370db7b7e17ede9aa
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 00:21:46 2009 +0200
s3:registry: don't leak to talloc_stack in regdb_store_keys_internal2()
and catch one potential talloc failure.
Michael
commit 3eec829e2fa2106c8d52f31e3f3d7f45e6c81b24
Author: Michael Adam <obnox at samba.org>
Date: Thu Jul 9 00:10:08 2009 +0200
s3:registry: unify exit logic and remove leaking to talloc_stack in regdb_store_keys_internal()
Michael
commit 14f593aa0f43127ab78aec848b0fe5933c0c28c9
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 17:26:06 2009 +0200
s3:registry: change regdb_store_keys_internal2() to return WERROR
instead of bool for better error propagation.
Michael
commit 1c65c98f3350951fe9f87a942b4c8a8094c8b781
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 13:58:52 2009 +0200
s3:registry: refactor adding of builtin reg values out
into regdb_ctr_add_value(). For readability.
Michael
commit cf4f808b8b03c385b5b9e9f4a5e891ae92143001
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 13:10:37 2009 +0200
s3:registry: use transaction wrapper in init_registry_data()
Michael
commit e6340963cf549cda261fc1ba9da4bc1b3a071241
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 12:38:41 2009 +0200
s3:registry: add regdb_store_values_internal() that takes a db_context argument
Michael
commit 302265aae1bc27244ffaa9d803a8be83947e0381
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 12:32:48 2009 +0200
s3:registry: add a regdb_fetch_values_internal() that takes a db_context argument
Michael
commit 8a5b164b20c3d51df2422c1402ef31384b31472e
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 23:58:03 2009 +0200
s3:registry: use transaction wrapper in init_registry_key().
Michael
commit 95ebf534d2bc9904cc7c02bccdf5c01cc595ad7c
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 23:03:46 2009 +0200
s3:registry: add db_context argument to init_registry_key_internal()
Michael
commit a00109e1e6c1063b560be85c43ef820d3446ae31
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 12:42:09 2009 +0200
s3:registry: panic upon error at transaction_cancel in create_sorted_subkeys
Michael
commit 3189828087387686f63b3ae0b289c6e31f602a54
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 12:41:09 2009 +0200
s3:registry: fix a comment in create_sorted_subkeys()
Michael
commit 4c366a094693f050b2cadea771cd5c6eab29e278
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 12:39:32 2009 +0200
s3:registry: don't loop transaction_commit in create_sorted_subkeys() upon error
This would try to commit a higher level transaction upon commit-error.
Michael
commit 6cb14409af5f708706f975143c7b40bb54c7a5c0
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 12:27:26 2009 +0200
s3:registry: in regdb_delete_subkey(), don't use the transaction wrappers.
This way, the db handle gets used explicitly and the core of the
function can be abstracted.
Michael
commit 4eeacd6ef0e1bb813062c30ac280e542c6b007c8
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 12:24:25 2009 +0200
s3:registry: in regdb_delete_subkey(), panic if transaction_cancel fails
Michael
commit 355892c296f7f245e5a5dd9070e3e776bedbf09c
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 12:20:23 2009 +0200
s3:registry: panic upon failed transaction_cancel in regdb_create_subkey()
Michael
commit 3409a44da2ee6a0ca2caaf0455e0095f8e2f80a4
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 11:41:08 2009 +0200
s3:registry: don't use exported transaction wrappers in regdb_create_subkey()
So that the regdb handle is again explicit and the core of the
function can be abstracted.
Michael
commit 1dfaa371fa027351a0af6e56a04bc045c3b0dc73
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 11:31:28 2009 +0200
s3:registry: create regdb_store_keys_internal() with db_context argument
and let exported regdb_store_keys() just call regdb_store_keys_internal()
with regdb as an argument. Internally, in reg_backend_db.c, always use the
_internal version.
Michael
commit eb1958ca3d6cd30e292d2d013ff1ea63e65563fb
Author: Michael Adam <obnox at samba.org>
Date: Tue Jul 7 11:11:10 2009 +0200
s3:registry: rename regdb_store_keys_internal() to regdb_store_keys_internal2()
Michael
commit 589bacfbdb7541be5d339fcaf08272520bf6a1ac
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 17:39:17 2009 +0200
s3:registry: create regdb_fetch_keys_internal() with db_context argument
and let exported regdb_fetch_keys() just call regdb_fetch_keys_internal()
with regdb as an argument. Internally, in reg_backend_db.c, always use the
_internal version.
Michael
commit db4f797e3533b97df844a50a92e8a27a9248092b
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 17:18:19 2009 +0200
s3:registry: add db_context argument to scan_parent_subkeys()
Michael
commit c01d955ac0b6ef686cf026cc90074cd52a1a30ae
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 17:10:09 2009 +0200
s3:registry: add db_context argument to regdb_fetch_key_internal()
Michael
commit a18a10c07a3e32644c31f4742805795998227e44
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 17:00:44 2009 +0200
s3:registry: add db_context argument to regdb_store_keys_internal()
Michael
commit 528bf38875b9e5412da0a2810b17f05b2c376312
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 16:51:26 2009 +0200
s3:registry: add db_context argument to regdb_delete_key_lists()
Michael
commit 86e927cb056b30be3b2eecc1375549de71419b1f
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 16:48:36 2009 +0200
s3:registry: add db_context argument to regdb_delete_subkeylist()
Michael
commit bd983dba6b308c28019c2e39f16de8b9e434e4f5
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 16:44:20 2009 +0200
s3:registry: add db_context argument to regdb_delete_secdesc()
Michael
commit ec6b6727d824bea1b4a7b320e7a3c1de38df6724
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 16:42:20 2009 +0200
s3:registry: add db_context argument to regdb_delete_values()
Michael
commit 2b380c73a4796bdf69264e5ca6721ad0d67087e9
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 16:40:43 2009 +0200
s3:registry: add db_context argument to regdb_delete_key_with_prefix()
Michael
commit d554c0d7a923f1194463481f0bd829042cee574a
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 16:16:18 2009 +0200
s3:registry: don't store differently cased entries for the same keys.
This happened for instance during registry initialization, when
entries for HKLM\Software and HKLM\SOFTWARE were created.
Searching these entries was case insensitive though.
But the entries ended up in the subkey-lists anyways.
This is solved by making the subkeys_hash in the regsubkey_container
structs case insensitive (using the new _bystring_upper() wrappers).
Michael
commit 3071b0712211b17b464f62d544fa16da5a128b01
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 15 09:58:02 2009 +0200
s3:dbwrap_util: add my C
Michael
commit 3b3125fc23dc4b7a403d17af2ad2d5c592d3d090
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 16:13:07 2009 +0200
s3:dbwrap: add dbwrap_fetch_bystring_upper().
To fetch a key whose name is stored but not given in upper case.
Michael
commit 32a3275344819cfcbcb4540a1909617b8db6dc63
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 16:08:41 2009 +0200
s3:dbwrap: add dbwrap_store_bystring_upper().
This stores a key under the uppercase version of the given keyname.
Michael
commit 804d3f897be01e9088deefe807cd06fe194c5d58
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 8 16:02:19 2009 +0200
s3:dbwrap: add dbwrap_delete_bystring_upper()
To delete a key whose name is not given in but stored in uppercase.
Michael
commit 5b594c695884aebdfbb199549901fea954122929
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 15 14:00:42 2009 +0200
s3:dbwrap: add a wrapper dbwrap_trans_do()
This function wraps the action() callback into a db
transaction and the transaction is either committed
or cancelled, depending on the return value of
the action function.
Michael
commit f49129e59225f6ea84add8e845ffaeb03dc6c8da
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 12:14:32 2009 +0200
torture/smb2: add missing new line to the new SMB2-DIR.FILE-INDEX test
Without this the subunit formated output would be invalid and make test
reports: "UNEXPECTED(error): samba4.smb2.dir (dc).FILE-INDEX"
metze
commit 722cd5944f9b70c7f642ec1d510d54bf1592beb5
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 09:23:57 2009 +0200
s3:smbd: add support for SMB2 SetInfo File*Information
metze
commit d85cc986b85d3c8a6e40491f216c801a1cbde2ab
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 12:08:20 2009 +0200
s3:smbd: implement SMB2 GetInfo with Fs*Information
metze
commit 9df1c8f2ad25a1875f2ca98df8c600aecf058144
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 09:23:36 2009 +0200
s3:smbd: return NT_STATUS_INVALID_INFO_CLASS in SMB2 GetInfo
metze
commit 9e2c50971ee309dfe2f36efa11f572e1d985d057
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 14 09:47:46 2009 +0200
s3:smbd: check quota access against sec_initial_uid() instead of 0
And return an NTSTATUS mapped from errno. Instead of hardcoded values.
metze
commit fafe2589e684e1946431722c8845d0dadd9ab525
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 14 09:49:25 2009 +0200
s3:lib: map ENOSYS to NT_STATUS_NOT_SUPPORTED instead of NT_STATUS_ACCESS_DENIED
Jeremy: please check and decide if we want to backport this.
metze
commit b4abb190a97456e5176088d9ab555c93fd5ea731
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 11:54:07 2009 +0200
s3:make test: smbtorture from s3 needs to take the config file path via the SMB_CONF_PATH envvar
metze
commit d3be108637f1ae5d2a07a87c700f42b8c26df6a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 14 13:32:23 2009 +0200
SMB2-GETINFO: test SMB2_ALL_EAS
metze
commit da737f2447c925726fb944fc08683ffaf6cf8a63
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 12:25:40 2009 +0200
s4:libcli/smb2: add smb2_transport_credits_set_charge() to change the CreditsCharge value for the next request
metze
commit af3444e6117de7d24bc2e3b61436f2804bfa1e4e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 8 10:09:54 2009 +0200
SMB2-CONNECT: unlink the test file at startup
This is needed to get reproducable results...
metze
commit 76705d10c626a66cc77f3ec294f4f98bef95aeb5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 18:31:28 2009 +0200
Consolidate gencache also every 100 writes in a single process
commit 3d7dfc1197017c34bdb8dbc6e62460f19bd7d141
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 11:33:04 2009 +0200
Consolidate string and data_blob routines in gencache
commit 8a17cd810fa6cbe7b11139ff0f6f24e7bacd318b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 13 17:04:29 2009 +0200
Make gencache more stable
This provides a compromise between stability and performance: gencache is a
persistent database these days that for performance reasons can not use tdb
transactions for all writes. This patch splits up gencache into gencache.tdb
and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes
to it don't use transactions. By default every 5 minutes and when a program
exits, all entries from _notrans.tdb are transferred to gencache.tdb in one
transaction.
commit ed87594e5fd3251f9cb3beaca06c8eee1dcd4ed2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 13 17:03:52 2009 +0200
Add tdb_data_cmp
commit 3edcd55bf140d09833284ba5a0f04f86b04ef7dc
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 12:24:56 2009 +0200
Remove gencache_init/shutdown
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've
been very lazy calling gencache_shutdown, so this seems not really required.
commit d936d1bd84e130aaff1de64cb1ecbd1f936dd9c4
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 12:12:30 2009 +0200
Fix some nonempty blank lines
commit e5a34b2533720ebb9181c0edebad6774ceeff189
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 12:03:35 2009 +0200
Remove gencache_[un]lock_key
commit 3e965d017d243f0a99e7838e6c92c37df270486c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 11:00:24 2009 +0200
TDB_CONTEXT -> "struct tdb_context"
commit 565046891f9f7725b5d93eefbc3be5b9c62176fd
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 10:54:33 2009 +0200
Replace ASSERTs in gencache with "return false"
It's a bit strong to panic here I think.
commit 8cb44830e0356804e21d9973382e0070f20b15be
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 15 10:49:41 2009 +0200
torture/smb2: fix crash bugs in the new SMB2-DIR tests
metze
commit 5927ca7067a0ead65c00042a62545b0d940f2b2a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 14 16:54:01 2009 -0700
Change to talloc_zero_size instead of extra memset.
Jeremy.
commit 7be1d727a31b34debbcf8faa1e0bea911112d145
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 14 16:42:21 2009 -0700
When tallocing a memory block for the state in a tevent_req struct,
ensure it's zeroed out. Vl & Metze please check.
Jeremy.
commit e84d5bb02d113ae54172755ea284e7f22b677a7b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 15 01:22:32 2009 +0200
s4-selftest: ok, s4 cant print. add RPC-SPOOLSS-PRINTER to knownfail for now.
Guenther
commit 5334b79142e32c39c56cea2e9c0d5b08e2f217ca
Author: Aravind <aravind.srinivasan at isilon.com>
Date: Tue Jul 7 07:11:56 2009 -0700
torture/smb2: Adding SMB2 Directory enumeration torture tests.
* Most of the tests were ported from SMB torture tests.
* Added one new tests which checks the behavior of the file_index field
present in SMB2_FIND struct.
* Added one new test to check the enumeration of directories containing
lots of files (~2000 files) with name lengths varying from 1 to 200 char.
commit 4b6401ab2cce8319abe0f8176bb460d51bd4a390
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 14 23:36:41 2009 +0200
s3-passdb: fix wbc build warning.
Guenther
commit d05054133009526bd9dd08a226747e5cfeef8fc7
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 23:12:59 2009 +0200
Fix bug 5886
Ok, that's a very long-standing one. I finally got around to install a recent
OpenLDAP and test the different variants of setting a NULL password etc.
Thanks all for your patience!
Volker
commit b6fb8cf5f38fc434103936b41a5793f5943c129a
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 09:56:28 2009 +0200
s4-smbtorture: add RPC-SPOOLSS-PRINTER test.
Guenther
commit 3a367ab10d3da2d9f5261769af06442550a0f029
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 2 19:38:12 2009 +0200
s4-smbtorture: add some tests to check spoolss_SetPrinter behavior.
Guenther
commit b0cce950ba32be3e2a9f10bf4ee6ba34f6da9c12
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 14 14:33:08 2009 +0200
s4-smbtorture: restructure test_OpenPrinter_server in RPC-SPOOLSS a bit.
Guenther
commit 036bad61317bc71f59db0e766881dd880253bb52
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 14 22:23:39 2009 +0200
s3: allow setting the TCP_QUICKACK socket option
commit b134d4bc4ad665b82438eb8e1b5cbd1098a36aed
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 21:28:13 2009 +0200
Attempt to fix the build
commit 749a50874906ba38f1085065933f2781b81d5dfa
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 18:34:36 2009 +0200
Create a talloc_stackframe for each file in wildcard unlink
There might be *many* files to delete
commit 72da71acf925ffe4cc87ca2bcba3770af3fe3d8b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 18:34:07 2009 +0200
Create a correct talloc hierarchy in make_sec_acl()
commit 74046c8054d2afe7da51c1ff09ffd594a9cb8b73
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 14 18:33:01 2009 +0200
TALLOC_FREE(sd) in check_open_rights upon an error
commit d57e67f9eb5a6a05f0e173d48e86dd1fe050635e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 14 11:25:45 2009 -0700
Revert this commit :
s3: Make smbd aware of permission change of usershare. Since usershare are relatively volatile and
non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect.
For now. This is a feature request and I think we need
to design it a little differently so as not to touch
core change_to_user() code.
Jeremy.
commit 73e96935c3604d21552ba93dfd561eaf7606f52d
Author: Bo Yang <boyang at samba.org>
Date: Wed Jul 15 17:03:04 2009 +0800
s3: fix build of pdbedit and net_sam. Guenther, please check. Signed-off-by: Bo Yang <boyang at samba.org>
commit 2821f5abf5d60cf420877e92db5c615c83471e95
Author: Bo Yang <boyang at samba.org>
Date: Wed Jul 15 15:37:04 2009 +0800
s3: Fix double free in net usershare.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 86865365ce487a8943370ea2f313000a6440ea9a
Author: Bo Yang <boyang at samba.org>
Date: Wed Jul 15 15:36:02 2009 +0800
S3: Small fix to get rid of annoying log message.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 9ef6af73b319048fc6f3891573f0e10066dffee6
Author: Bo Yang <boyang at samba.org>
Date: Wed Jul 15 15:34:10 2009 +0800
s3: Make smbd aware of permission change of usershare. Since usershare are relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect.
commit 99c7ee3c9145b6187113ff29500b55a32320a9bc
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 14 17:55:50 2009 +0200
s3: make d9c0d58236 better readble and reduce indentation
commit d9c0d5823624d302c6fa635d2e44aab985fd307c
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 14 17:40:21 2009 +0200
s3: don't make same innetgr check twice
commit 9d7cb4826a7b605a170bd5d5efee331557188b6e
Author: Sumit Bose <sbose at redhat.com>
Date: Fri Jul 10 22:44:27 2009 +0200
remove all '\n' from ldb_debug
commit 9f15ef11bdf75dbc1a1af3c2bc35b1d653216f62
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 13 23:53:49 2009 +0200
s3-account_policy: add pdb_policy_type enum.
Guenther
commit 39fa9468c6b8099429b971d75c0647033b60901c
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 13 23:42:57 2009 +0200
s3-account_policy: remove trailing whitespace.
Guenther
commit d7c366f8de13ce6f2cf691b95974a18e21d0fff7
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 13 23:38:16 2009 +0200
s3: re-run make idl.
Guenther
commit 05959636328ae71b1969a85241a93883f20bcb69
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 13 22:46:51 2009 +0200
samr: add missing samr_ValidationStatus codes.
Guenther
commit bd58a1461724eb92c9fedd014edb7465f5a16b40
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Thu Jul 9 14:45:23 2009 +0200
reject ACLs with DESC_DACL_PROTECTED on GPFS
as GPFS does not support the ACE4_FLAG_NO_PROPAGATE NFSv4 flag (which would be the mapping for the DESC_DACL_PROTECTED flag), the status of this flag is currently silently ignored by Samba. That means that if you deselect the "Allow inheritable permissions..." checkbox in Windows' ACL dialog and then apply the ACL, the flag will be back immediately.
To make sure that automatic migration with e.g. robocopy does not lead to ACLs silently (and unintentionally) changed, this patch adds an explicit check for this flag and if set, it will return NT_STATUS_NOT_SUPPORTED so errors are shown up on the Windows side and the Administrator is aware of the ACLs not being settable like intended
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit e67de63ba6c6de60400e7deb4664d259f6dfb638
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 13 18:43:10 2009 -0700
Make cli_posix_lock/unlock asynchronous.
Jeremy.
commit b25e3b6c8a7a1dd31607dd344e6e767716dd645d
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 13 17:17:37 2009 -0700
Fix set_posix_lock check which had been reversed in the recent
changes.
Jeremy.
commit e4fca7466d3bc064587638560572813e62df00d8
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 13 21:56:31 2009 +0200
s3-pdb_ads: set correct pdb field with the value from 'accountExpires' attribute.
Guenther
commit 8646b9521d267284a335aafba3df6039c41b8370
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 13:24:19 2009 +0200
s3:net: Fix Bug #6222. Default to DRSUAPI replication for net rpc vampire keytab
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit f7ff6bd1425cc4f0aa13ce8e7498cdac3967acf3
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 29 20:34:03 2009 +0200
s3-rpc_server: pass down full unix token to map_max_allowed_access().
Also use unix_token->uid instead of geteuid() when checking for mapping of the
SEC_FLAG_MAXIMUM_ALLOWED flag.
Guenther
commit 05fbe0c7f763fbe8c1c48eb82ebdfe04bfa034ea
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 12 15:20:48 2009 +0200
libds: merge the UF<->ACB flag mapping functions.
Guenther
commit 8db45607f8d19781d33ebff0d0b13c473f34009b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 12 14:27:19 2009 +0200
libds: share UF_ flags between samba3 and 4.
Guenther
commit 3ee3eb3acf5783894f358c415b342a88db248449
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 13:14:39 2009 +0200
s3:smbd: close_file() handles named pipes just fine, no reason to return NOT_SUPPORTED
metze
commit ed99bf7317fccdb13e832e98f389486443f9fd48
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 12:05:34 2009 +0200
s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfo
metze
commit 2a92139a1ca8b2c1950f6ca32255b8fcfdeefff6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 11:54:20 2009 +0200
s3:smbd: split out smbd_do_qfsinfo() from call_trans2qfsinfo()
metze
commit 7d735519d7f6a726240dff8cdcae36acd73df48c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 09:01:56 2009 +0200
s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfo
metze
commit f26a2ca8e43884a62bf5822e7571692870ecc7a1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 13 08:59:32 2009 +0200
s3:smbd: split out smbd_do_setfilepathinfo() from call_trans2setfilepathinfo()
metze
commit d7809f65cf25ea10b3edd7df209cbf67a43df138
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 10 20:39:08 2009 +0200
s3:smbd: start SMB2 GetInfo support for File*Information levels
TODO: the EA levels are not fully supported.
metze
commit 64221bc3facde5d2e6d35516eb997d83c5f90d35
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jul 12 16:40:58 2009 +0200
s3:smbd: add support for marshalling SMB2 FileFullEaInformation
metze
commit e9865150dfd9a81fdc3a8b13b086540641fb4c2e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jul 12 17:08:18 2009 +0200
s3:smbd: add support for marshalling SMB2 FileAllInformation
metze
commit 0851d73f4dbb916b6e83d89cf2e2959c1159b7e0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jul 12 17:06:05 2009 +0200
s3:smbd: filter out SMB2 specific private query info levels for SMB1
metze
commit 0ba532e1b2dedea3c07fa55631fac0d9a5032fcf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 10 20:02:44 2009 +0200
s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2
metze
commit ee690df294aab7a738bfec1976a2f015e918db1e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jul 12 16:37:49 2009 +0200
s3:smbd: split calculation and mashalling of file index and access_mask
metze
commit 8422e032339f624e6322a4a6a4938b1d84b347a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 10 19:04:58 2009 +0200
s3:smbd: split out smbd_do_qfilepathinfo() from call_trans2qfilepathinfo()
This prepares SMB2 GetInfo.
metze
commit 20bc933c5b2f420f3588adf811a66aa886a1b41e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 10 18:51:59 2009 +0200
s3:smbd: add missing return after reply_nterror()
metze
commit 2000421c592b672898f85758638be74d8485da1e
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 10 18:23:00 2009 -0700
Remove reply_unixerror() - no longer needed. Should make Metze's refactoring a lot easier.
Jeremy.
commit 361aa19e69d4176dd8c30f485cc637cd33308d62
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 10 15:50:40 2009 -0700
Add hash values to the xattr ACLS to determine when
an underlying POSIX ACL is changed out from under us.
Passes RAW-ACL test up to "invalid owner" problem when
trying to create a file owned by Everyone. Now needs
porting to modules/vfs_acl_tdb.c
Jeremy.
commit afc6f607d5c8ba995b55464525edc8bf8f7a040c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 9 15:58:10 2009 +0200
Return 0 domains from enum_trusteddoms
commit d8556bbf1394439d0880983c7dff67dd8dda66b0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 14:39:16 2009 +0200
Quieten events and tldap debug messages
commit 4e516fb19146399546bd9cd249ee3adb60c07e16
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 10 12:03:51 2009 -0700
s3 smb2: Remove unused variable
commit 3969f65aaa1c0e5d3158f089a2fe496af6dd60b0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 17:36:18 2009 +0200
Fix&Run local-gencache
commit 0a0bff353e3cd8287166c7ed907a50a8599b0e03
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 17:29:22 2009 +0200
Fix our base64 implementation for blobs of length 4....
The additional length check bit us exactly at 4, removing it. The
torture test survives valgrind up to 2000 bytes :-)
commit 67c7b7f90bd1bad265e892bb00abf649b22345b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 8 13:13:32 2009 +0200
s3:smbd: add support for SMB2 Lock
metze
commit 8d534d45a5d21967e2d9bca1ac34a55f1518fe42
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 7 18:09:16 2009 +0200
s3:smbd: make smbd_do_locking() non static
metze
commit 598a9892bc4d5db2c75b218ba235fb7736b6a6e6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 7 17:24:25 2009 +0200
s3:smbd: abstract the main locking logic from the LockingAndX parsing
This prepares SMB2 Lock support.
metze
commit be1e5493c5aa323681d2843f37e93a0388e95f6a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 9 11:34:14 2009 +0200
s3:smbd: pass down the client pid to smbd_smb2_lock_send()
metze
commit 24c8e786bcdf2d10e378b655e1df69c2533f7804
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 9 11:33:58 2009 +0200
s3:smbd: fix parsing of SMB2 Lock requests with lock_count > 1
We should not reuse the variable 'i'.
metze
commit 12ed9ca36a4f8d2f3798f357a619389c26c9feea
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 8 17:02:00 2009 +0200
s3:smbd: fix parsing of invalid SMB2 requests.
Because of 0 - 2 => 0xFFFFFFFE, we got EMSGSIZE
from the tstream layer. And terminate the transport
connection. Instead we should let the caller deal with
the invalid parameter, when checking the body size.
So the caller always gets at least a 2 byte body.
metze
commit db1e58256861c50a9baed8efc862ba5b5834e28b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 10 11:59:00 2009 +0200
Attempt to fix the build -- jlayton, please check!
commit 8d1b061b517176e172151e6814083aa7a7051d56
Author: Jeff Layton <jlayton at redhat.com>
Date: Thu Jul 9 21:04:08 2009 -0400
cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use
If the kernel sends the upcall a pid of the requesting process, we can
open that process' /proc/<pid>/environ file and scrape the KRB5CCNAME
value out of it.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit f1fad2efe4daf95ad77db6251ad5d77fb9ef755c
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jul 9 15:56:36 2009 -0700
s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()
commit c624a704be96488f0aee27930cbd4c8d99df464b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 9 22:03:52 2009 +0200
Make escape_ldap_string take a talloc context
commit 14952c72a29ec92badb1bcf16d2a15fe100f060d
Author: John H Terpstra <jht at samba.org>
Date: Thu Jul 9 08:20:32 2009 -0500
Replace word noone with more correct word nobody. Thanks OPC Oota.
commit 6fc57517c2504c9b720744f262fee0bebbb53da6
Author: John H Terpstra <jht at samba.org>
Date: Thu Jul 9 08:19:17 2009 -0500
Fixes inspired by OPC Oota.
commit 2481ce89427ef38b47fb29d16c15b77e9d2c20b9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 9 14:53:26 2009 +1000
s4:dsdb Allow unicodePwd to be set when adding a user
Windows 7 sets it's join password using the unicodePwd attribute (as a
quoted, utf16 string), and does so during the LDAPAdd of the object.
Previously, this code only handled unicodePwd for modifies.
Andrew Bartlett
commit 2c873c43534d61cd411b5c8d56425fd9c2ddd128
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 9 10:08:02 2009 +1000
Add const
commit fbaa8497a5c8c209de9ca86bebf8387e6d33a608
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 20:15:02 2009 -0700
s3: Repace a char * with an smb_filename struct in reply_rmdir
commit 02aad05e0ed3e1d4790b323a94e43184f9c4e643
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 16:53:01 2009 -0700
s3: Prepare open.c to switch fsp_name to an smb_filename struct
commit dcc97c5ad7d274e88ee2be2bbd37234030737bc2
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 17:53:05 2009 -0700
s3 plumb smb_filename through smb_set_file_allocation_info()
commit 3a7d372e2eb5ab00986aafe69ac715a68faa077f
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 16:22:44 2009 -0700
s3: Change the share_mode_lock struct to store a base_name and stream_name
commit 83e5ac569577566fa171b8f4288e26e5129015ab
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 14:27:06 2009 -0700
s3: Make some arguments to (parse|unparse)_share_modes() const
commit 161e182b65ceda833e0bebc48ef404cdd399f8d7
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 14:08:04 2009 -0700
s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()
Actually I moved split_ntfs_stream_name into torture.c which is the one
consumer of it. This could probably be changed at some point.
commit 1a1d10d22f7a2eebd22e76614c3c74b4d49e5c33
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 8 12:24:03 2009 -0700
s3: Plumb smb_filename through dos_mode() and related funtions
commit 69c8795b672054cb6b5a85cc5f8961099425bd7a
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 7 19:20:22 2009 -0700
s3: convert unix_mode to take an smb_filename
commit 400c18a8c4098b4ba86d32a236e5d89014774f3f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 8 18:05:30 2009 -0700
Rename update_stat_ex_writetime() -> update_stat_ex_mtime()
to better describe what we're doing here.
Jeremy
commit c9c3d4312d7281904fc4a1cc9abd4831cdf4bfb9
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 8 17:51:35 2009 -0700
The migration to struct stat_ex broke the calculation of
create time from the existing timestamps (for systems
that need to do this). Once the write time is changed
via a sticky write, the create time might need to be
recalculated. To do this I needed to add a bool into
struct stat_ex to remember if the st_ex_btime field
was calculated, or read from the OS. Also fixed the
returning of modified write timestamps in the return
from NTCreateX, SMBattr and SMBattrE (which weren't
taking into account the modified timestamp stored
in the open file table). Attempting to fix an issue
with Excel 2003 and offline files. Volker and Metze,
please review.
Jeremy
commit 58daaa3d1e7075b23c8709889be9b461c6c6c174
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 8 12:28:01 2009 -0700
When faking a create time, use the full timespec values, not time_t.
Jeremy.
commit 7fd42d51c8b13d273b55823ee146967afacd7c88
Author: Jim McDonough <jmcd at samba.org>
Date: Wed Jul 8 13:12:26 2009 -0400
Fix make test_shlibs for libnss_wins and libnetapi (zlib)
commit 6f64937ab835adbe0fea2ff38a8bd03941fc9543
Author: Jim McDonough <jmcd at samba.org>
Date: Wed Jul 8 08:02:04 2009 -0400
Fix cifs.upcall builds on some platforms (zlib)
commit 31bd62727dcba38c101ea0035f4b2898571ab149
Author: Shirish Pargaonkar <shirishpargaonkar at gmail.com>
Date: Wed Jul 8 07:43:43 2009 -0400
docs: flesh out options section of umount.cifs manpage
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar at gmail.com>
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 57afa1edebe38ea48be5fc074a8284c762e35e17
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 8 09:22:39 2009 +0200
s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't work
s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't work
Windows always uses SEAL with NTLMSSP on LDAP connection even if not negotiated.
metze
commit e3631da15893207b196201f89648a28f889ecb5e
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Jul 3 15:24:52 2009 +0300
Test for schemaUpdateNow command
commit 6b05a9079ce38eb590f4a94b427bc69123cd6a23
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Jul 3 15:24:40 2009 +0300
Fix for schemaUpdateNow command
commit dad913118344922139401ee5afaec8f3e68e05dd
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jul 6 15:44:09 2009 -0700
s3 onefs: Fix a few bugs from the smb_filename migration
commit 7ca59ffe5a6608ac865e6fe403b17638af09595a
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 7 17:56:49 2009 -0700
s3: Migrate a few functions in open.c to take smb_filename
commit 0d9b2048823870363db1856b8f5113f35aeb6a08
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jul 7 17:27:50 2009 -0700
s3: Remove unnecessary const qualifiers
commit 9aebdc25010548c00d64b02f827c80a6e8fee9bf
Author: Shirish Pargaonkar <shirishpargaonkar at gmail.com>
Date: Tue Jul 7 16:35:06 2009 -0400
mount.cifs: clarify mapchars option
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar at gmail.com>
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit a28596964b44f20d794999541d38fe4bae64b56b
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 7 22:11:50 2009 +0200
s3: QNX doesn't know uint - replace with uint_t
commit 5ab0677b45c289d5454c32950276230278379ed0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 7 20:40:39 2009 +0200
Attempt to fix the build of vfs_catia.c -- Tim, please check!
commit a830a3f9e292931acd90b5cf5cdffc6e83ea00c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 7 15:16:21 2009 +0200
s3:smbd: cancel all locks that are made before the first failure
s3:smbd: cancel all locks that are made before the first failure
We never reached the cleanup code and directly returned the error.
metze
commit 6dd6ccbdc9451678180e0346780b0a5bf9cda229
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jul 7 13:27:47 2009 +1000
s4:auth It is easier to copy the session key than get talloc right.
The session keys as supplied already have a reference on them, so
stealing them creates challenges. For 16 bytes, it is just easier to
be consistant and copy them.
Andrew Bartlett
commit 431e63cd8bfff6f67b6e6595ee5a054877709c0d
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jul 6 15:26:57 2009 -0700
s3: Update streaminfo implementations now that only base names are passed through the vfs
commit 38b081f852db83cf3c2cce41b564449070be4be2
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jul 6 14:18:05 2009 -0700
s3 smb2: Fix unused variable warning
commit fd73ab5782bc086f67f159aac378c8dcb95ed4aa
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Jul 3 17:15:30 2009 -0700
s3 audit: Fix a memory leak
commit 3cb0e521e1bdddde972b6fd08fb86f7fe73da8d5
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jul 2 13:39:20 2009 -0700
s3: Plumb smb_filename through SMB_VFS_NTIMES
commit f39232a8fb93cfccfe1533ab613867572ff7f848
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jul 2 13:13:14 2009 -0700
s3 catia: Remove pointless VOPs from catia
commit 18a27a8df223ba8eb0faf6a64384acce174f3ace
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jul 2 10:27:01 2009 -0700
s3 sticky write time: Removed unused args and tighten up a function by making an arg const
commit 99bd4fda0cd97eb211549a511a2ff6153c2bde2d
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jul 6 14:36:16 2009 -0700
s3: Plumb smb_filename around SMB_VFS_CHFLAGS
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now
since it only operates on the basefile. This is the strategy for all
path-based operations that will never actually operate on a stream.
By clarifying the meaning of path based operations that don't take an
smb_filename struct, modules that implement streams such as vfs_onefs
no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called
on the base_name.
commit 0f6e10886f3f778fe301ee981873f29d295d39c5
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 1 16:15:52 2009 -0700
s3: Change some filename_convert to pass in NULL for char **fname argument
commit de3246eae2b1234cc7fcb7d4dd6c6863ab9d31b3
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Jul 1 16:14:40 2009 -0700
s3: Add ability to pass NULL to filename_convert for the char *fname
The goal is to eventually remove the need for the char **fname argument
once all callers have standardized on smb_filename.
commit 258952aa85f2a68e2d2362522f6114c6a439f1e3
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jul 2 09:27:44 2009 -0700
s3: Plumb smb_filename through SMB_VFS_UNLINK
commit 133e915a81510f543f6458f377857d4f1b680970
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jun 30 23:08:02 2009 -0700
s3 audit: Remove some recently introduced memory leaks in the audit modules
commit 1b8ffb36b131268e602f494aecf34b0866ef7e34
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jun 30 22:44:39 2009 -0700
s3 audit: Remove the usesless static function declarations from the audit modules
commit e4a85da5708a08f06a50f4f6b95e22d0e148d85e
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jun 30 16:41:48 2009 -0700
s3 onefs: Fix failure in POSIX smbtorture test
The return value of readlink was a bool instead of an int,
which caused the length of the returned value to never be
>1.
commit 5a09ba460cb757823e1deb8b2f2ae762765846c0
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jun 30 17:04:38 2009 -0700
s3: Plumb smb_filename through SMB_VFS_RENAME
commit c41e5e1342a06456b4a5b101f46a394d6a4252bb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jul 6 22:41:21 2009 +0200
Fix some typos pointed out by Oota Toshiya.
commit f5b07455d974969ee5eae2c529283034f275f82e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 6 15:48:32 2009 +0200
RAW-LOCK: fix a compiler warning and make a global static const
metze
commit ad17cf1772dfa34b8c691df372a1118575e62692
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 6 15:36:03 2009 +0200
RAW-LOCK: fix the run against w2k3, w2k8, win7rc and samba3/4
We now allow --target=w2k8.
The strange thing is that w2k8 and win7rc only do half of the timeout
that was given by the client.
metze
commit 9216b2040c8af5699a7d3e484addfcda41142641
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 6 12:03:33 2009 +0200
SMB2-NOTIFY: windows7 uses a different maximum buffer size
metze
commit 5d4d9d333d2bac8ec8ae882cdfd19e1d79c898b4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jul 6 13:26:09 2009 +0200
s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the last import
Also commit the regenerated files for systems without yacc and lex.
This fixes the build with automatic dependecies for me.
metze
commit 91e020fca1b1428d994e742e97c5c73d4bf88458
Author: Suresh Jayaraman <sjayaraman at suse.de>
Date: Mon Jul 6 06:31:30 2009 -0400
doc: clarify that mount.cifs never uses smb.conf
For some users who are used to smbclient, it is not clear that
mount.cifs never uses smb.conf for configuring client specific
parameters. So, let's add this information to mount.cifs man page.
Signed-off-by: Suresh Jayaraman <sjayaraman at suse.de>
commit 5e7da42f6ea768a1e2eeeb15b8b2c41cdfcac94f
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Sun Jul 5 16:03:15 2009 +0200
do not merge ACEs with different SMB_ACE4_INHERIT_ONLY_ACE flag, this leads to wrong inheritance flags in the ACL e.g. (on GPFS) user:10000036:rwxc:allow (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED
user:10000036:rwxc:allow:FileInherit:DirInherit:InheritOnly
(X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED
(X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED
group:10000005:rwxc:allow
(X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED
(X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED
group:10000005:rwxc:allow:FileInherit:DirInherit:InheritOnly
(X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED
(X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED
would be merged to
user:10000036:rwxc:allow:FileInherit:DirInherit:InheritOnly
(X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED
(X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED
group:10000005:rwxc:allow:FileInherit:DirInherit:InheritOnly
(X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED
(X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED
so the explicit right for the user on the parent directory will be gone (the InheritOnly flag only accounts to subdirectories)
thus leaving the user without access to the directory itself
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 8f3f62e9d6326936bd39b4e1ca127677b9e09d19
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 6 16:41:42 2009 +1000
s4:net Move net_vampire() to net_vampire.c
commit f45a9d63e5a1697a7e85b123b535d2dc05f9fd8c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 6 09:31:38 2009 +1000
s4:ldb Rework use of talloc and ldif objects in python wrapper
The talloc hirarchy here was a bit odd - we would both steal the
parsed ldif onto 'NULL', then reference it onto a python talloc
wrapper.
Now we just leave the reference, after we complete building the object.
Andrew Bartlett
commit da45d5215d1da2a1ff1b72b9bc3f10ec2192fba9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 6 09:24:18 2009 +1000
s4:ldb Fix talloc hirarchy in LDIF parsing code
The problem here was that some parts of the ldb_message were still
attached to the ldb_ldif structure, and when only the message was
taken (and the ldif free'ed to reclaim memory) we refereced free'ed
memory.
Andrew Bartlett
commit 880c286bc92db809553c5af2c4a26fe34d6a58dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 10:23:56 2009 +0200
Use null_ndr_syntax_id instead of zeroing null_interface manually
commit e77e21e0f14acf670b1fdc2411425223f03ed645
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 10:21:39 2009 +0200
Add const to init_rpc_hdr_ba
commit 58fbf7420c184c95f8b9761a32392227848794cd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 10:13:03 2009 +0200
Remove "typedef struct ndr_syntax_id RPC_IFACE;"
commit f8cfe19d85534d30f97a4992179633ca68bc838b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 10:21:06 2009 +0200
Introduce null_ndr_syntax_id
commit 30dd96e8193254f05c1aa05a70a68b65c4d036b6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 09:43:23 2009 +0200
Make check_bind_req static to rpc_server/srv_pipe.c
commit f2998feb8e6444a93b9efab5c9dc1b29f62a4baa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 16:20:05 2009 +0200
Actually increase PASSDB_INTERFACE_VERSION to 18 :-)
commit ee5236e2d2dbae185be63abdc19009104c8fb50d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 5 23:15:34 2009 +0200
Fix some nonempty blank lines
commit 43887c8d718087beb5a963a7962608b141e132fe
Author: Björn Jacke <bj at sernet.de>
Date: Sun Jul 5 22:42:29 2009 +0200
libreplace: update library search path variables
commit 2540710b5eeb4a4ea2e0c0c7ba8ab7382f4236af
Author: Björn Jacke <bj at sernet.de>
Date: Sun Jul 5 11:28:05 2009 +0200
s3:configure: honor CFLAGS in compile tests
When compilation is done for the architecture that's not the compiler's
default, for example by setting CFLAGS to -m64, then compile tests might fail
when they are done with the comiler's default arch. This should fix
bugzilla #6162.
commit a5cd278f6fa8f9d79d727b978ab8b6b78956dc4c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 4 12:26:08 2009 +0200
pdb_ads: For cached samu entries, priv is NULL
We have to recreate the priv entry on demand. This needs fixing in
passdb... :-)
commit bfd82e49791a91c20e581dacd6ba8fa43b9efce6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 4 11:09:42 2009 +0200
Add pdb_ads_get_domain_info
commit 5742ed128df90db400ff825bba7a939dadac8c30
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 4 10:35:21 2009 +0200
Fix some warnings
commit f6ce7e062547a788425d683e75a517a32c235bd0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 30 10:39:04 2009 +0200
pdb_ads: Use tldap_fetch_rootdse in pdb_ads_connect
commit 98fb2a18f9d805a16514f24a5a0d87aa4a3573ff
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 29 22:28:19 2009 +0200
pdb_ads: Fetch the domain GUID
commit bc1e93cc80874dd89ade863e38effda80a99fd47
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 29 22:11:23 2009 +0200
Add tldap_pull_guid
commit f169772d9398218d7ef2d9586f254fa4c59fbff0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 23:07:00 2009 +0200
Handle LSA_POLICY_INFO_DNS
commit 8666e79f8fc3fd05fabefeeadc2bd6a2a6f1c18a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 22:29:06 2009 +0200
Implement QueryInfoPolicy2 similar to s4: Make it the same as QueryInfoPolicy
Don't reply to it for non-pdb-ads to keep up our old behaviour
commit b8322ec2b23f60379cbecaf68c0ce8f254611d41
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 4 11:12:33 2009 +0200
Add pdb_get_domain_info
commit 1c778aa19a345a813942e1502539b1503b2085bd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 17:43:48 2009 +0200
Make pdb_ads return an additional flag
commit 077808f91610e70c2105b837a2704842191d1e3c
Author: Björn Jacke <bj at sernet.de>
Date: Sat Jul 4 01:07:15 2009 +0200
s3/s4:build: honor library path from environment
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain
important information. Some of the build farm machines for example have the
python lib path in there - we can't run make test when we suddenly forget how
to use python
commit cfacece9ed96dc46c12f20990110c6528080bc32
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 30 20:06:55 2009 +0200
tldap: Do not do a return before we got the search_result
commit 520b6c0d5010731f6f512a9eb038f28adfd9cd03
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 2 11:06:21 2009 +0200
Fix two pointless statics
commit 7e560bd802c2869d4280f15bde100bbda944b70b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 3 22:36:11 2009 +0200
For non-existent streams we have to return OBJECT_NAME_NOT_FOUND
See the STREAMERROR s3 torture test.
Jeremy, Tim, please check!
commit 56ae65ad5c0b9d4ef51dd06bd8a67841de2b57d3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 2 11:56:33 2009 +0200
Test error codes on popular streams
commit 66152d29b39aee81b7af68a6d9deea42dc249bdc
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 3 22:32:31 2009 +0200
Attempt to fix the build
commit 1225d57abe6c04805479138a620748653f7e2bcf
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 18:39:58 2009 +0200
s3-spoolss: add rpccli_spoolss_getprinterdriver convenience wrapper.
Guenther
commit cb39ba3d40841097c513358e7bac361aa7e38a9c
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 18:39:38 2009 +0200
spoolss: fill in spoolss_GetPrinterDriver IDL.
Guenther
commit c5415e7e09d40518e20fe12f6f9ad88e4da8369e
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 14:08:05 2009 +0200
spoolss: the flags in spoolss_SetPrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
commit bee0421f4c8017a86d00392c0efe45d2009a71f9
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 11:05:38 2009 +0200
s3-spoolss: implement _spoolss_AddPrinter.
Guenther
commit 80b62f579fdf9975c718a75c6d8e623e30578139
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 3 10:10:53 2009 +0200
spoolss: fill in spoolss_AddPrinter IDL.
Guenther
commit e9fc7c5e15ed87710be8f981b969ef411de25918
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jul 3 19:13:08 2009 +0200
heimdal: don't include <ifaddrs.h> without knowing it's there
this is 73dbbe0d54 re-added. abartlet, please pick this to lorikeet.
commit cdf025f012d6a426396da5478735663468023bd4
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jul 3 18:22:16 2009 +0200
tdb: fix define of tdbdir when srcdir != "."
commit 7119241c0d12768b31ebdb489aa0bbba6ca21e40
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 3 08:42:23 2009 -0400
Sort the signature files
commit 30b2014a01b31d66dd76e0562c5d769dfacf167b
Author: Simo Sorce <idra at samba.org>
Date: Thu Jun 18 20:06:00 2009 -0400
Expose functions need by backend writers
move publicly needed structures and functions in the public header.
Stop installing internal headers.
Update the signature and exports files with the new exposed
function.
commit 2738178d1301f9c1c4144c7472c9419911cd816e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 2 09:29:20 2009 -0400
Restore ABI compatibility for talloc.
commit b54e48b830dbc3d66f9de5d2711a57a1630809e2
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jul 3 14:25:06 2009 +0200
s3:configure: fix syntax error in avahi configure test
commit fa453d944d0038e39004da13963430bd312b5804
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jul 3 02:59:40 2009 +0200
s4: Don't install epdump, since it no longer exists.
commit 914fa629f24c7ae7b99670c66427ee733bf53f8d
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 3 11:35:11 2009 +0200
Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it."
This reverts commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7.
This fixes Bug #6531 (Pid File creation.)
Usually, I would extend is_default_dyn_XYZ() so that it returns true
when dyn_XYZ has not been set yet or when its value is equal to the
compiled in default value XZY. But this would have a change in effect
in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used
there to check whether the config file should be overwritten by the
contents of the environment variable SMB_CONF_PATH. Currently this
is only done when set_dyn_CONFIGFILE() had _not_ previously been called
at all, not even with the same value as the compiled in default.
Michael
commit dcf03b9d431bf5733bde76143da7405650ba119a
Author: Matt Kraai <mkraai at beckman.com>
Date: Wed Jul 1 10:49:35 2009 -0700
do not redefine _INT32
commit 0b06aa23049f49b985432c6b18c8a888a079eca1
Author: Matt Kraai <mkraai at beckman.com>
Date: Wed Jul 1 12:44:03 2009 -0700
s3:configure: define _LARGEFILE64_SOURCE on QNX
commit 06a9678aad549d23583d860ecd57b221b25f15b6
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 10 12:31:07 2009 +0200
s3:pam_smbpass: fix build error on some Linux distros
This addresses bug #6459.
commit c2295ec65bef4f96991a68048a72b45c228f0509
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jul 1 14:49:18 2009 +0200
s4 docs: Git has revision SHA's, not numbers.
commit 4d9a929f8dd6fc597bc5ed6209548f85d30a64d3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jul 1 16:54:02 2009 +0200
s4: Remove stub endpoint mapper script.
commit e6fed3a87911a01a4acbcdff98f12c426c8d9512
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 19 16:48:19 2009 +0200
TOSHARG: Fix typo: s/aquire/acquire/
commit b9cf441f82eb2ac8368ac7aac8ef8152d056958e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 19 16:17:08 2009 +0200
pidl: Don't run compile tests inside the tree, won't work yet.
commit 909d42278a80bb463108e3716053da7155301753
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 19:26:05 2009 +0200
s3:smbd: add marshalling layer for SMB2 Lock support
metze
commit c281638bc4e0dfbad8365a6354fded749960835d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 17:47:33 2009 +0200
s4:libcli: move SMB2 lock flags to smb2_constants.h
metze
commit bc957dc4ebbe94c41f6177deb850406717f93db2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 12:28:58 2009 +0200
s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) support
metze
commit 74860465ac3148ccb019a9824948cb278a31fa1a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 11:56:23 2009 +0200
s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)
metze
commit d37709d38b1260c2fbfbf1bea7cd90dc543d4e6c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 11:40:07 2009 +0200
s3:smbd: add marshalling layer for SMB2 SetInfo support
metze
commit 1df9cb6bc9d01c1d3057305dbeb4cb5385323be5
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 10:17:30 2009 +0200
s3:smbd: add marshalling layer for SMB2 GetInfo support
metze
commit c4416684f148f494a103fc85a0d54d0e16059735
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 2 19:39:36 2009 +0200
spoolss: the flags in spoolss_PrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
commit f729abaa94e4b77fe2028d8d5ee38f9eff462fd6
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 1 22:52:49 2009 +0200
s4-smbtorture: fix getjob test in RPC-SPOOLSS.
Guenther
commit a45ec4db736b0df002db0649768f851fa35fee9e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 1 22:52:05 2009 +0200
doserrors: print out some more werrors.
Guenther
commit f1dbd58a99a5dc47065f3ad6d248150600586ac7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 2 10:48:24 2009 +0200
talloc: change TALLOC_MAGIC for version 2.0.0
metze
commit 0fcd465340a190578723ffa8597e2b8df1400b30
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 16:19:37 2009 +1000
show attribute values in sorted order to make comparison easier
commit d49a0e5f7d3788c67aa78d4c856fd3922d13fff9
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 29 22:31:13 2009 +0200
s3:smbd: add support for SMB2 Notify
metze
commit b804c30856edc2d57a82ca64e6c98177f3116e49
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 30 15:01:00 2009 +0200
s3:smbd: make change_notify_reply() more generic and hide send_nt_replies() behind a callback
This prepares change notify support for SMB2.
metze
commit ef96e8c95867a23e664ef25b1a96e5796e51a72b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 29 22:17:17 2009 +0200
s3:smbd: simplify the notify code a bit and always reply via change_notify_reply() -> send_nt_replies()
metze
commit 8b94eb6cc8b0c63cf0787bd08ad469a72b0331c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 29 15:38:48 2009 +0200
s3:smbd: push nttrans and trans2 responses with no data to the client
For sync replies it's not a problem, as construct_reply() will send
the response, but for async replies we would not send the reply to the client.
Currently the notify code works arround this manually, so I assume
we didn't have a bug here. But the next commits will simplify
the notify code.
metze
commit d73bc83c1921e2659dba27a0afc0b71a1760a5ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 1 12:56:30 2009 +0200
s3:smbd: restore the 3.0.x bahavior of send_nt_replies()
We should also set the error code, when we return no parameters or data.
metze
commit f62a331045581ec706949f79d01951270d8d763b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 30 10:17:38 2009 +0200
s3:smbd: move global notify_changes_by_mid to smbd_server_connection
metze
commit 99c1e4f19af9fd88c0cbb19b754c85d2aec2b99c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 30 13:25:21 2009 +0200
s3:smbd: allow the offset to the path being 0 in SMB2 create
metze
commit d47bb0a96c8205511e622eacc88de3ec31ddeeab
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 15:57:30 2009 +1000
we can't use the unique index code for samAccountName
Using ldb unique indexes for samAccountName doesn't work with DRS as
the other DC may send us a deleted record (tombstone record), which
has the same samAccountName as an existing record. That would then
create two records in the same partition with the same samAccountName.
So we needed to put back the logic in samldb.c which explicitly
checked whether a samAccountName already exists on add
commit 0aec87454b0b2e14b8fa32607d2173caa168d4de
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 15:33:01 2009 +1000
decrypt all objects in a DRS record, not just the first one
We found this as an object came across from w2k3 with zero values,
which caused a segv when we tried to decrypt the first value
commit acfb01a8f63f5b84c271ae0599bf40d92237cdf9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 15:19:40 2009 +1000
change talloc to 2.0.0
This is needed to prevent samba3 and samba4 from using an ABI
incompatible system version of talloc
See ongoing discussion on the samba-technical mailing list
commit 465b879902dcf06940730ec41542fbdf7bd8dc08
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 14:52:25 2009 +1000
Changed ldb.ERR_NO_SUCH_OBJECT to LDB_ERR_NO_SUCH_OBJECT.
The LDB_ERR_NO_SUCH_OBJECT varient is not a defined variable. This
should improve error handling in our python code on some
systems. Unfortunately it still doesn't work on mine. I need to trap
Jelmer somewhere where he can't escape some day and force him to
divulge the deep druid secrets of python exception handling ....
commit ae8515d31b55bbe47b45aa2892d5d98000f645c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 14:49:40 2009 +1000
fixed the pull of drs schema elements
The previous code incorrectly assumed that attributes such as
subClassOf come over the wire as strings. In fact they come over as 32
bit integers which refer to goversIDs. We have to post-process these
as it sometimes happens that a governsID comes over the wire before
the record that defines what it means.
commit 865ca9be64acc3bfd8bfaabb0621592234e07be7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 14:47:06 2009 +1000
the settings structure needs to be initialised
commit 0bdaa8b4aca56989acf087b609926ed22b6a77cb
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 2 14:44:48 2009 +1000
LDB_ERR_INVALID_DN_SYNTAX doesn't exist ...
The correct name is ldb.ERR_INVALID_DN_SYNTAX
commit d7af80fc2e83810d6ee049eb31a46a98dd159cb6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 2 14:34:07 2009 +1000
s4:param use talloc_unlink() to free iconv context holding references
commit 5049f61f39d6f6e95cc897372abe9b6c886e45ac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jun 30 13:44:45 2009 +0200
[SAMBA 4 directory] Changes "forceLogoff" and corrects the "subRefs"
- This changes the attribute "forceLogoff" to its' default
values according to Windows Server 2003 R2
- Also this corrects the "subRefs" attribute of the base-DN which only refers
to direct child partitions (and therefore not to the complete transitive closure)
commit 82b5fad8be2cf05c17d115fa86c1049a41fae75b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 1 17:39:10 2009 -0700
Ensure we don't use delayed writes on POSIX opened files.
Don't remove pending writetime changes if no time changes
are sent in UNIX_BASIC infolevel.
Jeremy
commit b971860e01a3e616b0dd21990c054c8f8356f513
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 1 16:58:14 2009 -0700
Fix bug #6520 time stamps - e.g. last mod time is not preserved when "unix extensions=yes" are set - and using latest cifs vfs client
Cancel out any pending "sticky" writes or "last write" changes when
doing a UNIX info level set.
Jeremy.
commit a14efbadd53ac9678d75e6029f947d63cfa0c4e5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 30 16:03:11 2009 +0200
s3:util: let parent_dirname() correctly return toplevel filenames
metze
commit b292af0c38c6aa2167adb5803ced03cf51a81a9c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 1 12:50:00 2009 +0200
s3:onefs_open: remove unused variable passed to parent_dirname()
metze
commit c229239ea4799bb18973d4bdcb4cb499043d6f15
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jul 1 12:49:06 2009 +0200
s3:smbd: remove unused variables passed to parent_dirname()
metze
commit dd118bf219de03d63412ec32f78f36105a866375
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 1 11:29:00 2009 +0200
s3:build: remove the libgpo objects upon "make clean"
Michael
commit 9d70ef4cacb9882ba5db7ee31e2f0a12363bf774
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 1 11:19:58 2009 +0200
s3:build: remove ../libcli/nbt/tools/nmblookup.o and friends in make clean
Michael
commit 8d982d91f231abbf003473d09433fca2cfa240ac
Author: Michael Adam <obnox at samba.org>
Date: Wed Jul 1 10:51:17 2009 +0200
lib/util: fix order of includes in tevent_ntstatus.c
replace.h needs to be included first.
Michael
commit 34d6d7cec82c50ce7b36fec0051063f44fed5609
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 16:36:29 2009 +1000
fixed the talloc testsuite for the recent changes
commit 3c2f4df55532b17ef4957604ffe411eb885edbaf
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 16:36:10 2009 +1000
a talloc_realloc() to zero size needs to use an unambiguous free
commit 4fb1f8e8fe46b3e77c06612ac3fc3d67cf650a11
Author: Matt Kraai <mkraai at beckman.com>
Date: Wed Jul 1 08:18:11 2009 +0200
s3/docs: Fix typo.
This fixes bug #6519.
commit 826ee307fcfc24a1f133628ffec657222569b611
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 15:15:13 2009 +1000
removed a generated file
commit 27620c85e7d55e6e522b39c7aea8f83c2b5eb9b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 15:13:49 2009 +1000
use a talloc_reparent in a very ugly way
this works around some terrible use of talloc in the libnet code
commit 0534ae012b3ef962f52fef9968eef30e88668874
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:53:32 2009 +1000
use the new talloc_reparent in two places
commit 5fe1d8dc1275e43d96da1297f5fb0d0088a1c3ab
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:53:01 2009 +1000
changes to remove the ambiguity in talloc_free() and talloc_steal()
These changes follow from the discussions on samba-technical. The
changes are in several parts, and stem from the inherent ambiguity
that was in talloc_free() and talloc_steal() when the pointer that is
being changes has more than one parent, via references.
The changes are:
1) when you call talloc_free() on a pointer with more than one parent
the free will fail, and talloc will log an error to stderr like this:
ERROR: talloc_free with references at some/foo.c:123
reference at other/bar.c:201
reference at other/foobar.c:641
2) Similarly, when you call talloc_steal() on a pointer with more
than one parent, the steal will fail and talloc will log an error to
stderr like this:
ERROR: talloc_steal with references at some/foo.c:123
reference at other/bar.c:201
3) A new function talloc_reparent() has been added to change a parent
in a controlled fashion. You need to supply both the old parent and
the new parent. It handles the case whether either the old parent was
a normal parent or a reference
The use of stderr in the logging is ugly (and potentially dangerous),
and will be removed in a future patch. We'll need to add a debug
registration function to talloc.
commit 6a192020a230ab8e085f32b5559c0fe0d2f5c1a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:08:43 2009 +1000
gensec_start now steals the auth_context
commit 386211a81ce9091db0d6dbb711dc656af412c649
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:08:13 2009 +1000
A rather strange varient of talloc_unlink
A dcerpc request may have a reference from a still completing async
callback, but we now consider the request to be complete. We want to
lose the main parent, leaving just the reference, if any.
commit 08ed6a2281121a4acca29d4f40d6959449ec9eab
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:06:56 2009 +1000
another case that should use py_talloc_reference
commit 269b16212a65c9506147db381ecdcbdd58347af6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:06:38 2009 +1000
use py_talloc_reference instead of py_talloc_import
This is one of the few cases where we want the object to be owned by
both the python object and C code
commit 12510329217dd2b8027794b63258a34797a0f940
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:05:53 2009 +1000
py_talloc_import now uses a steal, so this free is incorrect
commit 956b5a0003a3ab82d2d7cffb7aee6e5281b4fbb4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:05:17 2009 +1000
fixed use of reference in pytalloc
The previous code caused memory leaks, and also caused situations
where talloc_free could be called on pointers with multiple parents
The new approach is to have two functions:
py_talloc_import : steals the pointer, so it becomes wholly owned by
the python object
py_talloc_reference: uses a reference, so it is owned by both python
and C
commit 2d981919b8dd63655a39ccaa4fd7bdb39d1830f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:02:37 2009 +1000
use a talloc_unlink() as ops may have a reference
commit 45ba09457eadc8832ff40d2f8c0d5a6cc14ae3f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:02:12 2009 +1000
fixed the reference to the global_schema
commit f7a6206b55ee849ceddf7e97be3fc008100ba1c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:01:44 2009 +1000
removed a redundent talloc_steal
commit b2c3c08b461042de683b0e49dcaa5f9386c72f9e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 14:01:24 2009 +1000
fixed the use of talloc_steal in ntlmssp_server
The previous use of talloc_steal could cause a steal of a pointer that
had references. This ensures that doesn't happen
commit 9faa0745e9598a9096a7c69c30c273b47393e819
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jul 1 13:59:52 2009 +1000
fixed rpc smb code to not reply on talloc_free being a function pointer
The upcoming talloc_free/talloc_reference changes change talloc_free
to be a macro. These two bits of code relied on it being a function
pointer
commit b31f1e6d5bffddf5eb8df940bc4ff19f8bb5a7c4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jun 30 13:54:45 2009 +0200
[SAMBA 4 directory] Corrects the "systemFlags" attributes
Set the values like Windows Server 2003 R2.
commit d4a969530dcee576aefe93b62d64f4c5cfbf8625
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jun 30 13:52:39 2009 +0200
[SAMBA 4 directory] Adds the complete "objectclass path" to our self-created DC object
Found after some comparisons against Windows Server 2003 R2.
commit 3e3c08c7a64fcfd7b6bf18eadfc7fe069bf2951f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jun 30 13:34:09 2009 +0200
[SAMBA 4 directory] Adds the object version and "systemFlags" attribute to the display specifiers
The object version showed up in the Windows 2003 Server R2 AD.
The "systemFlags" attribute has been set to the right value.
commit 969106a21fe169282e3b42e51d9e14836d6a41b2
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Jun 30 16:59:57 2009 -0700
s3 docs: Add documentation for 'kerberos method' and 'dedicated keytab file' parameters
commit 7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e
Author: SATOH Fumiyasu <fumiyas at osstech.co.jp>
Date: Tue Jun 30 15:29:08 2009 -0700
Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.
consumed_ucs is the number of bytes
of the UCS2 path consumed not counting any
terminating null. We need to convert
back to unix charset and count again
to get the number of bytes consumed from
the incoming path.
commit 78519b65007d87870ea406315b7f233eba69e155
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 30 17:18:47 2009 +0200
s3-netlogon: remove unneeded fstrings from netlogon server.
Guenther
commit f7250144ed06b00fc1fbf1854d38483c427fad87
Author: Jeff Layton <jlayton at samba.org>
Date: Tue Jun 30 15:03:13 2009 -0400
umount.cifs: don't build it by default
Now that the sanity checks for mount.cifs default to matching the
behavior of /bin/mount, then there is virtually no need for umount.cifs.
The only exception is when someone enables the loose setuid behavior in
mount.cifs.
If an unprivileged user mounts a share that isn't in /etc/fstab, then
/bin/mount won't allow that user to unmount it. In that situation,
umount.cifs will be necessary to allow unmounting the share.
Signed-off-by: Jeff Layton <jlayton at samba.org>
Acked-by: Steve French <smfrench at us.ibm.com>
commit 91a8cb851e1919a337310e2c699d8fcf76a55060
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 30 11:42:15 2009 -0700
Fix bug #6431 - local groups from 3.0 setups no longer found.
Search for groups without group suffix, group suffix is only used for new entries.
commit b85b93dcff89e18bd15d4cef8b8c2dc61bc42cbe
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 30 13:12:01 2009 +0200
s3-spoolss: Bug #6512. Fix support for enumerating user forms.
Found while testing Xerox WorkCentre 133 PCL driver, now also tested with
torture test.
Guenther
commit e7d72b585a09f6b43df0f38ff20c74050069fb60
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 30 13:11:16 2009 +0200
s4-smbtorture: Test for newly added form with enum call in RPC-SPOOLSS.
Guenther
commit 66780e016b13db8b88eb209f568aedac6e6cf740
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 30 11:38:41 2009 +0200
s4-smbtorture: remove trailing whitespace from RPC-SPOOLSS.
Guenther
commit 9aff7b0b5934badcfe31296bc599f9d040f67811
Author: Don Davis <dodavis at redhat.com>
Date: Tue Jun 30 18:12:02 2009 +1000
Rework the kerberos-notes.txt in order and format
This reworks the notes file to be less stream-of-consciousness and more
task for porting, with a very particular focus on a potential port of
Samba4 to use MIT Kerberos.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4e58c7881e2730c2c6c2917d22b475fb289668ac
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 30 15:30:13 2009 +1000
s4:ldb Allow rootdse module to build without ldb_private.h
It seems quite reasonable to allow modules to re-initialise the set of
cached DNs on the ldb context.
Andrew Bartlett
commit 49e5b83aa93176ed1c942d2bb55258be816fe983
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 30 15:12:29 2009 +1000
s4: dsdb Avoid using the internal ldb_private.h header
This job is not complete (the partition module remains a unfinished
task), but now we do use the private ldb headers much less.
Andrew Bartlett
commit 89a074b784295204aa8d7dd585bf3533ac7971a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 30 12:11:14 2009 +1000
s4:heimdal Allow KRB5_NT_ENTERPRISE names in all DB lookups
The previous code only allowed an KRB5_NT_ENTERPRISE name (an e-mail
list user principal name) in an AS-REQ. Evidence from the wild
(Win2k8 reportadely) indicates that this is instead valid for all
types of requests.
While this is now handled in heimdal/kdc/misc.c, a flag is now defined
in Heimdal's hdb so that we can take over this handling in future (once we start
using a system Heimdal, and if we find out there is more to be done
here).
Andrew Bartlett
commit 6ba0e7f7b21b7b7e57d92c1aa90331cb93964217
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 30 12:06:38 2009 +1000
s4:kdc Only get the lp_ctx once for a LDB_fetch()
commit 684a03e7f90c9d987cdd2b34b1c02f1dfe089827
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 30 10:29:30 2009 +1000
Rework hdb-samba4 to remove useless abstractions.
The function LDB_lookup_principal() has been eliminated, and it's
contents spread back to it's callers. Removing the abstraction makes
the code clearer.
Also ensure we never pass unescaped user input to a LDB search
function.
Andrew Bartlett
commit db89b42c3b813fd4ae059f9cc51291eaf5356602
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 30 10:19:19 2009 +1000
s4:dsdb Explain the parsing steps for userPrincipalName cracknames calls
commit 0b2b9fdeda0f7933df29a73ab7d6c511d5fd1c87
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 29 23:42:58 2009 +0200
s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.
Guenther
commit 69af9eacb9214106b7448c59eb13a8bf0b832c91
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 23:23:07 2009 +0200
s3:build: check for external liblua, link lua statically if using internal lib
So liblua is treated the same way as libtalloc and libtdb.
Michael
commit 772d5dea303813514d53a42ac4114da8a9cb1c5a
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 24 00:24:03 2009 +0200
s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.
Guenther
commit 28ef5c3ece00e9f314709e74f28dc2ebc3987015
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 24 00:23:09 2009 +0200
s3-pdb_tdb: give 'unknown_str' the proper name 'comment' and set comment in passdb.
pdb_{get,set}_comment were already existing in the API but were never used.
Guenther
commit ce8159b30e751c9856e983c5b351741ce4b14558
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 29 16:31:31 2009 +0200
s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking
metze
commit 57d3ada2c94cb38c679d791f4e149319c83aa6d7
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 16:26:42 2009 +0200
s3:fix build of old linux quota system and other unixes' quota implementation
By fixing the use of struct stat_ex.
Michael
commit 36501437125fd62020429df719bba4d53e4b35fb
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 16:11:13 2009 +0200
s3:lib/sysquotas: fix usage of SMB_STRUCT_STAT (struct stat_ex).
This fixes the build with quotas / configure time detection
of sys_quota interface.
Michael
commit e4e855563bcbeb7be54de57d8c1d41d35ddc5e7a
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 29 15:39:46 2009 +0200
lib/util: fix building tevent_ntstatus without config.h
(when called from places with "#define NO_CONFIG_H" set, such as configure)
Michael
commit 857ed9ca5a99e20c0ff58e761ba87c7e6bc872bd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 29 13:13:05 2009 +0200
tsocket/bsd: also ask for TEVENT_FD_READ when we want to write into a stream socket
Otherwise we would not notice a broken connection.
metze
commit b1d5e515b23acd50ae5c41c347a2cad1726d03fb
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 29 13:05:27 2009 +0200
tsocket/bsd: more correctly check if the cached tevent_fd is still valid
I some cases the pointer value of tevent_context is the same again,
if we do something like:
ev1 = tevent_context_init();
...
fde = tevent_add_fd(ev1, fd, TEVENT_FD_READ...);
...
talloc_free(ev1);
...
ev2 = tevent_context_init();
if (ev1 == ev2) {
/* this can happen! */
}
if (tevent_fd_get_flags(fde) == 0) {
/* this is always true */
}
But the "talloc_free(ev1)" will set fde->event_ctx to NULL
and tevent_fd_get_flags() will always return 0.
metze
commit bd997b257457d928108747bcca80ed7708f8dc74
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 29 14:34:49 2009 +0200
s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.
Guenther
commit 50bb4bcc5b271ca2c321b0d0306f0c04afb604a7
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 26 16:53:51 2009 +0200
s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.
This test talks to a DC as a joined workstation member - in the same way
winbindd does, in particular the calls used in this test's query pattern
will all request for SEC_FLAG_MAXIMUM_ALLOWED access_mask
(which pretty much all of samba's client code does as well).
In fact this test verifies that winbind can correctly talk to a samba dc using
samr dcerpc calls.
Guenther
commit ec5c83c0dba28516d5c92f57dd7c88c99b17d4ab
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 26 16:51:53 2009 +0200
s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC
(ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST).
Guenther
commit 595d07d0ab494e3749c71caf86887ad1cebda229
Author: Jeff Layton <jlayton at samba.org>
Date: Mon Jun 29 06:16:38 2009 -0400
mount.cifs: don't pass text ro/rw options to kernel
/bin/mount strips off the ro/rw options after setting the MS_RDONLY
flag appropriately. Make mount.cifs do the same thing.
Signed-off-by: Jeff Layton <jlayton at samba.org>
commit 6e92505080fd6764461563e4fdf1172be1ba2963
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 29 20:12:23 2009 +1000
Fix ndrdump to use a common setup_logging() API
By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems.
The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this
to fix bug 6211.
Andrew Bartlett
commit 0e95b807b9ff7dee9d53d7294011c6e8cd82fe0e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 29 19:57:57 2009 +1000
Revert "s4:debug: make setup_logging() a bit more compatible with samba3"
The problem is that the enum was previously a 'rachet', that is, it
would only reset to a level higher than it was previouly set to.
Changing the order broke file-based logging for our production sites.
This reverts commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9.
commit 15013090df1af6a4e8330f6708d5fc30174140a2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jun 20 22:47:19 2009 +0200
Adds the impersonation level in ntcreatex requests to SAMBA 3 misc torture test
Specifies the impersonation level according to the reporter commit in bug #6283
commit 55ed0be65f07b46d51a647e556644039d68a002d
Author: David Markey <admin at dmarkey.com>
Date: Mon Jun 29 08:12:03 2009 +0200
Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf
commit c5a1aa5224395e2439e0468d653acfbd3faa25fc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jun 27 14:16:19 2009 +0200
Correct some typos in the LDB partition module
commit 4aa335be113eb89d46fd560745136ed444691f6e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jun 27 13:38:38 2009 +0200
SAMDB: Don't check for "sAMAccountName" twice
commit 077898b15819b28320bd049ad0fdfff34733a04f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jun 23 18:27:26 2009 +0200
Enhancement of "simple ldap map" with "systemFlags" attribute
Enhance the simple ldap map to support also the "systemFlags" attribute in the
correct way.
commit 994506ae2eb7e8e7eb0463fb87b261eaecb04010
Author: Andrew Kroeger <andrew at id10ts.net>
Date: Tue Jun 23 07:26:17 2009 -0500
ldb: Properly handle NULL when copying attr lists.
When copying an attribute list, ensure the list itself is not NULL before
attempting to access elements of the list.
commit 2d9b51c2a871ede1677dcf8cbf255429de431346
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jun 22 20:51:43 2009 +0200
Correct the headers of some SAMBA 4 setup python scripts
commit 1e21adaaf6409ab3e2d33a5e48da282e1926a720
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date: Mon Jun 22 15:26:33 2009 +0200
Two patches which fix issues on cross compiling/building
commit bc7b608625d427e9e6cb38312326eec59d571653
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jun 21 19:07:02 2009 +0200
Fixes for SAMBA3RPC torture test
On calls where both NT_STATUS and WERROR results are returned and consulted
we have to make sure to form function results considering both.
This errors have been found through a run against SAMBA 4.
commit b08beed0dbc1228b599884ff14eb66ea5f8f732d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jun 20 23:36:10 2009 +0200
Small patch for SPOOLSS pipe
Prevents a crash of the SAMBA 4 daemon on the torture SPOOLSS test due to not
initialised structures.
commit 8414048557305c62682c7d6c7a42a1f466e48a0a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 17:48:07 2009 +0200
_lsa_QueryInfoPolicy: Use symbolic info level names
commit 711544d4943a40649b6c590f8ee003093081889a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 17:36:12 2009 +0200
Turn the pdb_rid_algorithm into a capabilities call that returns flags
commit 325a58a6532e2a9bc7b8e21d55c9b1ccfb879bf9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 15:30:08 2009 +0200
Make pdb_ads survive a restart of Samba4
The search function retries once, the modifying call that hits a dead smbd
returns an error. The next try will reconnect. This was simple to implement and
provides a good compromise against Samba4 idling our connection. Most of the
modifying calls are quickly after a search (like OpenUser) anyway.
commit 344dbced50dda7ad788b2e1908896ae926ae471a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 15:29:38 2009 +0200
If the connection is down, don't try another write.
commit c594d21fdaea3fcee11afddc4f0d3e8c065db815
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 14:41:11 2009 +0200
Add tldap_search_va
commit ae5e1d984109d0b0d8356416d74b51c4f5311d2a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 28 13:03:14 2009 +0200
tldap_msg_received: Properly free the asn1_struct in case of an error
commit 8e22e38c9c4a08f9f49f3f8f29dab8d6a948948e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 20:03:55 2009 +0200
Move read_ldap_done after read_ldap_send
commit f5321ffea8fd9e3b4cbf236883664832a0425075
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 18:14:25 2009 +0200
Convert tldap to tstream
commit 55dae4469c1c2ba571bfaeb93de7494480e0d72b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 17:21:19 2009 +0200
Add tstream_read_packet
commit c687eb15d953006f1de1e02abad40365040a29f1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 20:04:37 2009 +0200
Properly free a downlevel readv request. Metze, please check
commit 53b9a24ce38acc79d8086b502f0e8ff048ef67bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 22:28:47 2009 +0200
tldap: Don't fire off more than one read_ldap request during searches
commit 79c299f96fe1780c0ca09d2ed429a2640ec56744
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 12:20:18 2009 +0200
Stop listening for inotify data when there's none
There have been some reports that we're flooding syslog with "No data on
inotify fd?!". I haven't been able to reproduce this yet. Until then, it is
better to just list this message once.
commit 0fb027565780eb225806893c8292bf9c2301fc1e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 27 11:31:53 2009 +0200
Fix some nonempty blank lines
commit a702dea5a86f22e0b7857b67447152a06b3bbea2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 16 11:51:11 2009 +0200
s3/lanman: Workaround for KB932762.
This addresses bug #6498.
commit 04e4d03868ea67f323bf008eb7b9af740a0467ac
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 26 21:52:34 2009 +0200
The solaris linker seems to require an extra mention of dependent libs
commit 3c382db3a3a5ccfd5348f39a79556f157f814e76
Author: Jim McDonough <jmcd at samba.org>
Date: Fri Jun 26 15:24:57 2009 -0400
Don't use ads realm name for non-ads case. #6481
Also check that the connection to ads worked.
commit 382a937800fe3618f8dd0fd17556b4643c96303b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 26 17:38:58 2009 +0200
Fix some dead code warnings from SUN Studio
commit cfafe9b9a94e2600bfee3c8390a9350d7583524d
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 26 16:45:25 2009 +0200
Fix a typo in a comment
commit 131c95eddaa23a1cc90ed81348f7f96548b5ca18
Author: Sam Liddicott <sam at liddicott.com>
Date: Fri Jun 26 12:31:19 2009 +0100
Upgrade ntvfs_map_*info to ntvfs_map_async_setup/ntvfs_map_async_finish
ntvfs_map_fsinfo, ntvfs_map_qpathinfo, ntvfs_map_qfileinfo used an
old synchronous mapping technique, acceptable on the grounds that
they were only used by the simple vfs which was synchronous.
Other vfs may/do use these functions, and by upgrading them to use the
ntvfs_map_async_setup/ntvfs_map_async_finish framework, they can now be
used asynchronously.
Signed-off-by: Sam Liddicott <sam at liddicott.com>
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a4bc5bfa95be242fe1c8e0cd520a8f1e3d2a67f5
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 26 14:09:10 2009 +0200
s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().
With the previous code, the cache can never have been hit at all.
Michael
commit 2579afc89710565bea0b16aa894b61fbb7776f26
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 17:43:28 2009 +0200
s3-vlp: drastically shrink size and dependencies of the virtual line printer.
This gets vlp from 13M down to 214K on my box.
Guenther
commit 6395bc55db6b5926c42d3419084a6ccc1256c9c7
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 25 18:40:17 2009 -0700
s3: pass a valid stat into file_ntimes()
file_ntimes() calls can_write_to_file() which expects a valid stat struct
commit eb8c658fcdda5d1337605ed5e2e8da15bc51ba20
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 25 18:19:09 2009 -0700
s3 file_access: Convert some more functions over to use smb_filneame
commit 9001c53406241aeab4a3cfe0f663b71f67611cde
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 25 17:24:19 2009 -0700
s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname()
commit da9cee8ee5424d79e5c51082e1b74a1bb2cc162e
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 25 14:44:23 2009 -0700
s3: Remove get_full_smb_filename() from open_directory()
This is possible because open_directory() returns an error if
the fname is a stream, so the base_name can be used.
commit 2ccd50122058df1fb5da0ab4d30085bb4ef5e867
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 25 11:20:36 2009 -0700
s3 onefs: Plumb smb_filename through onefs createfile path
commit 358ccc3282681b3df0ba76fecc114ad4376c8ff1
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 25 14:16:46 2009 -0700
s3: Change set_ea() and its callers to use smb_filename
commit 9c48f5bf2dcc12e6eb6170ab3a2af5ca119cf008
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 25 12:57:15 2009 -0700
Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in NT_TRANSACT_CREATE.
Reported and verified by Long Li <longli at microsoft.com>
Jeremy.
commit 4250eab4b58e6194a015bb5d464d60c69de463fc
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 25 21:36:49 2009 +0200
s4 auth_winbind: Internally, info3 has utf8 buffers, not utf16 buffers.
Thanks to gd for the catch.
commit 309924e5c1da5ee6bf14f48e9f7d10d4348b8f77
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 25 19:38:51 2009 +0200
s4 auth_winbind: Don't allocate the rids for the info3 structure within the loop
commit 946beae010145cc5066f81eb5e4b5e6392a37e2e
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 25 19:16:02 2009 +0200
s4: Add libwbclient backend to auth_winbind
commit 7450f3ad993ba5e9a1204225778222a358761e4a
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 16:38:39 2009 +0200
s3-netlogon: remove remaining netlogon init functions.
Guenther
commit 6a66114f257b251a176d728ef7ba6acecdf6e56c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 25 14:46:17 2009 +0200
Add a \n to a debug message in smbacl4_nfs42win
commit 2032a1914d72e4de89280e179c782566cafc163a
Author: Jeff Layton <jlayton at redhat.com>
Date: Thu Jun 25 07:27:25 2009 -0400
mount.cifs: add support for sending IPv6 scope ID to kernel
When getaddrinfo returns an IPv6 address with a non-zero scope_id, send
that to the kernel appended to the address with a '%' delimiter. This
allows people to mount servers via their link-local IPv6 addresses
(given a kernel that understands this address format, of course).
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 313a2bfa527796f6512b2589a8b567c86436cf12
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 12:12:05 2009 +0200
s3-netlogon: remove init_netr_SamInfo functions.
Guenther
commit f62d9f5b5774c6066229ce029bc7c96f8478a3b1
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 12:00:20 2009 +0200
s3-netlogon: fix validation level 2 support in netr_SamLogon and friends.
Guenther
commit ebf0af0bc7647df3093a2d92767095114512bdd8
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 24 00:24:55 2009 +0200
s3-examples: make get_next_oid exectuable.
Guenther
commit aab9e5509ca17c76a625d9da50b498567aaaf338
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 02:06:21 2009 +0200
s3-samr: refactor _samr_SetDomainInfo().
Guenther
commit 28d74f96fb9bbe0cf59df2f33d8d555ec0de4eb0
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 25 01:52:06 2009 +0200
s3-samr: refactor _samr_QueryDomainInfo().
Guenther
commit e129384d7c1df664e447186673dd107e190e2894
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jun 22 15:26:56 2009 -0700
s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT
This patch introduces two new temporary helper functions
vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me
to call the new smb_filename version of stat, while avoiding plumbing
it through callers that are still too inconvenient. As the conversion
moves along, I will be able to remove callers of this, with the goal
being to remove all callers.
There was also a bug in create_synthetic_smb_fname_split (also a
temporary utility function) that caused it to incorrectly handle
filenames with ':'s in them when in posix mode. This is now fixed.
commit 36c10191750c845a2a7cd6cc62149b1095c0b651
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Jun 18 11:38:42 2009 -0700
s3: Convert is_visible_file to use talloc_asprintf instead of malloc
commit b7ea2740d5b04ab312c8052ef71429f2a43007aa
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 9 22:34:14 2009 +0200
s3:smbd: send SMB2 interim responses for async calls
metze
commit 3b25d868eef517261ff111743affe75d8199040d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 9 22:33:32 2009 +0200
s3:smbd: add support for async interim SMB2 responses and prepare SMB2 cancel
metze
commit 754db207f6e77a715dff7f2d606593930776f0d8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 9 21:29:40 2009 +0200
s3:smbd: keep a list of outstanding SMB2 requests
metze
commit bea384b2776c87c22e6c7e2ae6bca2d2321fd6e1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 9 20:44:13 2009 +0200
s3:smbd: add smbd_smb2_send_oplock_break()
metze
commit cf7c41b841d03ecbe09ee531f6dd73be17948ac1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jun 9 20:02:48 2009 +0200
s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags isn't checked first
metze
commit 17a65541bd27ce852bec77ef404c6f57ae65a50c
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jun 24 12:41:16 2009 +0200
Reenable the LDAPI socket for the merged build
It seems that the samba4 part of the merged build does not pick up the
DEVELOPER flag from the s3 configure.
Jelmer, can you fix that properly?
Thanks,
Volker
commit e3fb71dac8856a67cac4514dca017dd4b939c520
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jun 24 12:39:21 2009 +0200
Only set the password if there is one
commit 46167c1d1b2ee4d77338214494decd9326b7ab93
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 24 00:27:33 2009 +0200
s4-smbtorture: more paranoid checks while testing group membership in RPC-SAMR.
Guenther
commit 05459cf833aebc8402ef9b58580aa05e0b5f653f
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 23 20:27:05 2009 +0200
s3-printing: eliminate another non sec_initial_uid using security check.
Guenther
commit 118ac25784dba37e135ed427ab347107bf8fc8e9
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 23 20:26:27 2009 +0200
s3-spoolss: restructure _spoolss_EndDocPrinter().
Guenther
commit a6ab195d72ab5b986f278662f1fbbb5d983effec
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 23 11:16:23 2009 +0200
s3-lsa: Fix error path in _lsa_EnumAccountRights.
This needs to return NT_STATUS_OBJECT_NAME_NOT_FOUND
again as described in MS-LSAD 3.1.4.5.10 and tested with the
RPC-SAMR-USER-PRIVILEGES test.
Guenther
commit e4dec230e971a761d3ff9a31013f130d55e63fd0
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 8 19:18:13 2009 +0200
s3-eventlog: implement _eventlog_ReportEventW().
Guenther
commit 451a73e3ddd93b3bad9775d6c57c3eeb73646e99
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 23 10:58:04 2009 +0200
s3: re-run make idl.
Guenther
commit ed8c0ed6bd037b8f9fa1665318d8f0e36682217a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 23 10:55:05 2009 +0200
samr: add samr_UserInfoLevel and samr_DomainInfoClass enums based on MS-SAMR.
Guenther
commit 5a4d61810961af199859dfb52981632bfe594e95
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Jun 16 15:11:32 2009 -0700
s3: forward MSG_DEBUG from smbd parent to all children
Before 3.3, an smbcontrol debug message sent to the target "smbd" would
actually be sent to all running processes including nmbd and winbindd.
This behavior was changed in 3.3 so that the "smbd" target would only
send a message to the process found in smbd.pid, while the "all" target
would send a message to all processes.
The ability to set the debug level of all processes within a single
daemon, without specifying each pid is quite useful. This was implemented
in winbindd in 065760ed. This patch does the same thing for smbd.
Upon receiving a MSG_DEBUG the parent smbd will rebroadcast it to all of
its children.
The printing process has been added to the list of smbd child processes,
and we now always track the number of smbd children regardless of the
"max smbd processes" setting.
commit 36a8abce4f737102b5a2acf3c0e221391079831d
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 22 22:35:58 2009 +0200
s3-libnet: fix libnet_unjoin_remove_machine_acct() when called without ads struct.
Guenther
commit 4aade2768b40b805b50578ec6fa99fe57525b147
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 20 18:43:58 2009 +0200
Add tldap paged searches, together with two helper routines
commit a3eb0a32a9f36cc9799e11e43f4b95fa0df272a9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 20 18:42:18 2009 +0200
Reorganize retrieving errors and server-sent controls
This attaches the data to the tldap_message instead of the tevent_req.
It adds tldap_ctx_lastmsg() to retrieve the last message for the users of
the sync wrappers.
commit 22cb9bdfd3c3a6a036db08c9c10d7c2530167fc3
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 18:20:20 2009 +0200
Move asn1_load_nocopy() to lib/util/asn1.c
commit ecf8cebf322717d6aea3f9f05ec9d210ffbb4aa6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 17:39:13 2009 +0200
Move asn1_blob() to lib/util/asn1.c
commit 361db1866812f7b189a3ea550e061c3977c15425
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 14:01:10 2009 +0200
Add tldap_supports_control
commit 6abd9e42ffbda78a3bc28984b220e7bd726a324b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 14:00:31 2009 +0200
Add tldap_entry_has_attrvalue
commit d45cf0146b62bf196ff207cd1ec52bbc39ef67ca
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 6 23:21:01 2009 +0200
tldap control support
commit 63a70ba0ad306e39311db3145d85323276e02c02
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 6 21:06:33 2009 +0200
Prepare control support
We will have arrays of controls passed to tldap.c. Follow a mantra from the
classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-)
This makes the parameter lists to tldap pretty long, but everyone will have
wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP
manpages call the non-_ext routines deprecated, probably for a reason.
commit 62eb817c06458070d090c1698e9c0a99914c6d78
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 20 11:46:42 2009 +0200
Fix setting passwords in pdb_ads
The samba4 password_hash module does not allow changing the password fields via
the "delete oldval" -> "add newval" set of modify operations, it requires a
single "replace with newval" operation.
Andrew, Samba3 by default uses that delete/add pair to detect if between
fetching the old value and storing the new one the old value has changed. This
is lost by using the "replace" operation.
Would it make sense to add this to the password_hash module?
Volker
commit f24e63af2c27fdb68dfe3151eac30960316157c2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 20 11:06:14 2009 +0200
Fix empty lines
commit eb8c081771bd69475f2de67772c1b655a23ff10d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 20 10:54:51 2009 +0200
talloc_tos() aborts if it can not get a stackframe
commit 661f0ba73b28d6165e0ba958413adf9cb97662d5
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 19 17:26:53 2009 -0700
Fix coverity #729. Resource leak in error path.
Jeremy.
commit 271d09f5992bdfe1eba6cfb39563cc899eeda178
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 19 17:20:00 2009 -0700
Fix coverity #740. Resource leak in error paths. We should
always return queue here as the caller will free.
Jeremy.
commit d9eb1d9764a27ae63c8d7f13d7f4148fd1833753
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 19 16:44:15 2009 -0700
Fix coverity #900. Resource leak.
Jeremy.
commit f262f80a1c7c9206c028abe9e2157b1dc955333b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 19 15:29:35 2009 -0700
Fix coverity #920. Possible NULL deref.
Jeremy.
commit 1e989dbb91175a6e040117ac77bcd58fba877605
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 19 14:55:00 2009 -0700
Fix coverity #676. Forward NULL.
Jeremy.
commit 8925778a61bc26e898d948ee445eb4f9781924de
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 19 21:04:06 2009 +0200
s3: fix make test with external libtalloc or libtdb.
This skips the talloctort and tdbtorture tests when the
corresponding binaries are not present.
There might be more clever ways of detecting wether samba
has been linked with internal or external libraries, but
as a first approximation, this seems valid.
Michael
commit 23c7eccc27d2263c069522a1f67e549882490040
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 19 20:31:33 2009 +0200
s3:build: build talloctort only when using the internal liballoc
Fixes the build with the external libtalloc.
And is the reasonable thing to do anyways.
Michael
commit bd70351b9493c2b3a057e47f5a393408234bdd8c
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 19 19:45:58 2009 +0200
s3:build: build the tdb tools only when using the internal libtdb
This fixes the build when internal libtdb is used.
Michael
commit e3c7720bfd199751fc8ed4a9f111a4ab72aae8b0
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 19 19:27:02 2009 +0200
s3:build: remove LIBTDB_OBJ from TDBTORTURE_OBJ collection
tdbtorture is linked with LIBTDB_LIBS, which is whatever
configure has determined to be (-ltdb or LIBTDB_OBJ ...).
Michael
commit 5ceda58b8dc27bef915128c23f3e9e4a2886b998
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 19 19:02:04 2009 +0200
s3:build: check for availability of external libtdb and use it if available
Link internal libtalloc statiaclly if extenal libtalloc is not found
or does not have appropriate version.
Michael
commit ec154a1d81dd2e71ec9fec7ed8abd1329153048e
Author: Michael Adam <obnox at samba.org>
Date: Wed Jun 17 18:20:30 2009 +0200
s3:build: link libtalloc statically if using internal libtalloc
Michael
commit 7930f15f5dce0dd72b354f903a758b03988371b8
Author: Jim McDonough <jmcd at samba.org>
Date: Fri Jun 19 13:46:07 2009 -0400
Don't require "Modify property" perms to unjoin bug #6481)
"net ads leave" stopped working when "modify properties"
permissions were not granted (meaning you had to be allowed
to disable the account that you were about to delete).
Libnetapi should not delete machine accounts, as this does not
happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).
However, to keep the functionality in "net ads leave", we
will still try to do the delete. If this fails, we try
to do the disable.
Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account. libnet can now do this as well.
commit 0524d24fb217813e4939b299b1fabe9a54b4216e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 17:36:38 2009 +0200
Add a missing talloc_move() in tldap_search_recv
commit 8d1b81926d95f149936f3eb0a50355707d6c8bfa
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 16:00:23 2009 +0200
Fix Coverity IDs 922 and 933
In copy_internals(), if the !CAN_WRITE(conn) kicks in, we end up
dereferencing a NULL smb_filename.
This adds a simple protection around it.
Tim, please check!
Volker
commit 4ad43a21344b43f1c9fe459165098bcab1695711
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Jun 19 15:23:22 2009 +0200
s3/docs: Fix typo.
This fixes bug #6412.
Thanks to Carsten Dumke <carsten [at] cdumke.de> for reporting!
Karolin
commit 756f83796fd307ed769bbc049d50c017f5eb4423
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 13:06:02 2009 +0200
Add tiny tldap test
commit b9c99a29286c748bbd706fd8757be6ef3fa9abc1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 13 11:59:39 2009 +0200
Add tldap_fetch_rootdse
commit 663e841ecdd4baddcdc4905a72c78c2868a8c408
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 12:41:16 2009 +0200
Make tevent_req_is_ldap_error public
commit 5cb6bf6f9d733cc085013174024785ab49a8bb51
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 19 11:45:01 2009 +0200
Add tldap_context_[gs]etattr
This adds the ability to attach extended information to a tldap_context. This
will become useful once we start to do automatic reconnects for example, a
callback function might want attach a pointer to credentials so that it can
rebind.
The initial user of this will be a cached rootdse, so that things like the
ability to do paged searches can be cached.
commit 862ae382b80ef158317193ffbbbc9580a50e011c
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jun 19 11:51:22 2009 +0200
s3:dmapi: prefer dmapi libs from gpfs over system libs
Patch from William Jojo sent to samba-technical:
This is based on some pain felt when building 32-bit and 64-bit Clustered Samba
on AIX with GPFS support.
Part of the problem lies in AIX only providing 32-bit shared object in
libxdsm.a(shr.o). So without libdmapi.a from gpfs.base, you get no DMAPI
support under 64-bit.
commit e6cb82a7dad2122d39d115eb8431a948dd142301
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 19 02:52:53 2009 +0200
s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.
Guenther
commit d9498aaf1b931763eac561e8601fa6ef2db01742
Merge: ec47444a7ea33e6417bac472c863b43db5baeaae 4c23a9556536561f79fa90bc431fc62fcc4e3c90
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Jun 19 15:38:33 2009 +1000
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
commit ec47444a7ea33e6417bac472c863b43db5baeaae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Jun 19 15:29:42 2009 +1000
Allow developers access the the privilaged ldapi socket for the moment
This allows us some time to get the EXTERNAL bind working
commit c0d681a73f01d3482c07aee62a33423ef18bac28
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Jun 19 14:43:51 2009 +1000
On our way to alpha9!
commit 4c23a9556536561f79fa90bc431fc62fcc4e3c90
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jun 19 13:57:30 2009 +1000
added some basic documentation for the idmap script option
commit e5a15e6589add409eb76f62a49e2b7a116a56c7c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jun 19 13:57:13 2009 +1000
added a sample script for the "idmap script" option
commit 19723ed0fcdf267ece3dbcde503f86093aceb39b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Jun 19 13:25:28 2009 +1000
Partially revert restriction of socket_wrapper to 1500 byte writes
This keeps the restriction for stream sockets (where the caller will
retry), without creating problems on datagram sockets (CLDAP is not
defined, as far as I know, across multiple UDP packets).
The commit adding this restriction was
47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d
Andrew Bartlett
-----------------------------------------------------------------------
--
Samba Shared Repository
More information about the samba-cvs
mailing list