1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

1776 Commits

Author SHA1 Message Date
Tim Potter
aa60dc1630 r2358: More renaming of functions to keep things consistent.
(This used to be commit 84513e4ed1)
2007-10-10 12:58:46 -05:00
Tim Potter
dabb37c547 r2357: Start coding conversion routines for security descriptors, acls and sids.
(This used to be commit c8d13a809b)
2007-10-10 12:58:45 -05:00
Stefan Metzmacher
d9d634ce97 r2347: merge LDAP ASN.1 fixes from trunk
metze
(This used to be commit 492a00d909)
2007-10-10 12:58:45 -05:00
Stefan Metzmacher
fe70e8aa7a r2346: fix some minor stuff
metze
(This used to be commit 56e21d0ce2)
2007-10-10 12:58:45 -05:00
Tim Potter
3791d88b87 r2345: Add test for samr_QuerySecurity()
(This used to be commit f6978a007a)
2007-10-10 12:58:45 -05:00
Tim Potter
2cfd0b654c r2344: Return PyDict_New() in stub functions instead of Py_None to avoid
crashing in garbage collector (hmm - all that was required was probably
a Py_INCREF(Py_None) though).
(This used to be commit a3eac318a6)
2007-10-10 12:58:45 -05:00
Stefan Metzmacher
498ea8485f r2343: - make socket_get_*_addr() return char * not const char *
- add some error mappings
- use some flags SOCKET_FLAG_PEEK ans SOCKET_FLAG_BLOCK

metze
(This used to be commit a375c6b0b1)
2007-10-10 12:58:45 -05:00
Tim Potter
8d14c2a39f r2342: Remove obsolete file.
(This used to be commit b7ef3d0a00)
2007-10-10 12:58:45 -05:00
Andrew Tridgell
d97f808cb6 r2339: my first python commit!
added command line options for binding string, domain, username and password
(This used to be commit e94bec1079)
2007-10-10 12:58:44 -05:00
Tim Potter
31288d6545 r2336: Add another conversion function to allow union arms that contain structures
not pointers to structures.  Do some renaming of hand-written functions
as a result.

Include lsa interface before samr interface as samr depends on some lsa
structures.

Build up a nice hashed index of interfaces, functions, structs and
unions.

Add test for samr_Connect5() function which contains a union.
(This used to be commit 30f068164a)
2007-10-10 12:58:44 -05:00
Tim Potter
d203c7899d r2335: Zero function parameter struct so we can do a bit more testing. To be removed later.
Generate more stub code for union arms.
(This used to be commit f8a14e808e)
2007-10-10 12:58:44 -05:00
Stefan Metzmacher
ce694e7051 r2328: add the start of a new system and protocol
independent socket library.

this is not used, but compiled currently

there're maybe some api changes later...

metze
(This used to be commit de4447d7a5)
2007-10-10 12:58:44 -05:00
Stefan Metzmacher
360f125f25 r2326: remove definition and usage of struct socket_context
metze
(This used to be commit 1854907da8)
2007-10-10 12:58:44 -05:00
Tim Potter
cff1f3e8a9 r2325: Generate conversion stubs for IDL unions.
(This used to be commit a06727b792)
2007-10-10 12:58:44 -05:00
Tim Potter
12b29d8bb7 r2324: Add hand-written versions of functions from misc.idl.
(This used to be commit d6876701cc)
2007-10-10 12:58:44 -05:00
Tim Potter
6c4a789d60 r2323: More tweaks to get things building again.
Now to get unions working as they are currently broken.
(This used to be commit 8072d7f1a4)
2007-10-10 12:58:44 -05:00
Tim Potter
6f2fb2feb4 r2322: More renames of autogenerated functions so they all have approximately
the same signature.

Start to handle structures with no pointers.
(This used to be commit c1dc984268)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
a560d554bd r2321: add complately untested LDAP server start
based on volker's patch

this is compiled by default but not started by default

metze
(This used to be commit 5387bc423d)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
17bdcc9056 r2320: add my copyright
metze
(This used to be commit 45b77064bf)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
59b0902d08 r2319: let event_merge_contexts() return a pointer to the final context
metze
(This used to be commit 71aa5eeea7)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
d5b119e0bf r2318: - remove the --with-ads option
- LDAP and KRB5 support are independend in samba4

- make the krb5 tests more readable with reformat

metze
(This used to be commit 75b393275d)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
ceb43e86a7 r2315: change format
metze
(This used to be commit 9177cd4285)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
6de405f71e r2314: fix compiler warning
metze
(This used to be commit 75c3108955)
2007-10-10 12:58:43 -05:00
Andrew Bartlett
9d3f614ea4 r2313: Make these attributes case insensitive in the default provision.ldif
Andrew Bartlett
(This used to be commit e7115c6b95)
2007-10-10 12:58:42 -05:00
Andrew Tridgell
43acd52ed9 r2310: fixed some broken if statements in handling --with-krb5
they did not handle the fact that FOUND_KRB5 was not set at all at this point
(This used to be commit d8c97ed02c)
2007-10-10 12:58:42 -05:00
Andrew Tridgell
179cfe5596 r2309: make loadparm handling much more consistent, by using do_parameter()
to process init_globals(). This also allows all global options to be
set using lp_set_cmdline() or --option

a side effect is that init_globals() is slower. If this turns out to
be a problem we can try a different approach.
(This used to be commit ccfc2106a0)
2007-10-10 12:58:42 -05:00
Andrew Tridgell
9922a795d4 r2308: make talloc_vasprintf() available outside talloc.c
(This used to be commit a3a15f9d1a)
2007-10-10 12:58:42 -05:00
Andrew Bartlett
d2c14a5dc6 r2307: Fix the use of 'raw' NTLMSSP to hosts that support extended security,
but do not support SPNEGO (such as XP, when not joined to a domain).

