Günther Deschner
afba859be0
s4-samr: merge User Object specific access rights from s3 idl.
...
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
6548c88ba7
s4-samr: merge SAM server specific access rights from s3 idl.
...
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
7f58bba558
s4-samr: fix tests for binary parameter string.
...
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
244dee6275
s4-samr: prepare for Query.*Info calls: change macros.
...
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
9888ed1d9b
s4-samr: merge samr_UserInfo20 from s3 idl.
...
This must not be treated as a normal string (strlen truncates it).
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
1f846f6e61
s3-build: re-run make samba3-idl (after cleanup).
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
a4c24b4d30
s3-samr-idl: cleanup.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
843135c841
s4-samr: move samr.idl to toplevel idl directory.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
fdc28cf8a5
s3-netlogon: fix type of parameters string in user delta.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
e004307000
s4-netlogon: change parameters string to lsa_BinaryString.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
c8a8c2388b
s4-dsdb: add samdb_msg_add_parameters.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
e78379be0b
s4-dsdb: add samdb_result_parameters.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
0474c8665d
nterrors: add NT_STATUS_DS_BUSY.
...
Guenther
2008-11-10 21:46:24 +01:00
Michael Adam
951cf45ee7
[s3]build: prevent make errors for picky makes when $(EXTRA_ALL_TARGETS) is empty
...
picky make implementations don't like lines with only tabs in rules or dependencie
Michael
2008-11-10 17:00:22 +01:00
Michael Adam
4c391c94f4
[s3]build: build cifs.upcall at build time instead of at install time.
...
This is to prevent problems with packaging scripts that pass CFLAGS
to make but not to make install...
Based on a patch for v3-2 by Martin Schwenke <martin@meltin.net>.
Michael
2008-11-10 17:00:04 +01:00
Kai Blin
7d8787c915
ntlm_auth: Put huge NTLMv2 blobs into extra_data on CRAP auth.
...
This fixes bug #5865
2008-11-10 12:50:02 +01:00
Jeremy Allison
d64caaf593
Remove debug code added in error.
...
Jeremy.
2008-11-08 23:06:21 -08:00
Jeremy Allison
813bf8b4f4
Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass RAW-ACL inheritance tests. Only access masks for SD get/set left to fix.
...
Jeremy.
2008-11-08 22:57:57 -08:00
Volker Lendecke
5a33e906f6
Make "construct_reply_common" static
2008-11-08 10:42:29 +01:00
Volker Lendecke
8315677ca3
Do not write into inbuf for the transs request
...
Instead, fix up the outbuf in send_xx_reply. In those routines, we know
what we are returning.
2008-11-08 10:42:29 +01:00
Volker Lendecke
7a35506bb8
Remove direct inbuf refs from send_trans_reply
2008-11-08 10:42:29 +01:00
Volker Lendecke
8637dd1232
change CHECK_READ to use smb_request instead of inbuf
2008-11-08 10:42:28 +01:00
Volker Lendecke
807ad174b2
Remove a direct inbuf reference from reply_nttrans()
2008-11-08 10:42:28 +01:00
Volker Lendecke
52958ea115
Remove a direct inbuf reference (should have been removed with 8987641d...)
2008-11-08 10:42:28 +01:00
Volker Lendecke
5e2956557b
Remove the change to the user context in process_blocking_lock_queue()
2008-11-08 10:42:28 +01:00
Volker Lendecke
87d4138d09
Converting notify.c to store a request, not an inbuf
2008-11-08 10:42:20 +01:00
Stefan Metzmacher
8d4aaefd86
s3: add missing librpc/gen_ndr/ndr_dom_sid.h
...
metze
2008-11-08 09:16:44 +01:00
Stefan Metzmacher
f0b3f98b4f
s4: dsdb/schema: fix the equality and comment of DN+String syntax
...
metze
2008-11-08 08:02:28 +01:00
Stefan Metzmacher
07ee1a6e14
s3: make idl
...
metze
2008-11-08 08:02:27 +01:00
Stefan Metzmacher
1e80221b23
security.idl: sometimes ACEs have some padding at the end
...
metze
2008-11-08 08:02:27 +01:00
Stefan Metzmacher
03b9547b47
s4: use toplevel security.idl
...
metze
2008-11-08 08:02:27 +01:00
Stefan Metzmacher
0d25517723
s3: security.idl: split of dom_sid stuff into dom_sid.idl
...
And use the toplevel ndr_sec_helper.c
metze
2008-11-08 08:02:26 +01:00
Stefan Metzmacher
9579036dc5
s4: fix samba4.samba3sam.python test
...
metze
2008-11-08 08:02:25 +01:00
Stefan Metzmacher
ff5c58da55
librpc/ndr: move ndr_sec_helper.c to the toplevel
...
metze
2008-11-07 22:41:12 +01:00
Stefan Metzmacher
da9f41dde2
s4: ndr_sec_helper: remove unused include
...
metze
2008-11-07 22:33:45 +01:00
Stefan Metzmacher
c6e5788435
s4: security.idl: for now move server_id also to dom_sid.idl
...
We should move server_id somewhere else...
metze
2008-11-07 18:06:54 +01:00
Stefan Metzmacher
616bc99b14
s4: security.idl: split of dom_sid stuff into dom_sid.idl
...
This prepares having a shared security.idl file
metze
2008-11-07 16:45:37 +01:00
Jeremy Allison
5a2feed9dc
If we didn't inherit any ACE's the ACE pointer should be NULL.
...
Jeremy.
2008-11-06 23:29:20 -08:00
Jeremy Allison
8962be69c7
Make us clean under valgrind --leak-check=full by using talloc_autofree_context() instead of NULL.
...
Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting
to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should
be deleted when their parent context is deleted, so freeing them at some arbitrary point later
will be a double-free.
Jeremy.
2008-11-06 20:48:13 -08:00
Herb Lewis
7ae6253455
Convert to use VFS layer.
2008-11-06 20:40:20 -08:00
Jeremy Allison
8b4b5c3a92
Add wrapper str_list_make_v3() to replace the old S3 behavior of
...
str_list_make(). From Dan Sledz <dan.sledz@isilon.com>:
In samba 3.2 passing NULL or an empty string returned NULL.
In master, it now returns a list of length 1 with the first string set
to NULL (an empty list).
Jeremy.
2008-11-06 18:53:00 -08:00
Günther Deschner
2c5a9f0a57
s4-test: skip netr_DatabaseRedo test.
...
Guenther
2008-11-06 23:25:40 +01:00
Volker Lendecke
ace87f16c0
For proxied named pipes, connect to np/<pipe_name> and send auth info
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-11-06 21:39:15 +01:00
Stefan Metzmacher
e9b8dd561f
s3: build ndr_named_pipe_auth.c
...
metze
2008-11-06 21:39:15 +01:00
Stefan Metzmacher
6815fd1730
s3: rpc: let serverinfo_to_SamInfo3() work with no pipe_session_key
...
metze
2008-11-06 21:39:14 +01:00
Stefan Metzmacher
9666582b50
s4: rpc_server: listen on named_pipes
...
metze
2008-11-06 21:39:14 +01:00
Stefan Metzmacher
21aa4ea6b9
s4: smbd: implement stream_socket_named_pipe()
...
For now implement just a very simple protocol
to negotiate the transport session info.
We may need to pass more info later,
e.g. client ip or name...
metze
2008-11-06 21:39:13 +01:00
Stefan Metzmacher
1a60fc02d8
librpc/idl: Add named_pipe_auth.idl to Samba4
...
metze
2008-11-06 21:39:13 +01:00
Jeff Layton
32695912dd
mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog
...
The util-linux-ng sources have a good, but rather complex scheme for
locking the mtab before updating it. Mount helpers need to follow the
same scheme. Advisory locking only works if everyone is using the same
locking scheme.
Copy the routines we need from util-linux-ng into a separate source file
and then have mount.cifs and umount.cifs link in this object.
The long term goal is to have these routines in a separate helper
library (libmount). Mount helpers can then dynamically link in that lib.
Until that happens, this should serve as a suitable stopgap solution.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-11-06 15:07:07 -05:00
Günther Deschner
db26f7b7c4
s4-smbtorture: add test for netr_DatabaseRedo.
...
Guenther
2008-11-06 18:52:48 +01:00