Volker Lendecke
3376e7a6a0
Slightly simplify logic in process_lockingX()
...
The "else" is pointless here, we did a "return True" in the if branch.
2008-11-04 20:52:07 +01:00
Volker Lendecke
59e237cae5
Slightly simplify logic in remove_pending_lock_requests_by_mid()
...
Use "continue" for (SVAL(blr->inbuf,smb_mid) != mid)
2008-11-04 20:52:07 +01:00
Volker Lendecke
eddb43c713
Slightly simplify logic in cancel_pending_lock_requests_by_fid()
...
Use a "continue" for (blr->fsp->fnum != fsp->fnum)
2008-11-04 20:52:07 +01:00
Volker Lendecke
f0ba601c26
Convert blocking.c to use talloc
2008-11-04 20:52:06 +01:00
Volker Lendecke
8987641db8
Rewrite aio.c to keep the whole smb_request structure, not just the inbuf
2008-11-04 20:52:06 +01:00
Volker Lendecke
b8125663d9
Make "inbuf" a talloc child of "smb_request" for normal smb requests
...
This is necessary if we want to keep the whole smb_request for deferred ops.
The explicit settings of req->inbuf will be removed once all those deferring
operations are converted to store the whole request and not just the inbuf.
2008-11-04 20:52:06 +01:00
Volker Lendecke
e4897a5376
Add construct_reply_common_req wrapper
...
The goal is to remove the remaining direct calls to construct_reply_common.
2008-11-04 20:52:06 +01:00
Volker Lendecke
d62ff20cd5
Fix nonempty blank lines
2008-11-04 20:52:06 +01:00
Volker Lendecke
71bc6e93a1
Use talloc for struct aio_extra
2008-11-04 20:52:06 +01:00
Joe Smith
d997435f2d
Fixed typo in source/utils/net_rap.c
2008-11-04 20:40:23 +01:00
Günther Deschner
3fa7a1b085
s3-libnet_samsync: print new line in display output.
...
Guenther
2008-11-04 19:55:07 +01:00
Günther Deschner
89fac8c1b6
s4-smbtorture: fix some obvious copy-paste errors.
...
Guenther
2008-11-04 19:55:07 +01:00
Volker Lendecke
37f4c70920
Ignore 3.0 style invalid group mappings during upgrade to ldb
2008-11-04 10:56:24 +01:00
Jeremy Allison
bfc59f63f3
Pass all of RAW-ACLS except for inheritence. Working on that next.
...
Jeremy.
2008-11-04 01:34:08 -08:00
Volker Lendecke
0953688012
Trigger (and fix) a bug in Samba3 making smbd an infinite data source
...
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite
stream of ERRinvuid replies :-(
2008-11-04 09:41:15 +01:00
Jeremy Allison
d98e48c7cb
Be more verbose about a directory ACL error.
...
Jeremy.
2008-11-03 23:54:05 -08:00
Jeremy Allison
6a37302b55
Pass the directory versions of the RAW-ACL (still not inheritance). Refactor some common code between open_file_ntcreate() and open_directory().
...
Jeremy.
2008-11-03 23:18:43 -08:00
Jeremy Allison
4f8fac1b8e
Pass all the non-inherited S4 RAW-ACL tests.
...
Jeremy.
2008-11-03 22:42:53 -08:00
Andrew Bartlett
31158c0256
Use ldb_dn_from_ldb_val() to create a DN in the SAMR server
...
The previous code incorrectly cast an ldb_val into a char *.
Andrew Bartlett
2008-11-04 16:06:57 +11:00
Andrew Bartlett
2fc5ca8409
Re-add support for supporting the PAC over domain trusts.
...
(This was not entered in lorikeet-heimdal.diff, so missed by metze's import).
Andrew Bartlett
2008-11-04 16:06:57 +11:00
Andrew Bartlett
169f906408
Give a better error when ldb_dn_from_ldb_val fails
2008-11-04 16:06:57 +11:00
Andrew Bartlett
9381a78c39
Use ldb_dn_from_ldb_val to avoid possible over-run of the value.
...
The ldb_val is length-limited, and while normally NULL terminated,
this avoids the chance that this particular value might not be, as
well as avoiding a cast.
Andrew Bartlett
2008-11-04 16:06:56 +11:00
Andrew Bartlett
adf016e119
Fix use of wrong union arm in linked_attributes module
...
This bug occours frequenetly in ldb users because the union so happens
to be layed out that this works. However, it is still incorrect
usage...
Andrew Bartlett
2008-11-04 16:06:56 +11:00
Günther Deschner
be5c79cbec
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-04 02:46:41 +01:00
Günther Deschner
9dd4abd780
netlogon: fix IDL for netr_DatabaseRedo.
...
Guenther
2008-11-04 02:45:36 +01:00
Tim Prouty
2efacde8c4
s3: fix a few "shadows a global declaration" warnings
2008-11-03 14:44:38 -08:00
Stefan Metzmacher
4f25c77924
s3: proto.h: add missing sys_[g|s]et_quota_vfs() prototypes
...
metze
2008-11-03 18:02:03 +01:00
Stefan Metzmacher
7ed352b0c9
s4:torture: PROVISION isn't used by all tests
...
We should not pollute all torture object files with
EXT_LIB_PYTHON_CFLAGS
metze
2008-11-03 18:02:02 +01:00
Stefan Metzmacher
973d50a7ff
s4:torture: fix names of defines
...
metze
2008-11-03 18:02:02 +01:00
Volker Lendecke
eb9656e757
Fix nonempty blank lines
2008-11-03 17:58:12 +01:00
Volker Lendecke
9a05c277ca
Make a comment match its function definition
2008-11-03 17:58:07 +01:00
Jelmer Vernooij
c5a70cab25
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-11-03 00:15:27 +01:00
Jelmer Vernooij
1575cae7e5
Fix memory leak.
2008-11-03 00:14:26 +01:00
Jelmer Vernooij
b45caa44e1
Fix the build.
2008-11-02 23:58:49 +01:00
Volker Lendecke
7808a2594c
Remove some inbuf references by adding "cmd" to smb_request
2008-11-02 23:17:01 +01:00
Volker Lendecke
792324bf5a
Remove the inbuf reference from map_checkpath_error()
2008-11-02 22:38:03 +01:00
Volker Lendecke
e7607b95f2
Remove a direct inbuf reference in reply_negprot
2008-11-02 22:38:02 +01:00
Michael Adam
17218df567
[s3]winbindd: speed up fill_grent_mem (i.e. winbindd_getgrent) a lot.
...
With large groups, getgrent ran into timeouts because after each
single user that was added to the expanded group list, the list
was sorted and made unique.
Now the list is sorted just once after all members have been added.
Michael
2008-11-02 22:29:17 +01:00
Volker Lendecke
f3e638bc9f
Make a [un]become_root wrap a bit tighter
...
Sooner or later this would bite us.
2008-11-02 21:53:44 +01:00
Volker Lendecke
c2a280ac63
Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_reply
2008-11-02 21:20:41 +01:00
Jelmer Vernooij
4147ad1e98
Remove global_loadparm.
2008-11-02 19:33:34 +01:00
Jelmer Vernooij
a9dbd73b2f
Remove last instance of global_loadparm.
2008-11-02 19:32:50 +01:00
Jelmer Vernooij
1e053df95c
Remove use of global_loadparm for disabled gensec backends.
2008-11-02 19:28:17 +01:00
Jelmer Vernooij
3fda6c5c2a
Remove global_loadparm stub in Samba 3 as it's no longer used.
2008-11-02 18:28:06 +01:00
Jelmer Vernooij
ee7c2170a7
Remove another use of global_loadparm.
2008-11-02 18:27:24 +01:00
Jelmer Vernooij
e7810b1bc2
Use standard heimdal function for finding interfaces - libreplace provides support for the underlying functions now.
2008-11-02 18:14:53 +01:00
Jelmer Vernooij
15c0aad880
Remove unused include of param/param.h.
2008-11-02 18:13:19 +01:00
Volker Lendecke
77f52d903f
Use "vwv" in trans parsing
2008-11-02 17:46:08 +01:00
Jelmer Vernooij
b327c0a2da
Samba3: Remove more configure tests already done by libreplace.
2008-11-02 17:39:41 +01:00
Jelmer Vernooij
41e44d6958
Remove MIN, MAX, slprintf, vslprintf defines already provided by libreplace.
2008-11-02 17:29:39 +01:00