Jelmer Vernooij
fb8ae4518a
r1451: More missing files...
...
(This used to be commit 7e9884799e4f450b9693b6e29d7490288ebc969e)
2007-10-10 12:56:58 -05:00
Jelmer Vernooij
453e1e79fb
r1450: Oops.. Missing files :-)
...
(This used to be commit eaa2940ba039f59e13d44c6e2dda919ed8e388f5)
2007-10-10 12:56:57 -05:00
Jelmer Vernooij
396a729686
r1449: Use the config system somewhat better in libcli/auth
...
(This used to be commit 69de0d95c585c1a73072e921884cbd427c160176)
2007-10-10 12:56:57 -05:00
Andrew Bartlett
f9ddbad006
r1448: Indent this so proto doesn't pick it up.
...
Andrew Bartlett
(This used to be commit 1164be10af8e1b47824df391196ec37c395a4040)
2007-10-10 12:56:57 -05:00
Andrew Bartlett
7980759352
r1447: Fix compile.
...
Andrew Bartlett
(This used to be commit b97ea8a63f044d2c20781c876575978cc4725285)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
59a3aece81
r1446: Another funciton to avoid in proto.h
...
Andrew Bartlett
(This used to be commit 310a570936c0d2d5af168aeca1b33206622d8355)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
f17eb8f2a9
r1445: Ensure get_auth_data_from_tkt doesn't get into proto.h
...
Andrew Bartlett
(This used to be commit 159c234589e8e148180217f9ef4853b3031877db)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
bd38d43214
r1443: More changes towards Kerberos in Samba4's GENSEC.
...
The kerberos context is now tied in life to the GENSEC context.
Andrew Bartlett
(This used to be commit 64e99170c3b53a14d7f8d29cf78283f2bc22c1f7)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
0f3f9090fa
r1442: I was going to rename kerberos.c -> kerberos_kinit.c, but didn't.
...
Fix config.mk...
(oh, and this file is somehow marked as binary...)
Andrew Bartlett
(This used to be commit 3e9aa67e3fdd9be18bdead6d45a982d30e5fd5b4)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
b615397325
r1441: Indentation and comment fixes.
...
Andrew Bartlett
(This used to be commit 231e505dea9e9aca28eb336bcbcfb2b7b83c089c)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
b0d94c8e7d
r1440: GENSEC improvements:
...
- Infrustructure for kerberos
- Don't segfault on un-implemented backend functions
- Add comments.
Andrew Bartlett
(This used to be commit 1c31aa42710421917428d6ba86328ea5179751bd)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
43e7d4109f
r1439: Once we are authenticated, always return NT_STATUS_OK. (Makes SPENGO
...
easier to code, as it may return an 'ok' with an empty blob).
Andrew Bartlett
(This used to be commit e48557158ed99eee7d3ef8231c629bbd14cda9d3)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
47fc62a097
r1438: Record the principal name we are sent in the SPENGO mechListMIC in a
...
seperate char *, not a DATA_BLOB.
This allows us to tell if we were sent a string here, or a real MIC.
(This used to be commit 06b997c826e3ec00e0528da800e3eae0e3497a54)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
b0d61c8b42
r1437: Intermediate commit of krb5 for GENSEC.
...
The session key in the client is wrong, we don't do signing/sealing
and we are sending raw Kerberos, not GSSAPI.
But it's a start, and if we continue to have to call Krb5 directly,
this will be the basis.
I also intend to provide an alternate implementation, using just
GSSAPI.
Andrew Bartlett
(This used to be commit eb0dd4a821dc3dbe370aea9a9c9fb05cf2592e4d)
2007-10-10 12:56:56 -05:00
Andrew Bartlett
74508c718b
r1436: Move GENSEC across to config.mk
...
Andrew Bartlett
(This used to be commit 2de3a3082344fd292b1084a73a332549d6b2e25d)
2007-10-10 12:56:55 -05:00
Andrew Bartlett
30c15f37cc
r1435: talloc_steal is very useful - add a function to do it with a DATA_BLOB
...
Andrew Bartlett
(This used to be commit 66d6e2611084d579a20833a4c0daa5d72ef9393c)
2007-10-10 12:56:55 -05:00
Andrew Bartlett
462d27d7e6
r1434: Merge this function in from Samba 3.0, but use a mem_ctx rather than
...
an fstring.
Andrew Bartlett
(This used to be commit e8de8905b2f328395d71afdd73c77301c9366a66)
2007-10-10 12:56:55 -05:00
Jelmer Vernooij
a25651cd22
r1433: Properly use GtkTreeView:
...
- When a key is selected the values are immediately shown in gregedit
- Only allow deleting jobs if one is selected.
(This used to be commit afb5f4d765cb15ba8824d8db19879bad83829561)
2007-10-10 12:56:55 -05:00
Jelmer Vernooij
e3fd2d0492
r1432: - Move the various Gtk-specific parts from the registry code into a directory gtk/
...
- Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc)
- Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later.
Some screenshots available at:
http://samba.org/~jelmer/gwcrontab/
(This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)
2007-10-10 12:56:55 -05:00
Stefan Metzmacher
efb010202f
r1429: enable spnego in smbclient too.
...
metze
(This used to be commit ae2e6b58629397d75a3e446ff0c50b594d029206)
2007-10-10 12:56:55 -05:00
Andrew Bartlett
102f5bc17d
r1426: Fix some of my silly compile errors...
...
Andrew Bartlett
(This used to be commit c283837556109b9392a8cdcd867e5ae0dac1509b)
2007-10-10 12:56:55 -05:00
Andrew Bartlett
82e59d11c3
r1423: Make sure to destory the mem_ctx.
...
Andrew Bartlett
(This used to be commit c5a1529d54e6b8ec2bbf7017a2f48d7535f1f016)
2007-10-10 12:56:55 -05:00
Andrew Bartlett
f929ee3e4e
r1422: StrnCaseCmp now needs to be non-static.
...
Andrew Bartlett
(This used to be commit 6709c7010df2912eec3dfc086343cb3cb7910459)
2007-10-10 12:56:55 -05:00
Stefan Metzmacher
7caf17319a
r1421: fix a uninitialized var (thanks valgrind:-)
...
add a view debug messages
metze
(This used to be commit 79953dccc1f21dbabddff73a4b6d862eace29eb9)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
7381ba30c4
r1420: be more strict reject if the context has the wrong type
...
metze
(This used to be commit db19d6047c25698d0c3b7aeaab77b2a02385dbb5)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
b119ebeab0
r1419: spnego inside of dcerpc using alter_context/alter_context_resp
...
instead of auth3
metze
(This used to be commit 19b0567ee533744a0f2778bf8549636a25d96526)
2007-10-10 12:56:54 -05:00
Andrew Bartlett
bdb0b60861
r1418: Merge Samba 3.0's recent kerberos changes into Samba4. None of this
...
is used yet.
Andrew Bartlett
(This used to be commit 7596f311c9a18314716f64476030ce3dfcdd98bb)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
2c87cb390d
r1409: if we have no user name don't use extended security
...
the capabilities in the union smb_sesssetup should be used to decide
if we can use extented security
metze
(This used to be commit e3760fcc17cc645d942f0fc7f7325976391309ea)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
0fa2b94c56
r1406: I got spnego in the smb client working
...
so I set 'use spnego = True'
metze
(This used to be commit e06898f88c82c286574f9d73de1a9de829b1ded8)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
4b3b32a2f1
r1403: commit volkers initial RAP torture test
...
we'll try to autogenerate the specific calls in future by pidl
and create a new subsystem for the rap lib
after that the server side will be added
metze
(This used to be commit f1bbde6bb4790f915c1fdbb53f6452c5ea454936)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
25cae4dc0c
r1402: we should prompt for a password if it's not given by -U
...
metze
(This used to be commit acde1358c940ed159a67e433e662c255103a1a02)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
cfc4350e05
r1377: add examples for config.mk sections
...
so you want/need to use the new build system
just look at the top of build/smb_build/public.m4
and look at the examples in the rest of the tree
metze
(This used to be commit afe2efd1437a7951d2ed6fcf7b4e06fdd4b95beb)
2007-10-10 12:56:54 -05:00
Tim Potter
34ca729f73
r1374: Fix signed/unsigned warnings (actually found by g++) after unsigned int
...
changes in r1018.
(This used to be commit 45b4016530fc0bfa13146f73a503866b5dbed517)
2007-10-10 12:56:54 -05:00
Andrew Bartlett
e59e82b902
r1372: Remove the 'default' case from the SPENGO state machine, and fix up
...
some compiler warnings that allowed us to see.
Andrew Bartlett
(This used to be commit 1a6c2018dd49519e6fccdd5a7f35d70b67d45275)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
7c139a6815
r1367: SPNEGO know uses gensec_subcontext_start() in all places
...
metze
(This used to be commit f7379324025c599cd201ce6d0905f0ca2c24ce73)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
4b7cd833a0
r1366: handle the case where the client need to send the negTokenInit before
...
getting something from the server.
(this is needed by SPNEGO in dcerpc)
metze
(This used to be commit ec978555f0bd612b80dfa49ccc880a3858285879)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
c688a1e18f
r1365: in SPNEGO_SERVER_TARG we should not check the spnego_negResult
...
because the client don't send this
metze
(This used to be commit b1217a4ef6592082bb02fd0596a0563bacdf1d8e)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
6f0d8e67ff
r1364: the SPNEGO_SERVER_TARG state is different from the SPNEGO_CLIENT_TARG
...
the client checks but not send spnego_negResult
metze
(This used to be commit 49e4d375e9504f595aaa64ac62ddb421f082c424)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
215c400aee
r1363: add SPNEGO_NONE_RESULT as spnego_negResult value
...
this should indicate that we don't send a spnego_negResult t all over the wire
metze
(This used to be commit 69d685d81784e5fb33e41d3244498ac620a2f5f0)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
1432bb01f3
r1360: - remove unused state SPNEGO_CLIENT_SEND_MECHS
...
- remove unsed gensec_user forward, it's done by the gensec layer know
metze
(This used to be commit e19e5a91f2fd988546f42473bf241dff3c2fe198)
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
f9c7b6303c
r1359: fix uninit var - found by valgrind
...
metze
(This used to be commit 264afea9ec3ada4df51e5f5de4c0b977024af40b)
2007-10-10 12:56:53 -05:00
Andrew Bartlett
14e8aab182
r1358: Re-indent the SPENGO implementation, and work on the basis of a
...
switch, rather than a series of if statements.
Also start to use the GENSEC subcontexts, and add some comments
explaining some of the 'odd' logic in parts.
I'll probably break these out into subfunctions soon.
Thanks to metze for getting me to do this :-)
Andrew Bartlett
(This used to be commit 73e03596d3b2ad5927e8154d0fbfbdae9ec3f717)
2007-10-10 12:56:53 -05:00
Andrew Bartlett
93665a132d
r1357: Work on GENSEC:
...
- Add the concept of a 'subcontext' into gensec, so that the spengo
code doesn't have to figure out how to make one.
(A subcontext inherits the username, domain, password (or callback)
from the main context).
- Add comments to some other routines, and explain a bit about what
the various 'start' functions are for.
Andrew Bartlett
(This used to be commit 7aedbfbdd92b4ca93cbd0babff16e7526201ee88)
2007-10-10 12:56:53 -05:00
Andrew Bartlett
66ac77dd12
r1356: Fix logic bugs in ntlm_auth.
...
Andrew Bartlett
(This used to be commit 871e98ce5771bc96527f7ad4da07a7d6c1ae1c3c)
2007-10-10 12:56:52 -05:00
Andrew Bartlett
d9f4a8328e
r1355: Add const (I missed this when I changed the function prototype earlier)
...
Andrew Bartlett
(This used to be commit dbe484a0c2c1ef99b71621208fb3fec68fe4fada)
2007-10-10 12:56:52 -05:00
Andrew Bartlett
25f396edfb
r1354: Make it clear that the first gensec_update takes a NULL data_blob.
...
Andrew Bartlett
(This used to be commit 842a5dfc1f313b771fef14a484be6eea8c6eedf8)
2007-10-10 12:56:52 -05:00
Andrew Bartlett
674ad23789
r1353: Fix compile with new ASN1 peek code.
...
Andrew Bartlett
(This used to be commit 9039a2a1128d8af278cae76c0aa6d5362b3671e4)
2007-10-10 12:56:52 -05:00
Andrew Bartlett
b359f5d893
r1352: Add a 'peek' function to our ASN1 code, so we can safely perform the
...
various switches without looking one byte past te end of the buffer.
(This used to be commit 5bce188d429b4166f3d0314922ae40204de182a7)
2007-10-10 12:56:52 -05:00
Stefan Metzmacher
3b7872f69f
r1351: add derpc spengo wrapper
...
not yet used and not working because of bugs in the gensec spnego code
metze
(This used to be commit b9795ed5735ad88a2ba9608d3d8804edf77e4cd4)
2007-10-10 12:56:52 -05:00
Stefan Metzmacher
49d6c46fa3
r1350: - init nt_status- found by valgrind
...
- set auth_type = DCERPC_AUTH_TYPE_SPNEGO
metze
(This used to be commit 7354521f3cfaa2ead8fac38a68b7704d43731f72)
2007-10-10 12:56:52 -05:00