1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

1755 Commits

Author SHA1 Message Date
Stefan Metzmacher
ceb43e86a7 r2315: change format
metze
(This used to be commit 9177cd4285315175913aa2c9359f1173fa7d6eb7)
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
6de405f71e r2314: fix compiler warning
metze
(This used to be commit 75c3108955bab44ffda308406bae153e3a92cedf)
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 e7115c6b95e221f0bf4e3a5d02ae356738b2ebd5)
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 d8c97ed02c1215f2cced836fd369db5a3f97f403)
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 ccfc2106a03bd5143d28e6fdedab773cf7abbe5a)
2007-10-10 12:58:42 -05:00
Andrew Tridgell
9922a795d4 r2308: make talloc_vasprintf() available outside talloc.c
(This used to be commit a3a15f9d1a3b51cb7099b5f3adb8401dfc37793d)
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 99f7a38c077725b22475f2ba68d0955114879c24)
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 2c0b5e119eddc6389500bcc80d1ae417dd9bfbb9)
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 42bdee690bca2e818901fde412d5fb9631b2303f)
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 09651b831d085345dd385bc9777f97e1c0d57c6f)
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 0a4723d250ba13e6374700fc6e80854ec6a3eddc)
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 360a6b530e2295976ddefc138d1333411a94484d)
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 daaee86d1441afec9915e5f2ffc10b200a1ff564)
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 73e087f11e401ef8da7c53148444b2745a94dbaf)
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 05cff58070b7070157aea47c5da8512145c2774a)
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 ec23bae00fedbd1651800a8f4559dee3bd6c7025)
2007-10-10 12:58:41 -05:00
Tim Potter
23492b3033 r2297: Add string conversion functions.
(This used to be commit cbfb177394aaf2a382b481ffb3152ad3fe81de5a)
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 e4a5840ff84553c67c87e002e9e074095f4d18c5)
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 d31d23b944b7e4ef300d75dad5038727e9133af1)
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 fce7a4218b3136d880dd1a123e8525e3091bbed8)
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 d8825b69aca5f4d0edf70945d64b4d1780e121c4)
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 b80d849b6b586869fc7d3d4153db1a316f2867a9)
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 e4729949c61a8df23b5132c6136ae8c3777c348a)
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 b8fe29dc7ac6fc60e5171a29788ae56968c1098b)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
ac2f9cc96e r2287: Add static.
Andrew Bartlett
(This used to be commit 49171e420337136d3e66300f99fa1885051e5b61)
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 f5a381094dd5bcbd795a134bc4b8b89901b5e3eb)
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 2c701f59a7f232fed624f7cec62dd494dd32c2d9)
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 a1fe175eec884280fb7e9ca8f528134cf4600beb)
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 553b529a0991ccf2f1be14cc6a27695223f02e65)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
d987a32c8c r2282: Remove one more magic constant from the source, replace with sizeof().
Andrew Bartlett
(This used to be commit a089bcf503bfc91eead08d10539367886b7927cd)
2007-10-10 12:58:39 -05:00
Andrew Bartlett
30ea54c4ba r2281: Add a few comments.
(This used to be commit 7be16e503616d9b339390a253357114c510729d0)
2007-10-10 12:58:38 -05:00
Andrew Tridgell
fa419c9255 r2280: fixed the session key choice for ncacn_np and ncacn_ip_tcp in the rpc server
(This used to be commit 3b4ed24f4ba467a77bef8d6c25695fdbdb42b2ac)
2007-10-10 12:58:38 -05:00
Tim Potter
56d7b0dc8a r2278: Add some more helper functions.
(This used to be commit 5a64449599beb7b46484f1c3aef10f7e7b878319)
2007-10-10 12:58:38 -05:00
Tim Potter
b79d97414d r2277: Generate stubs for input and output typemaps.
(This used to be commit 69710bbcb8123e5f9cb882723350506e77307419)
2007-10-10 12:58:37 -05:00
Tim Potter
91222c6029 r2276: Remove garbage collection debugs.
(This used to be commit b7ebafbbe0ada17748ad4bb36da4c0d63a2b10f5)
2007-10-10 12:58:37 -05:00
Andrew Tridgell
1512030832 r2275: don't crash on a rpc BIND_NAK response ...
(This used to be commit 22a6e5d50d2d40c2dfc5e36bce1132b92723dd81)
2007-10-10 12:58:37 -05:00
Andrew Tridgell
68fbed64d5 r2274: fixed some popt option clashes between smbtorture and the standard options
(This used to be commit b7db909e8e8194366ff93f68adbd68a8f1dcbe9a)
2007-10-10 12:58:37 -05:00
Andrew Tridgell
2340725753 r2273: disable the async samr tests unless -X option is used, as windows
fails this and it kills the pipe, so we can't run the rest of the test
(This used to be commit bdb49f01b75aa5b3a458ee4629e867bee1d03358)
2007-10-10 12:58:36 -05:00
Andrew Tridgell
b49dc085af r2272: fixed another couple of errors in the popt option arrays
(This used to be commit 89acbf4f02ae03f0546e1633c030765a563ce958)
2007-10-10 12:58:36 -05:00
Andrew Tridgell
1c3bfc270a r2271: fixed the popt argument array for smbtorture, getting rid of some
clashes

