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

1491 Commits

Author SHA1 Message Date
Jelmer Vernooij
d321cf20f1 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/
2007-10-10 12:56:55 -05:00
Stefan Metzmacher
ae2e6b5862 r1429: enable spnego in smbclient too.
metze
2007-10-10 12:56:55 -05:00
Andrew Bartlett
c283837556 r1426: Fix some of my silly compile errors...
Andrew Bartlett
2007-10-10 12:56:55 -05:00
Andrew Bartlett
c5a1529d54 r1423: Make sure to destory the mem_ctx.
Andrew Bartlett
2007-10-10 12:56:55 -05:00
Andrew Bartlett
6709c7010d r1422: StrnCaseCmp now needs to be non-static.
Andrew Bartlett
2007-10-10 12:56:55 -05:00
Stefan Metzmacher
79953dccc1 r1421: fix a uninitialized var (thanks valgrind:-)
add a view debug messages

metze
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
db19d6047c r1420: be more strict reject if the context has the wrong type
metze
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
19b0567ee5 r1419: spnego inside of dcerpc using alter_context/alter_context_resp
instead of auth3

metze
2007-10-10 12:56:54 -05:00
Andrew Bartlett
7596f311c9 r1418: Merge Samba 3.0's recent kerberos changes into Samba4. None of this
is used yet.

Andrew Bartlett
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
e3760fcc17 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
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
e06898f88c r1406: I got spnego in the smb client working
so I set 'use spnego = True'

metze
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
f1bbde6bb4 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
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
acde1358c9 r1402: we should prompt for a password if it's not given by -U
metze
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
afe2efd143 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
2007-10-10 12:56:54 -05:00
Tim Potter
45b4016530 r1374: Fix signed/unsigned warnings (actually found by g++) after unsigned int
changes in r1018.
2007-10-10 12:56:54 -05:00
Andrew Bartlett
1a6c2018dd r1372: Remove the 'default' case from the SPENGO state machine, and fix up
some compiler warnings that allowed us to see.

Andrew Bartlett
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
f737932402 r1367: SPNEGO know uses gensec_subcontext_start() in all places
metze
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
ec978555f0 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
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
b1217a4ef6 r1365: in SPNEGO_SERVER_TARG we should not check the spnego_negResult
because the client don't send this

metze
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
49e4d375e9 r1364: the SPNEGO_SERVER_TARG state is different from the SPNEGO_CLIENT_TARG
the client checks but not send spnego_negResult

metze
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
69d685d817 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
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
e19e5a91f2 r1360: - remove unused state SPNEGO_CLIENT_SEND_MECHS
- remove unsed gensec_user forward, it's done by the gensec layer know

metze
2007-10-10 12:56:53 -05:00
Stefan Metzmacher
264afea9ec r1359: fix uninit var - found by valgrind
metze
2007-10-10 12:56:53 -05:00
Andrew Bartlett
73e03596d3 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
2007-10-10 12:56:53 -05:00
Andrew Bartlett
7aedbfbdd9 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
2007-10-10 12:56:53 -05:00
Andrew Bartlett
871e98ce57 r1356: Fix logic bugs in ntlm_auth.
Andrew Bartlett
2007-10-10 12:56:52 -05:00
Andrew Bartlett
dbe484a0c2 r1355: Add const (I missed this when I changed the function prototype earlier)
Andrew Bartlett
2007-10-10 12:56:52 -05:00
Andrew Bartlett
842a5dfc1f r1354: Make it clear that the first gensec_update takes a NULL data_blob.
Andrew Bartlett
2007-10-10 12:56:52 -05:00
Andrew Bartlett
9039a2a112 r1353: Fix compile with new ASN1 peek code.
Andrew Bartlett
2007-10-10 12:56:52 -05:00
Andrew Bartlett
5bce188d42 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.
2007-10-10 12:56:52 -05:00
Stefan Metzmacher
b9795ed573 r1351: add derpc spengo wrapper
not yet used and not working because of bugs in the gensec spnego code

metze
2007-10-10 12:56:52 -05:00
Stefan Metzmacher
7354521f3c r1350: - init nt_status- found by valgrind
- set auth_type = DCERPC_AUTH_TYPE_SPNEGO

metze
2007-10-10 12:56:52 -05:00
Stefan Metzmacher
a826accd55 r1349: don't segfault with empty data_blob
metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
38e00f8719 r1348: get gensec backend by OID instead of name
metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
3f84263c27 r1347: - remove typedef
- pass down gensec_user to the sub context

- if segfault when mechType is NULL

metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
7b8237bfb3 r1346: revert my last spnego changes
metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
2445cceba9 r1345: add extended security spnego support to the smb client
code

set lp_use_spnego = False, because I can't get it working yet
but I commit it so others can help me

metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
41ff6d0cd4 r1344: add gensec_start_mech_by_name()
some gensec spnego fixes
(NULL pointer and length checks)

metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
442905394b r1343: formating
metze
2007-10-10 12:56:51 -05:00
Volker Lendecke
8c997a2ad2 r1342: When fixing _lsa_lookupsids in samba3 I wanted to find out the number of SIDs
w2k3 can handle in a single request. With the samba3 client rpc libs I can do
about 21000 SIDs in a single request. test_many_LookupSIDs with 10000 SIDs
fails on the subsequent request with a NET_WRITE_FAULT. Maybe the Samba4 DCE
people want to take a look at this -- I don't see the problem.

Bug fix: SID components should be treated as unsigned when parsing

Volker
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
ee711c71fe r1337: use sess->nt1. in sesssetup_nt1 :-)
metze
2007-10-10 12:56:51 -05:00
Stefan Metzmacher
32e307857c r1336: check the vuid in old style sessionsetup too
metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
80851e6778 r1335: NT_STATUS_INTERNAL_DB_CORRUPTION
should cause DEBUG(0,(...));

metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
7a8786269b r1334: remove unused stuff
metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
4422547711 r1323: allow '-' in IDENTIFIERS
accept '--' comments

implement the
<name> DEFINITIONS ::=

BEGIN
...
END

syntax

metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
52674db282 r1321: find the '::=' directly by th lexer
metze
2007-10-10 12:56:50 -05:00
Tim Potter
0edf17ac38 r1313: Split up OpenPrinterEx into functions to handle opening printers and print
servers.
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
d752eb660f r1310: one more #line statement
metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
390c03b929 r1309: use #line 1 "filename.pl"
(for better bug tracking)

when generating config.smb_build.pl

metze
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
4daf1bafc7 r1308: move smb_panic() to lib/fault.c
merge the backtrace stuff from 3.0

metze
2007-10-10 12:56:50 -05:00