Günther Deschner
3522f9dc4b
s3-waf: fix configure check for HAVE_LINUX_FALLOCATE64.
...
Guenther
2011-10-11 19:50:31 +02:00
Günther Deschner
245c8c1c02
s3-waf: fix configure check for HAVE_LINUX_FALLOCATE.
...
Guenther
2011-10-11 19:50:31 +02:00
Günther Deschner
028cf00293
s3-waf: fix configure check for HAVE_POSIX_FADVISE.
...
Guenther
2011-10-11 19:50:31 +02:00
Jeremy Allison
2ecfa0c1aa
Fix the VFS for fsctl.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104
2011-10-11 19:49:22 +02:00
Stefan Metzmacher
e425a17cb4
lib/param: fix typo _SAMBA_BUILD => _SAMBA_BUILD_ causing segfaults
...
If lpcfg_dns_update_command() returns NULL 'samba' segfaults on startup.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Oct 11 17:25:19 CEST 2011 on sn-devel-104
2011-10-11 17:25:19 +02:00
Stefan Metzmacher
3c4eb2cab6
script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps
...
Calling 'waf configure' while compiling .c files makes it very hard to
find compile errors. We do 'make -j 4 bin/smbtorture4' before 'make -j 4 everything'.
metze
2011-10-11 15:52:25 +02:00
Michael Adam
6760011761
s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return type
...
for consistency and better error propagation
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Oct 11 15:51:00 CEST 2011 on sn-devel-104
2011-10-11 15:51:00 +02:00
Michael Adam
c9bc1e4924
s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type
...
for consistency and better error propagation
2011-10-11 14:17:58 +02:00
Michael Adam
658f72128f
s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of bool)
...
for consistency and better error propagation
2011-10-11 14:17:58 +02:00
Michael Adam
603c3e1bcb
s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code
...
Return the int32 value retrieved from the db by reference.
Before this, return value "-1" was used as a error indication,
but it could also be a valid value from the database.
2011-10-11 14:17:58 +02:00
Michael Adam
ce8626cbbe
s3:idmap_tdb2: fix hwm-handling to use uint32 consistently
...
The initialization code user int32, later writes used uint32...
2011-10-11 14:17:58 +02:00
Michael Adam
ba88e4e0d8
s3:idmap_tdb: fix hwm-handling to use uint32 consistently
...
The initialization code user int32, later writes used uint32...
2011-10-11 14:17:58 +02:00
Michael Adam
f03e4aea66
s3:passdb:account_pol: use dbwrap_fetch_uint32, not dbwrap_fetch_int32 for the DB version
...
This is also stored as uint32_t.
2011-10-11 14:17:58 +02:00
Michael Adam
f8cad3a768
s3:idmap_autorid: make a debug message more precise
2011-10-11 14:17:58 +02:00
Michael Adam
b4e528ab54
s3:idmap_autorid: untangle function from check and log status in idmap_autorid_db_init()
2011-10-11 14:17:58 +02:00
Michael Adam
8750e3f22c
s3:dbwrap: move definitions of db_record and db_contect structs to dbwrap_private.h
...
The API and callers now only need the forward declarations.
2011-10-11 14:17:58 +02:00
Michael Adam
6fb5c47f21
s3:torture: convert torture.c to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
311ed56afe
s3:locking: convert posix.c to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
f0ab22e6ec
s3:locking: convert locking.c to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
5cbc505e6d
s3:locking: convert brlock to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
e2328ac33c
s3:messages: convert to use only dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
82428adee6
s3:groupdb: convert mapping_tdb.c to use dbwrap wrapper functions only
2011-10-11 14:17:57 +02:00
Michael Adam
33405972b2
s3:rpc_server: convert srvsvc to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
506349832c
s3:smbd: convert notify db to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
ec057c369f
s3:smbd: convert session.c to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
43a13b55fc
s3:smbd: convert connections.c to use only dbrwap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
608ac61729
s3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
4bfda2d3fe
s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
4cb75bdbb1
s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
ceb9f572ab
s3:vfs: change the xattr_tdb module to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
c7c1a3e276
s3:printing: convert printer_list to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
3f214284c7
s3:secrets: convert to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
8b4845bd75
s3:passdb: convert account_pol to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
8b4dd99dae
s3:passdb: convert machine_sid to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
a91f06a722
s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs
2011-10-11 14:17:57 +02:00
Michael Adam
7458aac0f1
s3:net: convert net idmap check to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
1f57f9ed13
s3:net: convert net idmap to use only dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
3d52de343a
s3:idmap: convert idmap_tdb to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
f1057ac3dd
s3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
79a4911d75
s3:privileges: convert privileges.c to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
736af26062
s3:g_lock: convert to use only dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
7057b4d1ac
s3:registry: convert reg_backend_db to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs
2011-10-11 14:17:57 +02:00
Michael Adam
ff7918770d
s3:talloc_dict: change to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
248cb2310c
s3:sharesec: convert sharesec.c to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs
2011-10-11 14:17:56 +02:00
Michael Adam
bbe7811019
s3:sessionid: convert to using dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:56 +02:00
Michael Adam
bdee9458f6
s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()
...
This also changes the return code of sessionid_traverse_read() to NTSTATUS.
It also uses traverse_read instead of traverse.
2011-10-11 14:17:56 +02:00
Michael Adam
6656de1346
s3:sessionid: use dbwrap_travers() in sessionid_traverse()
...
This also changes sessionid_traverse to NTSTATUS return type.
2011-10-11 14:17:56 +02:00
Michael Adam
c8924ecc41
s3:net: convert net serverid to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:56 +02:00
Michael Adam
85ae3c3fd4
s3:serverid: convert to using dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:56 +02:00
Michael Adam
5bfdd73a64
s3:net: fix the exit code of net serverid wipe
2011-10-11 14:17:56 +02:00