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
Jelmer Vernooij
28d374ec15
Use environment variable rather than loadparm parameter when testing
...
nonblocking sockets.
2008-11-02 17:21:46 +01:00
Jelmer Vernooij
62c57cb400
Remove use of global_loadparm when comparing nt status error - use
...
global variable instead.
2008-11-02 17:11:20 +01:00
Jelmer Vernooij
a1cc278142
Remove use of global_loadparm during initialization of gensec.
2008-11-02 17:04:22 +01:00
Volker Lendecke
2bab73a18d
Remove a bunch of direct inbuf references by adding "vwv" to smb_request
2008-11-02 16:58:19 +01:00
Jelmer Vernooij
cb77fca1cd
Remove use of global loadparm in python modules.
2008-11-02 16:50:11 +01:00
Jelmer Vernooij
e11a7b3a0b
Add utility function for getting the default loadparm context from a python module.
2008-11-02 16:48:48 +01:00
Jelmer Vernooij
ef915eff16
Move check of SMB_CONF_PATH to loadparm code.
2008-11-02 16:46:32 +01:00
Jelmer Vernooij
8f763308bc
Add *test4 rules to merged build Makefile, to allow running the Samba 4 tests against Samba 4. (doesn't work yet).
2008-11-02 16:38:27 +01:00
Jelmer Vernooij
29a20af75f
Remove use of global_loadparm for SMB2 client connections.
2008-11-02 16:20:00 +01:00
Jelmer Vernooij
ff36c52d8c
Remove another use of global_loadparm.
...
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Volker Lendecke
f120038a1f
Fix bug 5860: safe_strcpy gives a nasty error message for overlong strings
...
Thanks to Robert Dahlem <Robert.Dahlem@gmx.net> for reporting this!
2008-11-02 10:41:09 +01:00
Volker Lendecke
c6973e69b7
Remove an unused variable
2008-11-02 09:40:30 +01:00
Volker Lendecke
e48364af2f
Rename "inbuf" to "base_ptr" in srvstr_get_path_*
2008-11-02 09:22:40 +01:00