Jelmer Vernooij
2fc058bdb0
Make generate_random_buffer signature match that of lib/util.
2008-10-19 10:16:21 +02:00
Jelmer Vernooij
7275952568
Add TALLOC_CTX pointer to generate_random_str(), for consistency with
...
Samba 4.
2008-10-19 10:05:48 +02:00
Jelmer Vernooij
f3f9446ec1
Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.
2008-10-18 16:16:57 +02:00
Jelmer Vernooij
89c9545430
Use str_list_equal() rather than str_list_compare().
2008-10-18 15:56:07 +02:00
Jelmer Vernooij
b3b6d8f3f9
Fix const, dupes.
2008-10-18 15:00:18 +02:00
Jelmer Vernooij
2d89b52be8
Use separate make variables for libutil and libcrypto.
2008-10-18 14:28:40 +02:00
Jelmer Vernooij
519458a2fa
Use shared util.c.
2008-10-18 14:27:13 +02:00
Günther Deschner
e31b9e0f66
s3: remove old marshalling for SVCCTL_QUERY_SERVICE_CONFIG.
...
Guenther
2008-10-16 09:54:50 +02:00
Günther Deschner
6a97b4147c
s3: use IDL generated rpc for _svcctl_QueryServiceConfigW.
...
Guenther
2008-10-16 09:54:49 +02:00
Günther Deschner
d2b836e19a
s3: remove rpccli_svcctl_query_config.
...
Guenther
2008-10-16 09:54:49 +02:00
Günther Deschner
018bf57c27
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 19:44:48 +02:00
Günther Deschner
911501bb8b
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 17:11:27 +02:00
Jelmer Vernooij
ec63a6f5ad
Merge branch 'master' of git://git.samba.org/samba
2008-10-15 16:16:01 +02:00
Günther Deschner
bf38baba6d
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 16:14:20 +02:00
Jelmer Vernooij
881b36f4cf
Share initshutdown.idl.
2008-10-15 16:13:02 +02:00
Jelmer Vernooij
0c840bd8d2
Share xattr implementation.
2008-10-15 15:57:39 +02:00
Jelmer Vernooij
389cfee579
Use GUID_random.
2008-10-14 02:41:20 +02:00
Jelmer Vernooij
a62c510d8b
Use GUID_from_string.
2008-10-14 02:33:41 +02:00
Jelmer Vernooij
1f3e4f39c5
Use GUID_string rather than smb_uuid_string().
2008-10-14 02:26:18 +02:00
Jelmer Vernooij
4746f79d50
Use {u,}int64_t instead of SMB_BIG_{U,}INT.
2008-10-14 01:59:36 +02:00
Volker Lendecke
76dfca1569
Make the internal pipe functions static
2008-10-13 20:59:34 +02:00
Volker Lendecke
a781b78417
Remove smb_np_struct
2008-10-13 20:59:33 +02:00
Volker Lendecke
ac126ea818
Use "struct files_struct" for pipes instead of smb_np_struct
2008-10-13 20:59:32 +02:00
Volker Lendecke
d65afbe55f
Remove the chain_fsp global
2008-10-13 19:32:39 +02:00
Volker Lendecke
c530009401
Pass struct smb_request to file_free
...
on the way to get rid of chain_fsp
2008-10-13 19:32:38 +02:00
Volker Lendecke
c3fedcddd5
Pass struct smb_request to file_new
...
Goal is to remove the chain_fsp global variable
2008-10-13 19:32:38 +02:00
Volker Lendecke
3bbe5e88e5
Pass struct smb_request to file_fsp
...
The goal is to get rid of the chain_fsp global variable
2008-10-13 19:32:37 +02:00
Jelmer Vernooij
2fddd2e2d5
Share ndrdump implementation.
2008-10-13 15:58:45 +02:00
Jelmer Vernooij
e779345bca
Import changes from upstream libndr.
2008-10-13 15:01:28 +02:00
Jelmer Vernooij
9f2ed1e00f
Share RPC binding string utility functions.
2008-10-12 19:05:46 +02:00
Jelmer Vernooij
1b99d8fbb5
Use common util_file code.
2008-10-12 17:34:43 +02:00
Volker Lendecke
756b4b6048
Revert "Make get_rpc_pipe() static"
...
This reverts commit f25972832e
.
2008-10-12 12:16:18 +02:00
Volker Lendecke
f25972832e
Make get_rpc_pipe() static
2008-10-12 11:45:33 +02:00
Jelmer Vernooij
5237369ad8
Fix warning, prototype.
2008-10-12 02:59:30 +02:00
Jelmer Vernooij
348be5f1e4
Share data_blob implementation.
2008-10-12 01:46:15 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jelmer Vernooij
cb78d4593b
Cope with changed signature of http_timestring().
2008-10-11 23:57:44 +02:00
Jelmer Vernooij
2c4391e950
Provide the same set of helper functions for DEBUG in Samba 3 and Samba
...
4, even though the macros are still different.
This makes it possible to use object code compiled with one DEBUG()
macro from the other sourceX directory.
2008-10-11 20:44:19 +02:00
Jelmer Vernooij
6a78e56277
Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4
2008-10-11 14:44:10 +02:00
Jeremy Allison
eada8f8abe
If you have a large number of cups printers, then scanning for print info can cause a client to timeout
...
(it takes longer than 30 seconds to enumerate them). Make scanning for printers async with a callback
from the main loop. This fixes a bug that was irritating *me* :-).
Jeremy.
2008-10-10 11:55:14 -07:00
Jeremy Allison
e5692d4cbe
Remove SEC_ACCESS. It's a uint32_t.
...
Jeremy.
2008-10-09 09:49:03 -07:00
Volker Lendecke
1d83fbffae
Remove a pointless level of indirection
2008-10-09 12:06:39 +02:00
Jeremy Allison
543c6a02ae
For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bits
...
to specific bits every time a security descriptor is set. The S4 torture suite proves
that generic bits are not returned when querying an ACL set using them (ie. only
the specific bits are stored on disk).
Jeremy.
2008-10-08 18:06:58 -07:00
Jeremy Allison
646df8bec6
Deal with inheritance from parent directory when setting Windows
...
ACLs.
Jeremy.
2008-10-08 15:18:25 -07:00
Jeremy Allison
ec5d09dbff
Update vfs version as I've added a const to the security_descriptor paramter in fset_nt_acl().
...
Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules.
Jeremy.
2008-10-07 17:50:01 -07:00
Jeremy Allison
2024d87cf5
Make map_errno_from_nt_status() a generic call, not just a cli specific one.
...
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files.
Jeremy.
2008-10-07 14:43:42 -07:00
Volker Lendecke
439086099a
Add netlogond auth method
...
This authenticates against a local running samba4 using SamLogonEx. We retrieve
the machine password using samba4's mymachinepwd script and store the schannel
key for re-use in secrets.tdb.
2008-10-06 09:54:17 +02:00
Volker Lendecke
f3ba7fc0b9
Store a local schannel key in secrets.tdb
2008-10-06 09:54:16 +02:00
Jeremy Allison
a9390d3047
Correctly fix smbclient to terminate on eof from server.
...
Jeremy.
2008-10-03 14:58:41 -07:00
Jeremy Allison
f6c883b4b0
Simply our main loop processing. A lot :-). Correctly use events for all the previous "special" cases.
...
A step on the way to adding signals to the events and being able to merge the S3 event system with
the S4 one.
Jeremy.
2008-10-03 14:18:35 -07:00