svn commit: samba r10922 - in branches/tmp/samba4-winsrepl: .
source/auth/gensec source/dsdb/samdb
source/dsdb/samdb/ldb_modules source/include
source/ldap_server source/lib source/lib/ldb
source/lib/ldb/common source/lib/ldb/include
source/lib/ldb/ldb_tdb source/lib/ldb/modules
source/lib/ldb/tools source/lib/registry source/libcli/ldap
source/libnet source/nbt_server/wins source/rpc_server/lsa
source/scripting/ejs source/setup source/smbd
source/torture/raw source/web_server testprogs/ejs
metze at samba.org
metze at samba.org
Wed Oct 12 14:37:47 GMT 2005
Author: metze
Date: 2005-10-12 14:35:12 +0000 (Wed, 12 Oct 2005)
New Revision: 10922
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10922
Log:
r13657 at SERNOX (orig r10912): tridge | 2005-10-12 08:03:28 +0200
added a test for supporting batch oplock upgrades
r13658 at SERNOX (orig r10913): tridge | 2005-10-12 08:10:23 +0200
This patch isn't as big as it looks ...
most of the changes are fixes to make all the ldb code compile without
warnings on gcc4. Unfortunately That required a lot of casts :-(
I have also added the start of an 'operational' module, which will
replace the timestamp module, plus add support for some other
operational attributes
In ldb_msg_*() I added some new utility functions to make the
operational module sane, and remove the 'ldb' argument from the
ldb_msg_add_*() functions. That argument was only needed back in the
early days of ldb when we didn't use the hierarchical talloc and thus
needed a place to get the allocation function from. Now its just a
pain to pass around everywhere.
Also added a ldb_debug_set() function that calls ldb_debug() plus sets
the result using ldb_set_errstring(). That saves on some awkward
coding in a few places.
r13659 at SERNOX (orig r10914): tridge | 2005-10-12 08:30:47 +0200
moved the ldap time string functions into ldb so they can be used by
the time attribute handling functions
r13660 at SERNOX (orig r10915): tridge | 2005-10-12 09:54:15 +0200
added a standard attribute handler for a ldap UTC time string
r13661 at SERNOX (orig r10916): tridge | 2005-10-12 09:57:39 +0200
- finished the 'operational' ldb module
- removed the timestamps module, replacing it with the operational module
- added a ldb_msg_copy_shallow() function which should be used when a module
wants to add new elements to a message on add/modify. This is needed
because the caller might be using a constant structure, or may want to
re-use the structure again
- enabled the UTC time attribute syntaxes in the operational module
r13662 at SERNOX (orig r10917): tridge | 2005-10-12 10:11:45 +0200
copy the element name in a ldb_msg_rename_attr() and ldb_msg_copy_attr() to ensure
that callers (like the ldap server) can talloc_steal the name
r13663 at SERNOX (orig r10918): tridge | 2005-10-12 10:51:12 +0200
- fixed standalone ldb build
- added note about allowedAttributesEffective (will be needed for mmc)
- fixed some more ldb warnings
r13664 at SERNOX (orig r10919): tridge | 2005-10-12 10:53:42 +0200
fixed the ldb test for the new operational module
r13665 at SERNOX (orig r10920): tridge | 2005-10-12 13:04:01 +0200
in case of a accept() failure just failing and trying again is no
good, as it is probably a resource constraint, so if we just try again
we will spin (as the incoming socket will still be readable). Using a
sleep(1) solves this by throtting smbd until the resource constraint
goes away.
if the resource constraint doesn't go away, then at least smbd won't
be spinning chewing cpu
Added:
branches/tmp/samba4-winsrepl/source/lib/ldb/modules/operational.c
Removed:
branches/tmp/samba4-winsrepl/source/lib/ldb/modules/timestamps.c
Modified:
branches/tmp/samba4-winsrepl/
branches/tmp/samba4-winsrepl/source/auth/gensec/schannel_state.c
branches/tmp/samba4-winsrepl/source/dsdb/samdb/ldb_modules/objectguid.c
branches/tmp/samba4-winsrepl/source/dsdb/samdb/ldb_modules/samba3sam.c
branches/tmp/samba4-winsrepl/source/dsdb/samdb/ldb_modules/samldb.c
branches/tmp/samba4-winsrepl/source/dsdb/samdb/samdb.c
branches/tmp/samba4-winsrepl/source/include/ioctl.h
branches/tmp/samba4-winsrepl/source/ldap_server/ldap_rootdse.c
branches/tmp/samba4-winsrepl/source/lib/ldb/Makefile.in
branches/tmp/samba4-winsrepl/source/lib/ldb/common/attrib_handlers.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_attributes.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_debug.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_dn.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_ldif.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_match.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_modules.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_msg.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_parse.c
branches/tmp/samba4-winsrepl/source/lib/ldb/common/ldb_utf8.c
branches/tmp/samba4-winsrepl/source/lib/ldb/config.mk
branches/tmp/samba4-winsrepl/source/lib/ldb/include/ldb.h
branches/tmp/samba4-winsrepl/source/lib/ldb/include/ldb_private.h
branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_cache.c
branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_index.c
branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_pack.c
branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_search.c
branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_tdb.c
branches/tmp/samba4-winsrepl/source/lib/ldb/modules/ldb_map.c
branches/tmp/samba4-winsrepl/source/lib/ldb/modules/rdn_name.c
branches/tmp/samba4-winsrepl/source/lib/ldb/modules/schema.c
branches/tmp/samba4-winsrepl/source/lib/ldb/tools/ldbtest.c
branches/tmp/samba4-winsrepl/source/lib/ldb/tools/oLschema2ldif.c
branches/tmp/samba4-winsrepl/source/lib/registry/reg_backend_ldb.c
branches/tmp/samba4-winsrepl/source/lib/time.c
branches/tmp/samba4-winsrepl/source/libcli/ldap/ldap.c
branches/tmp/samba4-winsrepl/source/libnet/libnet_join.c
branches/tmp/samba4-winsrepl/source/nbt_server/wins/winsdb.c
branches/tmp/samba4-winsrepl/source/rpc_server/lsa/dcesrv_lsa.c
branches/tmp/samba4-winsrepl/source/scripting/ejs/smbcalls_sys.c
branches/tmp/samba4-winsrepl/source/setup/provision_init.ldif
branches/tmp/samba4-winsrepl/source/setup/rootdse.ldif
branches/tmp/samba4-winsrepl/source/setup/secrets.ldif
branches/tmp/samba4-winsrepl/source/smbd/process_single.c
branches/tmp/samba4-winsrepl/source/smbd/process_standard.c
branches/tmp/samba4-winsrepl/source/smbd/process_thread.c
branches/tmp/samba4-winsrepl/source/torture/raw/ioctl.c
branches/tmp/samba4-winsrepl/source/web_server/web_server.c
branches/tmp/samba4-winsrepl/testprogs/ejs/ldb.js
Changeset:
Sorry, the patch is too large (3310 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10922
More information about the samba-cvs
mailing list