metze, please note that the 'val' field in popt is not the default
value, its the integer to switch on in the argument loop.
(This used to be commit 0f3b01bebadc9f949a663dc40280945536bc86fd)
2007-10-10 12:58:36 -05:00
Andrew Tridgell
696629b2ec r2267: we no longer need to force the domain join to happen on NCACN_NP - it
now works on NCACN_IP_TCP as well.
(This used to be commit 9cc33d936407255b5c5fb9bde37d918cf268c784)
2007-10-10 12:58:36 -05:00
Andrew Tridgell
22275a4c2f r2266: yay! LSA session keys on TCP now work!
(This used to be commit f6ea24296acaaadcd2d59740bc88ef1a93fb1c28)
2007-10-10 12:58:35 -05:00
Jelmer Vernooij
93454ff3d8 r2257: Tab completion support in regshell (complete command names and key names
in the current key)
(This used to be commit 83f9f8eaa4825bb49e2b160a1a810080ecae4d39)
2007-10-10 12:58:35 -05:00
Tim Potter
ec952cde05 r2256: Include autogenerated interfaces for lsa and samr pipes. Typemaps are currently
not working though.
(This used to be commit 55bd2dc02de13ee3da1cde20694f452df0899a9f)
2007-10-10 12:58:35 -05:00
Tim Potter
ff19c6ac0d r2255: Don't do experimental swig stuff by default.
(This used to be commit db191572ff9351ae84dc0c3d6302fa60b61cd179)
2007-10-10 12:58:35 -05:00
Jelmer Vernooij
9c69fe6522 r2254: Fix a couple of compiler warnings...
(This used to be commit 8056f4a9a7f5065eeb3a3bec81977c5e4163bf8e)
2007-10-10 12:58:35 -05:00
Tim Potter
3f7bf05f75 r2253: Add test program, as small example of what's going on.
(This used to be commit fd31ae38dfe2d005b3e01ac059c2e15fa389aad4)
2007-10-10 12:58:35 -05:00
Andrew Tridgell
0e6799177c r2252: don't register the same name twice
(This used to be commit fdb675bbad1322ddd94c646f67803b9678468a64)
2007-10-10 12:58:35 -05:00
Andrew Tridgell
2cbbbe3535 r2251: forgot to add vfs_posix.h in my last commit
note that this is just a skeleton so far. More to come soon.
(This used to be commit efc8850b9aa9348f5f7c4b342aa76dab1635e7d4)
2007-10-10 12:58:35 -05:00
Andrew Tridgell
24f972a071 r2250: removed unnecessary mem_ctx
(This used to be commit c455a3a61d587f5126236d8c11ba84e19d4f038a)
2007-10-10 12:58:34 -05:00