Volker Lendecke
c4ff426f67
Fix the build of smbfilter
2009-01-04 17:29:27 +01:00
Volker Lendecke
fafb9ecc61
open_socket_out is always used with SOCK_STREAM, remove argument "type"
2009-01-03 19:22:06 +01:00
Jeremy Allison
07e0094365
Fix all warnings in source3 with gcc4.3.
...
Jeremy.
2008-12-31 18:06:57 -08:00
Steven Danneman
9a90e4cecb
Add -D option to sharesec util to delete the entire security descriptor.
...
* also modified --usage descriptions to be more accurate
2008-12-28 17:45:41 -08:00
Steven Danneman
fd84ef938b
Change error messages in sharesec util to go to stderr instead of stdout
2008-12-28 17:45:33 -08:00
Steven Danneman
04959a00e4
Cleaned up whitespace issues in sharesec.c
2008-12-28 17:45:16 -08:00
Volker Lendecke
bb8ca0fdbf
Make cli_negprot return NTSTATUS instead of bool
2008-12-19 10:28:30 +01:00
Volker Lendecke
09e6dfb8e8
net lua
...
This adds a lua command line interpreter with some sample code how to build
your own data types based on our internal data types.
Not meant as the final word, but as a playground for experiments for people.
Might be removed later when we find this turns out to be too awkward.
2008-12-17 12:57:19 +01:00
Stefan Metzmacher
8891b2b021
s3:net_status: use dbwrap to open sessionid.tdb
...
metze
2008-12-16 10:24:18 +01:00
Volker Lendecke
daeb3a190d
Remove the global "cmdline_auth_info" from source3/lib/util.c
...
This involves changing all our clients, that's why it's so large.
2008-12-14 14:00:43 +01:00
Herb Lewis
c689d75c27
don't return 0 on error - bad for scripts
2008-12-13 11:31:20 -08:00
Stefan Metzmacher
588f5aae66
s3: correctly detect if the current dc is the closest one
...
ads->config.tried_closest_dc was never set.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
2008-12-13 11:42:22 +01:00
Günther Deschner
7423b6a4b8
s3-samr: fix SAMR_FIELD_PASSWORD callers.
...
Guenther
2008-12-05 14:27:03 +01:00
Stefan Metzmacher
2b8f3e253d
s3:net: fix password set of 'net rpc trustdom add'
...
metze
2008-12-04 12:27:57 +01:00
Tim Prouty
1eb743ab8e
s3: Change sockaddr util function names for consistency
...
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Volker Lendecke
34cfcd6663
Implement type multi_sz for "net registry setvalue"
2008-12-02 15:04:45 +01:00
Volker Lendecke
8fc15ab96d
remove the explicit mem_ctx from ntlmssp_state, use the state itself
2008-11-30 17:15:19 +01:00
Günther Deschner
4d7485df96
s3-samr: fix init_samr_user_info{23,24} callers.
...
Guenther
2008-11-28 13:55:38 +01:00
Jeremy Allison
d3fa3c080f
Fix bug #5914 - Build failure: redefinition of struct name_list
...
Jeremy.
2008-11-25 15:53:56 -08:00
Günther Deschner
eef8de5c88
s3-libnet-samsync: use samsync_ops.
...
Guenther
2008-11-18 16:04:39 +01:00
Günther Deschner
9f86dd715a
s3-net: add "net rpc vampire passdb" that allows to take arguments.
...
Guenther
2008-11-18 16:03:05 +01:00
Günther Deschner
4be8d9cca0
s3-net: use net_scan_dc in net rpc vampire keytab.
...
Guenther
2008-11-18 16:01:01 +01:00
Günther Deschner
b8fee9d863
s3-net: add net_scan_dc function.
...
Guenther
2008-11-18 16:00:52 +01:00
Günther Deschner
ee81191d5c
s3-net: add net_dc_info struct.
...
Guenther
2008-11-18 16:00:40 +01:00
Günther Deschner
2ac4b43430
s3-net-vampire: add support for partial replication (individual deltas).
...
Guenther
2008-11-18 15:59:38 +01:00
Kai Blin
5e5ccab372
net: Fix net rap printq info documentation (bug #5892 )
...
Carsten Dumke <carsten@cdumke.de> reported and provided a patch
for v3.0 and v3.2. (See 0a7fb721cdc)
This fixes the same issue in v3.3 and also changes the auto-generated usage
information to give better help about net rap printq info.
2008-11-17 08:58:25 +01:00
Michael Adam
39d42378b2
[s3]make keytab filename argument mandatory to "net rpc vampire keytab"
...
This prevents unintended overwriting of the default path /etc/krb5.keytab (e.g.).
Michael
2008-11-11 00:32:42 +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
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
Joe Smith
d997435f2d
Fixed typo in source/utils/net_rap.c
2008-11-04 20:40:23 +01:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Günther Deschner
bb6681ef9d
s3-net: fix build warning.
...
Jeremy, please check.
Guenther
2008-11-01 01:41:21 +01:00
Günther Deschner
f126371f17
s3-samr: remove duplicate copies of Domain Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
700cece822
s3-samr: remove duplicate copies of SAM server specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Jeremy Allison
8344e94574
Unify se_access_check with the S4 code. Will make
...
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Michael Adam
65ca8eb3dd
[s3]pdbedit: remove unused variable.
...
Note: The change of commit r21962 (or fe962d2e48, aka f540c18b2)
that was partly lost in the SVN->git glue commit e5a951325a6
(aka 5c6c8e1fe93f34) is not needed any more since the handler
for option "-s" calls set_dyn_CONFIGFILE().
Michael
2008-10-27 13:02:36 +01:00
Jelmer Vernooij
fe36fe8c3e
Use common net utility code (address and sockaddr manipulation).
2008-10-23 20:41:15 +02:00
Jelmer Vernooij
d6a5476ee7
Use sockaddr_storage only where we rely on the size, use sockaddr
...
otherwise (to clarify we can also pass in structs smaller than
sockaddr_storage, such as sockaddr_in).
2008-10-23 19:53:15 +02:00
Jelmer Vernooij
f9fb9436ae
Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS
...
previously present in Samba 3.
2008-10-23 15:37:39 +02:00
Jelmer Vernooij
44b728958a
Use common error definitions.
2008-10-23 15:35:21 +02:00
Jeremy Allison
4e9db0b100
Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.
...
Jeremy.
2008-10-21 18:05:48 -07:00
Günther Deschner
4b59ecb903
s3-build: no need to duplicate generated ndr_ prototypes.
...
Guenther
2008-10-20 19:47:00 +02:00
Jelmer Vernooij
a8707a43d0
Regenerate pidl output.
2008-10-20 12:19:01 +02:00
Jelmer Vernooij
f0c4829e82
Remove silly safe_free() function which is a wrapper around SAFE_FREE().
...
Since it's a function it just sets the local pointer to NULL and basically
is an equivalent to free().
It also claims it's being used for callbacks but isn't used that way
anywhere.
2008-10-19 13:06:14 +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
Michael Adam
15f0a4eadb
[s3]testparm: prevent "no stackframe around" warning.
...
gfree_loadparm and TALLOC_FREE(frame) were in the wrong order.
Michael
2008-10-18 15:36:16 +02:00
Jelmer Vernooij
2d89b52be8
Use separate make variables for libutil and libcrypto.
2008-10-18 14:28:40 +02:00
Günther Deschner
d2b836e19a
s3: remove rpccli_svcctl_query_config.
...
Guenther
2008-10-16 09:54:49 +02:00
Günther Deschner
65dc1eeceb
s3: fix various samr callers.
...
Guenther
2008-10-15 17:11:27 +02:00