This is triggered by the presense or lack of a security blob in the
negprot reply.

Andrew Bartlett
(This used to be commit 99f7a38c07)
2007-10-10 12:58:42 -05:00
Andrew Tridgell
4456f87dee r2306: in lp_set_cmdline(), also set any aliases as having been set by the commandline
(This used to be commit 2c0b5e119e)
2007-10-10 12:58:42 -05:00
Andrew Tridgell
a568462c59 r2305: a useful test script for trying a wide variety of DCE/RPC options with the echo pipe
and smbtorture
(This used to be commit 42bdee690b)
2007-10-10 12:58:41 -05:00
Andrew Tridgell
cde1950aea r2304: fixed a bug in old style NTLM signing
(This used to be commit 09651b831d)
2007-10-10 12:58:41 -05:00
Andrew Tridgell
922e17105f r2303: allow setting of many ntlmssp options from smb.conf or the command
line. This makes testing much easier.
(This used to be commit 0a4723d250)
2007-10-10 12:58:41 -05:00
Andrew Tridgell
871604e310 r2302: added a '--option' option, allowing any global or default option in
smb.conf to be set on the command line. For example, you can use:

  smbtorture --option 'unicode=false'
or
  smbtorture --option 'netbios name=myname'
(This used to be commit 360a6b530e)
2007-10-10 12:58:41 -05:00
Andrew Tridgell
2d5ca36872 r2301: add a server side warning when we receive more RPC data than we
expect. It isn't an error as w2k3 does this on its first packet when
NTLM2 signing is used.
(This used to be commit daaee86d14)
2007-10-10 12:58:41 -05:00
Tim Potter
984e71e5e5 r2300: Start writing a Python torture test suite based on the smbtorture rpc tests.
(This used to be commit 73e087f11e)
2007-10-10 12:58:41 -05:00
Tim Potter
a34ddd04ca r2299: Map a (C) NULL pointer to (Python) None and vice versa.
(This used to be commit 05cff58070)
2007-10-10 12:58:41 -05:00
Tim Potter
7436bdc4f0 r2298: Convert to and from string parameters.
Correct function name used when generating function to convert in
typemap so it is consistent with the others.
(This used to be commit ec23bae00f)
2007-10-10 12:58:41 -05:00
Tim Potter
23492b3033 r2297: Add string conversion functions.
(This used to be commit cbfb177394)
2007-10-10 12:58:40 -05:00
Tim Potter
4c017a9529 r2296: Correct setting of access_mask in test program.
(This used to be commit e4a5840ff8)
2007-10-10 12:58:40 -05:00
Tim Potter
b5119cd662 r2295: Convert simple scalar types and policy handles between dcerpc function
call request and response structures.
(This used to be commit d31d23b944)
2007-10-10 12:58:40 -05:00
Andrew Tridgell
f8f2630c0d r2294: this fixes the NTLM2 sign+seal combination. I have now tested:
NTLM sign
 NTLM sign+seal
 NTLM2 sign
 NTLM2 sign+seal

and all of the above both with and without key exchange

the NTLM2 seal case is ugly and involves an extra data copy, which
some API changes in gensec or the ndr layer might avoid in future.
(This used to be commit fce7a4218b)
2007-10-10 12:58:40 -05:00
Andrew Tridgell
350c12e5c9 r2293: fixed older NTLM sign/seal in the server
(This used to be commit d8825b69ac)
2007-10-10 12:58:40 -05:00
Andrew Bartlett
15a96c4298 r2290: Fix 'lsakey' for the server-side, it is static for
'authenticated' connections.

Fix kerberos session key issues - we need to call the
routine for extracting the session key, not just read the cache.

Andrew Bartlett
(This used to be commit b80d849b6b)
2007-10-10 12:58:40 -05:00
Tim Potter
67c37a3b8e r2289: Autogenerate some more attractive looking stubs for converting
function argument structures and idl structures to and from Python
dictionaries.
(This used to be commit e4729949c6)
2007-10-10 12:58:40 -05:00
Andrew Bartlett
7cbd43a1f7 r2288: Remove the claim/yield connection code - this will need to be redone
in a more samba4 style at some point (along with the session code).

Andrew Bartlett
(This used to be commit b8fe29dc7a)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
ac2f9cc96e r2287: Add static.
Andrew Bartlett
(This used to be commit 49171e4203)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
c0bea2aeb3 r2286: Fixes towards krb5 logins into Samba's CIFS server.
These fixes aim particularly at allowing PAC-less logins, as I don't
yet generate a PAC in the lorikeet-heimdal KDC.

This is for the benifit of a Kerbeors-enabled domain join, which seems
to be progressing quite well!

Andrew Bartlett
(This used to be commit f5a381094d)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
a06b88863d r2285: Remove more static data, fix spelling in a comment.
(This used to be commit 2c701f59a7)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
909c9b681a r2284: Thanks to some great detective work by tridge, NTLM2 signing now works.
This means that 'require NTLMv2 session security' now works for RPC
pipe signing.  We don't yet have sealing, but it can't be much further.

This is almost all tridge's code, munged into a form that can work
with the GENSEC API.

This commit also includes more lsakey fixes - that key is used for all
DCE-RPC level authenticated connections, even over CIFS/ncacn_np.

No doubt I missed something, but I'm going to get some sleep :-)

Andrew Bartlett
(This used to be commit a1fe175eec)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
4490c816a9 r2283: Change from tridge (in his ntlm2 patch).
I think the idea here is to bail out correctly when we get signing
broken on TCP, rather than keeping on hammering the socket.

Andrew Bartlett
(This used to be commit 553b529a09)
2007-10-10 12:58:39 -05:00