Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-10 | s3: Remove superfluous ; | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 10 15:26:50 CET 2011 on sn-devel-104 | |||||
2011-01-09 | s3: Convert enc_blob_send_receive to cli_trans() | Volker Lendecke | 1 | -34/+21 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 9 11:40:04 CET 2011 on sn-devel-104 | |||||
2011-01-09 | s3: Fix two incompatible pointer type warnings on Solaris | Volker Lendecke | 1 | -2/+2 | |
2011-01-07 | netlogon: move netlogon helpers to ../libcli/netlogon. | Günther Deschner | 2 | -2/+2 | |
Guenther | |||||
2011-01-07 | s3: Make nmbd socket dir configurable | Volker Lendecke | 1 | -1/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104 | |||||
2011-01-07 | s3: Remove some unused code | Volker Lendecke | 5 | -477/+0 | |
2011-01-07 | s3: Limit the number of unexpected clients to 200 | Volker Lendecke | 1 | -0/+9 | |
DoS protection like the max winbind clients. Settable by nmbd:unexpected_clients | |||||
2011-01-07 | s3: Limit the number of unexpected packets per client to 10 | Volker Lendecke | 1 | -0/+8 | |
Non-reading clients could maliciously make nmbd allocate memory | |||||
2011-01-07 | s3: Use the new nbt_getdc in dsgetdcname() | Volker Lendecke | 1 | -20/+7 | |
2011-01-07 | s3: Add nbt_getdc | Volker Lendecke | 2 | -0/+215 | |
This is a getdc version that uses /tmp/.nmbd/unexpected | |||||
2011-01-07 | s3: Fix a valgrind error | Volker Lendecke | 1 | -1/+1 | |
2011-01-07 | s3: Factor out parse_getdc_response | Volker Lendecke | 1 | -55/+65 | |
2011-01-07 | s3: Lift my_mailslot from prep_getdc_request | Volker Lendecke | 1 | -18/+22 | |
2011-01-07 | s3: Make name_query use /tmp/.nmbd/unexpected | Volker Lendecke | 1 | -215/+264 | |
2011-01-07 | s3: Make node_status_query use /tmp/.nmbd/unexpected | Volker Lendecke | 1 | -65/+174 | |
2011-01-07 | s3: Add nb_trans_send/recv | Volker Lendecke | 1 | -0/+197 | |
This does an async port 137 transaction: It connects to /tmp/.nmbd/unexpected, sends out the query and then waits for a reply on both the socket as well as data from /tmp/.nmbd/unexpected. Every packet is passed through a validator. If that returns true, the packet received is finally accepted. | |||||
2011-01-07 | s3: Add sock_packet_read | Volker Lendecke | 1 | -0/+215 | |
Read packets from both a socket and from /tmp/.nmbd/unexpected simultaneously | |||||
2011-01-07 | s3: Add packet_trn_id() | Volker Lendecke | 1 | -0/+16 | |
2011-01-07 | s3: Basic infrastructure for /tmp/.nmbd/unexpected | Volker Lendecke | 1 | -0/+677 | |
This provides the framework to replace the unexpected.tdb file. Nmbd will listen on /tmp/.nmbd/unexpected. A client interested in unexpected packets connects there. It sends a nb_packet_query plus a potential mailslot name for dgram packets. It waits for a single ack byte to avoid races. After that has happened, nmbd will pass down all matching packets through that socket. nb_packet_server_create and nb_packet_dispatch are the nmbd routines, nb_packet_reader_send/recv and nb_packet_read_send/recv are the client ones. | |||||
2011-01-02 | s3: Fix a memleak in receive_getdc_response | Volker Lendecke | 1 | -15/+22 | |
It's the free_packet() that was missing. On the way, I've changed the "return false;" to a "goto fail;", which makes the patch a bit larger. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 2 14:27:56 CET 2011 on sn-devel-104 | |||||
2011-01-02 | Fix memory leak I introduced when refactoring unexpected packet code. | Jeremy Allison | 1 | -0/+1 | |
Found by Volker. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Jan 2 06:11:13 CET 2011 on sn-devel-104 | |||||
2011-01-01 | s3: Remove unused mem_ctx arg from set_getdc_request | Volker Lendecke | 3 | -5/+3 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104 | |||||
2011-01-01 | s3: Factor out prep_getdc_request | Volker Lendecke | 1 | -31/+50 | |
2011-01-01 | s3: cli_send_mailslot -> cli_prep_mailslot | Volker Lendecke | 1 | -31/+28 | |
2011-01-01 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 16:03:23 CET 2011 on sn-devel-104 | |||||
2010-12-31 | s3: Add some const to receive_getdc_response | Volker Lendecke | 2 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104 | |||||
2010-12-31 | s3: Add some const to send_getdc_request | Volker Lendecke | 2 | -2/+2 | |
2010-12-31 | s3: Fix some nonempty blank lines | Volker Lendecke | 2 | -77/+77 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 31 10:58:31 CET 2010 on sn-devel-104 | |||||
2010-12-30 | s3: Fix two uninitialized variables | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104 | |||||
2010-12-29 | s3: Allow more control over smbsock_[any_]connect | Volker Lendecke | 1 | -25/+88 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104 | |||||
2010-12-28 | s3: Make name_query return NTSTATUS | Volker Lendecke | 1 | -20/+26 | |
Also use talloc for the result Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104 | |||||
2010-12-28 | s3: Make node_status_query return NTSTATUS | Volker Lendecke | 1 | -20/+31 | |
Also make the result talloc'ed Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104 | |||||
2010-12-28 | s3: Remove an ancient typedef | Volker Lendecke | 1 | -6/+6 | |
2010-12-28 | s3: Fix some typos | Volker Lendecke | 1 | -2/+3 | |
2010-12-23 | s3:libsmb: use 16 zero bytes as channel binding checksum in the gssapi ↵ | Stefan Metzmacher | 1 | -20/+10 | |
checksum (bug #7883) This fixes SMB session setups with kerberos against some closed source SMB servers. The new behavior matches heimdal and mit. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 23 09:38:43 CET 2010 on sn-devel-104 | |||||
2010-12-22 | s3: Retry *SMBSERVER in nb_connect | Volker Lendecke | 1 | -2/+47 | |
2010-12-22 | s3: Add smbsock_any_connect | Volker Lendecke | 1 | -1/+221 | |
2010-12-22 | s3: Add an async smbsock_connect | Volker Lendecke | 1 | -0/+308 | |
This connects to 445 and after 5 milliseconds also to 139. It treats a netbios session setup failure as equivalent as a TCP connect failure. So if 139 is faster but fails the nb session setup, the 445 still has the chance to succeed. | |||||
2010-12-22 | s3: Add async cli_session_request | Volker Lendecke | 1 | -0/+127 | |
This does not do the redirects, but I think that might be obsolete anyway | |||||
2010-12-22 | s3: Add some const to name_mangle() | Volker Lendecke | 1 | -1/+1 | |
2010-12-22 | s3:libsmb/namequery.c: don't leak 'pserver' | Stefan Metzmacher | 1 | -2/+2 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 22 09:54:31 CET 2010 on sn-devel-104 | |||||
2010-12-21 | s3:cli_np_tstream: if SMBtrans is desired, the readv needs to wait for the ↵ | Stefan Metzmacher | 1 | -23/+70 | |
last writev chunk. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 21 17:43:06 CET 2010 on sn-devel-104 | |||||
2010-12-21 | s3/s4:auth SPNEGO - adaptions for the removed "const" from OIDs | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
This is needed in order to suppress warnings. | |||||
2010-12-20 | s3: Remove unused "retry" from cli_start_connection | Volker Lendecke | 1 | -11/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104 | |||||
2010-12-20 | s3: Remove unused "retry" from cli_full_connection | Volker Lendecke | 3 | -8/+6 | |
2010-12-20 | s3: Remove some unused variables | Volker Lendecke | 1 | -2/+1 | |
2010-12-19 | s3: netsamlogon_clear_cached_user only needs the SID | Volker Lendecke | 1 | -8/+2 | |
2010-12-19 | s3: Remove two pointless slprintf calls | Volker Lendecke | 1 | -4/+4 | |
2010-12-15 | s3:libsmb: add tstream_cli_np_get_cli_state() | Stefan Metzmacher | 2 | -0/+10 | |
metze | |||||
2010-12-15 | s3:libsmb: add tstream_cli_np_set_timeout() | Stefan Metzmacher | 2 | -0/+18 | |
metze |