Andreas Schneider
4bc46e0f27
s3-spoolss: Sorted the builtin forms alphabetically.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:05:42 +02:00
Günther Deschner
d4474ba470
s3-secdesc: use SD_REVISION from security.idl.
...
Guenther
2010-05-18 12:52:18 +02:00
Günther Deschner
a531537341
s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.
...
Guenther
2010-05-18 12:51:35 +02:00
Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
8951c8301a
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
a8b01d1f3b
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
...
Guenther
2010-05-18 12:30:11 +02:00
Günther Deschner
8bc9c343c4
s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
...
Guenther
2010-05-18 12:30:11 +02:00
Günther Deschner
f6445d8f86
s3-build: fix the build.
...
Guenther
2010-05-18 12:27:31 +02:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Günther Deschner
e9f5bdf6b5
smbconf: only include smbconf headers where needed.
...
Guenther
2010-05-18 10:36:33 +02:00
Jeremy Allison
285b628327
Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.
...
Jeremy.
2010-05-17 18:22:19 -07:00
Jeremy Allison
b481b8e1f5
Fix the build of bin/smbtorture in source3. Guenther please check !
...
Jeremy.
2010-05-17 17:17:44 -07:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
d7d313851a
s3-tldap: only include tldap when actually needed.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
e16ed3399a
s3-includes: remove completely unused util_getent.h header.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
1d2dd47d31
s3-crypto: only include crypto headers when crypto is done.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
26c844902c
s3-samr: move samr helper prototypes outside of proto.h
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
657fd0be1d
s3-services: move services.h to where it is actually used.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
ca73e03eb7
security: merge builtin rid tables.
...
Guenther
2010-05-18 00:44:26 +02:00
Günther Deschner
3b529d50be
s3-rpc_misc: clean out include/rpc_misc.h.
...
Well known rids don't really belong into an rpc header, just use the ones
defined in security.idl.
Guenther
2010-05-18 00:44:26 +02:00
Jeremy Allison
2deff342b9
Refactor the sessionsetup SMB2 code to make it easy to add
...
krb5. Fix a memory leak in returning security blobs.
Jeremy
2010-05-17 13:05:22 -07:00
Günther Deschner
3d5972c43f
s3-libgpo: move group policy protos to where they belong.
...
Guenther
2010-05-17 21:07:17 +02:00
Günther Deschner
ed8a98f6f4
s3-includes: remove some unused defines.
...
Guenther
2010-05-17 20:49:31 +02:00
Günther Deschner
dd5a4e23f8
s3-kerberos: temporary fix for ipv6 in print_kdc_line().
...
Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill
in just the kdc_name if we have it and let the krb5 lib figure out the
appropriate ipv6 address
ipv6 gurus, please check.
Guenther
2010-05-17 13:18:11 +02:00
Günther Deschner
e3bdff3d67
s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().
...
Guenther
2010-05-17 12:47:50 +02:00
Günther Deschner
14ac2bb36e
s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
...
Note that this failure was hard to track, as winbind did only log a super helpful
"cm_prepare_connection: Success" debug message.
IPv6 gurus, please check
Successfully tested in two independent IPv6 networks now.
Guenther
2010-05-17 12:47:34 +02:00
Michael Adam
a15b666438
s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.
...
There is no point in checking the ranges this if the record found had an
invalid/unknown type: the mapping is not filled in. If it were initialized
to some defaults before, the check just might replace the status
NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not
as precise.
2010-05-17 11:45:31 +02:00
Matthew McGillis
843c6a03c7
added support for a -I flag
2010-05-17 10:21:51 +02:00
Matthew McGillis
4fee40e2c0
Consolidate all set SEC_DESC into single procedure set_secdesc
2010-05-17 10:21:50 +02:00
Jelmer Vernooij
2cc612cb6b
s3-selftest: Allow overriding the subunit formatter.
...
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
2010-05-16 00:21:19 +02:00
Günther Deschner
a052aa87be
s3-printing: explicitly include "printing/pcap.h" as there is /usr/include/pcap.h.
...
Thanks metze for pointing this out. Simo, please check.
Guenther
2010-05-14 14:41:50 +02:00
Simo Sorce
348b4b9bab
Make pcap headers private
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14 14:15:08 +02:00
Simo Sorce
f36396f90f
Move standard printcap parsing to print_standard.c
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14 14:14:55 +02:00
Günther Deschner
e92f9c57b4
s3-libsmb: fix typo in remote_password_change().
...
Guenther
2010-05-14 13:23:33 +02:00
Günther Deschner
c94f1c16bd
s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.
...
Otherwise the NOTERM case is not reachable for ascii strings (only utf16).
With this patch we now can have:
[flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name;
Guenther
2010-05-14 13:20:40 +02:00
Jeremy Allison
056f24ce24
Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
...
The end_data argument to smbd_dirptr_lanman2_entry() must include
the safety margin, as internally it's actually used to allow detection
of string name pushes that were truncated. Ensure space_remaining can
never go negative due to padding.
Jeremy.
2010-05-13 15:59:09 -07:00
Jeremy Allison
895b99fd6b
Be more forgiving on client oplock break failure (as Windows does). Remove a global.
...
Jeremy.
2010-05-13 11:33:02 -07:00
Jeremy Allison
ed6fa379ef
Treat an open of stream ::$DATA as an open of the base file.
...
This fixes a class of SMB_ASSERT failures when doing stream tests.
Jeremy.
2010-05-13 10:54:15 -07:00
Stefan Metzmacher
6427484f84
s3:build: build smbtorture4 when the merged build is selected
...
metze
2010-05-13 19:42:25 +02:00
Andrew Bartlett
72e65a0521
s3:winbindd Provide a winbindd_register_handlers() helper function for s3compat
...
This function provides a useful entry point for s3compat to set things
up in winbindd.
Andrew Bartlett
2010-05-13 10:12:27 +10:00
Andrew Bartlett
f5c0f90da5
s3:winbindd Split helper functions to allow s3compat to call them
...
This provides a more useful entry point for s3compat.
Andrew Bartlett
2010-05-13 10:12:27 +10:00
Andrew Bartlett
7f70b53dd6
s3:Winbindd Move winbindd_event_context to a different file
...
This allows this function to be easily replaced in s3compat
Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
cdf0704272
s3:winbindd Rename 'children' to 'winbindd_children' and make static
2010-05-13 10:12:26 +10:00
Andrew Bartlett
4ef847a3b7
s3:libsmb/namecache Remove namecache_enable()
...
No caller honours the return value, and this call only prints a
DEBUG(). Removing this reduces the number of initialisation
boilerplate calls s3compat has to make.
Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
426d92eedb
s3:smbd Remove calls to namecache_enable()
...
This only prints a DEBUG()
Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
82fb4ebca7
s3:winbindd Remove call to namecache_enable().
...
This call only prints a DEBUG()
Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
468fb4fee4
s3:auth Make get_ntlm_challenge more like Samba4
...
This helps with the upcoming NTLMSSP merge, and allows errors to be returned.
Andrew Bartlett
2010-05-13 10:12:26 +10:00
Jeremy Allison
1101c62144
Pass more SMB2 oplock tests. Only oplock stream tests left to fix.
...
Jeremy.
2010-05-12 15:19:45 -07:00
Olaf Flebbe
d5c3db6f88
work around AIX6.1 name space pollution rename mod_name to module_name
2010-05-12 07:15:07 +02:00