Jelmer Vernooij
9065f9644b
s4: Rename LIBNETIF to libnetif.
2010-10-23 22:24:06 +00:00
Matthias Dieter Wallnöfer
18103d34e2
create_descriptor.c - fix comment
...
The location in MS-DTYPE changed.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 23 21:33:46 UTC 2010 on sn-devel-104
2010-10-23 21:33:45 +00:00
Kai Blin
eeac222398
s4 dns: Import DNS win32 error codes from MS-ERREF
2010-10-23 10:17:05 +00:00
Jeremy Allison
3e79cd6856
Fix const warning. Allocate off NULL as we always talloc_free().
2010-10-22 17:33:03 +00:00
Andrew Tridgell
d98effffe4
libcli: LIBSECURITY depends on NDR_SECURITY
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:27 +11:00
Andrew Tridgell
2dcb596e83
s4-waf: removed dependencies on missing subsystems
...
these were left over from the old config.mk system
2010-10-21 19:03:24 +11:00
Andrew Tridgell
35b61c2365
libcli: make LIBCLI_NBT a private library
2010-10-21 19:03:24 +11:00
Andrew Tridgell
8709c3c0f2
libcli: make the LIBSECURITY subsystem into a private library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:23 +11:00
Jeremy Allison
94dc63056a
Now we have SeSystemSecurity, remove the source3-only #ifdef.
...
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct 21 01:35:00 UTC 2010 on sn-devel-104
2010-10-21 01:35:00 +00:00
Jeremy Allison
e00c2b3cdf
Add code to implement SeSecurityPrivilege in net rpc rights, and in the
...
open and get/set NT security descriptor code.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct 21 00:15:57 UTC 2010 on sn-devel-104
2010-10-21 00:15:57 +00:00
Matthias Dieter Wallnöfer
caf6b3686f
libcli/security/access_check.c - fix a memory leak
2010-10-20 12:31:05 +00:00
Andrew Bartlett
4a8c17a41c
libcli/ldap Don't try and encode a control with a NULL OID
...
ctrl->oid is set to NULL by the Samba4 rootDSE module when removing
controls that should not be exposed over LDAP (to avoid a realloc).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Oct 20 04:13:44 UTC 2010 on sn-devel-104
2010-10-20 04:13:44 +00:00
Jeremy Allison
45794dd30a
Fix shadow warning for "access" variable.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 19 22:53:38 UTC 2010 on sn-devel-104
2010-10-19 22:53:38 +00:00
Andrew Tridgell
7197bcc513
readline: fixed the test for history_list()
2010-10-19 11:22:35 +11:00
Stefan Metzmacher
a610ce4aa6
libcli/nbt: we don't need LIBCLI_COMPOSITE anymore
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 18 16:18:32 UTC 2010 on sn-devel-104
2010-10-18 16:18:32 +00:00
Stefan Metzmacher
820ae3d9a3
libcli/nbt: convert nbt_name_register_bcast_send/recv to tevent_req
...
metze
2010-10-18 15:36:16 +00:00
Stefan Metzmacher
0b8056d580
libcli/nbt: s/name_register_bcast_handler/nbt_name_register_bcast_handler
...
metze
2010-10-18 15:36:16 +00:00
Stefan Metzmacher
c654a6c02b
libcli/nbt: s/register_bcast_state/nbt_name_register_bcast_state/
...
metze
2010-10-18 15:36:16 +00:00
Stefan Metzmacher
77d82fe944
libcli/nbt: move nbt_name_register_bcast_send to the top of nbt_name_register_bcast_*
...
metze
2010-10-18 15:36:16 +00:00
Stefan Metzmacher
e3a0463414
libcli/nbt: convert nbt_name_register_wins_send/recv to tevent_req
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
4f233c7ff8
libcli/nbt: s/name_register_wins_handler/nbt_name_register_wins_handler
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
b16681374c
libcli/nbt: s/register_wins_state/nbt_name_register_wins_state
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
549b594c57
libcli/nbt: move nbt_name_register_wins_send() to the top of all nbt_name_register_wins_* related code
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
43fb7f1698
libcli/nbt: convert nbt_name_refresh_wins_send/recv to tevent_req
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
332f261bbf
libcli/nbt: s/name_refresh_wins_handler/nbt_name_refresh_wins_handler
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
3ded1da8e9
libcli/nbt: s/refresh_wins_state/nbt_name_refresh_wins_state
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
e36e7295da
libcli/nbt: move nbt_name_refresh_wins_send() to the top of all nbt_name_refresh_wins_* related code
...
metze
2010-10-18 15:36:15 +00:00
Stefan Metzmacher
72a8966499
libcli/util: add pipe related NT_STATUS_RPC_* codes
...
metze
2010-10-18 14:50:21 +02:00
Andrew Tridgell
40a6e019fd
security: ensure the merge of libcli/security doesn't change s3 behaviour
...
Jeremy, you put a #if 0 around this logic in this commit:
8344e945 (Jeremy Allison 2008-10-31 10:51:45 -0700 181)
is this still needed?
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Oct 14 03:16:41 UTC 2010 on sn-devel-104
2010-10-14 03:16:41 +00:00
Andrew Bartlett
f7ffc12e2d
libcli/security Use static SIDs rather than parsing from strings
...
This should make the security_token_is_*() calls a little faster.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
a879a4610d
libcli/auth Merge source4/libcli/security and util_sid.c into the common code
...
This should ensure we only have one copy of these core functions
in the tree.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
8b22eefd25
libcli/security Define traditional constants in terms of IDL macros
...
The source3/ code uses these constants in a lot of places, and it will
take time and care to rename them, if that is desired. Linking the
macros here will at least allow common code to use the IDL based macros,
and preserve a documentary link between the constants (other than just their value)
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
949541cc6f
libcli/security Move source3/lib/util_seaccess.c into the common code
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00
Andrew Bartlett
0487ef0a70
libcli/security Add debug class to security_token_debug() et al
...
This will allow it to replace functions in source3 that use debug classes.
Andrew Bartlett
2010-10-12 02:54:16 +00:00
Andrew Bartlett
ae52f953af
libcli/security Move most of security_token.c to common code.
...
The source4-specific session_info functions have been left in session.c
Andrew Bartlett
2010-10-12 02:54:16 +00:00
Jelmer Vernooij
2c9ebb7646
libsecurity-common: Add missing dependency on libndr.
2010-10-11 01:06:35 +02:00
Jelmer Vernooij
dc47e8dc52
libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.
2010-10-11 01:06:35 +02:00
Jeremy Allison
b69bec03cc
Add some const. Needed for my SD work.
...
Jeremy
2010-10-08 18:05:02 -07:00
Stefan Metzmacher
42d1a84a36
libcli/ldap: ldap_full_packet() requires at least 6 bytes
...
metze
2010-10-04 14:05:15 +00:00
Günther Deschner
0ff7e0c998
samba: share readline wrappers among all buildsystems.
...
Guenther
2010-10-01 22:30:22 +02:00
Stefan Metzmacher
9d4df79080
libcli/ldap: correctly marshall LDAP Unbind PDUs
...
metze
2010-09-27 08:24:35 +02:00
Stefan Metzmacher
95b56aabcb
libcli/ldap: let ldap_full_packet() use asn1_peek_tag_needed_size()
...
This allows us to read a full packet without read byte after byte
or possible read to much.
metze
2010-09-26 06:45:40 +02:00
Stefan Metzmacher
e628bf1081
libcli/util: let tstream_read_pdu_blob_* cope with variable length headers
...
metze
2010-09-26 06:45:38 +02:00
Simo Sorce
678993470f
libcli: fix compile warning
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:24 -07:00
Steven Danneman
bf1a4b2bc4
s4:libcli:smb2 Rename pending_id to async_id and make 64-bit
...
Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
2010-09-22 17:52:53 -07:00
Andrew Bartlett
ccbcffadb6
libcli/ldap Add const to ldap_encode_ndr_dom_sid()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 15:06:30 -07:00
Günther Deschner
4006160179
libcli: add dom_sid_compare_domain()
...
Guenther
2010-09-20 14:03:13 -07:00
Kamen Mazdrashki
1fac1f0d28
werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macro
2010-09-18 15:09:46 +03:00
Andrew Bartlett
6832d5e933
libcli/auth/ntlmssp Be clear about talloc parents for session keys
...
The previous API was not clear as to who owned the returned session key.
This fixes a valgrind-found use-after-free in the NTLMSSP key derivation code,
and avoids making allocations - we steal and zero instead.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16 21:09:17 +10:00