summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-01-10s3: Remove superfluous ;Volker Lendecke1-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-09s3: Convert enc_blob_send_receive to cli_trans()Volker Lendecke1-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-09s3: Fix two incompatible pointer type warnings on SolarisVolker Lendecke1-2/+2
2011-01-07netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner2-2/+2
Guenther
2011-01-07s3: Make nmbd socket dir configurableVolker Lendecke1-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-07s3: Remove some unused codeVolker Lendecke5-477/+0
2011-01-07s3: Limit the number of unexpected clients to 200Volker Lendecke1-0/+9
DoS protection like the max winbind clients. Settable by nmbd:unexpected_clients
2011-01-07s3: Limit the number of unexpected packets per client to 10Volker Lendecke1-0/+8
Non-reading clients could maliciously make nmbd allocate memory
2011-01-07s3: Use the new nbt_getdc in dsgetdcname()Volker Lendecke1-20/+7
2011-01-07s3: Add nbt_getdcVolker Lendecke2-0/+215
This is a getdc version that uses /tmp/.nmbd/unexpected
2011-01-07s3: Fix a valgrind errorVolker Lendecke1-1/+1
2011-01-07s3: Factor out parse_getdc_responseVolker Lendecke1-55/+65
2011-01-07s3: Lift my_mailslot from prep_getdc_requestVolker Lendecke1-18/+22
2011-01-07s3: Make name_query use /tmp/.nmbd/unexpectedVolker Lendecke1-215/+264
2011-01-07s3: Make node_status_query use /tmp/.nmbd/unexpectedVolker Lendecke1-65/+174
2011-01-07s3: Add nb_trans_send/recvVolker Lendecke1-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-07s3: Add sock_packet_readVolker Lendecke1-0/+215
Read packets from both a socket and from /tmp/.nmbd/unexpected simultaneously
2011-01-07s3: Add packet_trn_id()Volker Lendecke1-0/+16
2011-01-07s3: Basic infrastructure for /tmp/.nmbd/unexpectedVolker Lendecke1-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-02s3: Fix a memleak in receive_getdc_responseVolker Lendecke1-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-02Fix memory leak I introduced when refactoring unexpected packet code.Jeremy Allison1-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-01s3: Remove unused mem_ctx arg from set_getdc_requestVolker Lendecke3-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-01s3: Factor out prep_getdc_requestVolker Lendecke1-31/+50
2011-01-01s3: cli_send_mailslot -> cli_prep_mailslotVolker Lendecke1-31/+28
2011-01-01s3: Fix some nonempty blank linesVolker Lendecke1-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-31s3: Add some const to receive_getdc_responseVolker Lendecke2-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-31s3: Add some const to send_getdc_requestVolker Lendecke2-2/+2
2010-12-31s3: Fix some nonempty blank linesVolker Lendecke2-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-30s3: Fix two uninitialized variablesVolker Lendecke1-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-29s3: Allow more control over smbsock_[any_]connectVolker Lendecke1-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-28s3: Make name_query return NTSTATUSVolker Lendecke1-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-28s3: Make node_status_query return NTSTATUSVolker Lendecke1-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-28s3: Remove an ancient typedefVolker Lendecke1-6/+6
2010-12-28s3: Fix some typosVolker Lendecke1-2/+3
2010-12-23s3:libsmb: use 16 zero bytes as channel binding checksum in the gssapi ↵Stefan Metzmacher1-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-22s3: Retry *SMBSERVER in nb_connectVolker Lendecke1-2/+47
2010-12-22s3: Add smbsock_any_connectVolker Lendecke1-1/+221
2010-12-22s3: Add an async smbsock_connectVolker Lendecke1-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-22s3: Add async cli_session_requestVolker Lendecke1-0/+127
This does not do the redirects, but I think that might be obsolete anyway
2010-12-22s3: Add some const to name_mangle()Volker Lendecke1-1/+1
2010-12-22s3:libsmb/namequery.c: don't leak 'pserver'Stefan Metzmacher1-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-21s3:cli_np_tstream: if SMBtrans is desired, the readv needs to wait for the ↵Stefan Metzmacher1-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-21s3/s4:auth SPNEGO - adaptions for the removed "const" from OIDsMatthias Dieter Wallnöfer1-3/+1
This is needed in order to suppress warnings.
2010-12-20s3: Remove unused "retry" from cli_start_connectionVolker Lendecke1-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-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke3-8/+6
2010-12-20s3: Remove some unused variablesVolker Lendecke1-2/+1
2010-12-19s3: netsamlogon_clear_cached_user only needs the SIDVolker Lendecke1-8/+2
2010-12-19s3: Remove two pointless slprintf callsVolker Lendecke1-4/+4
2010-12-15s3:libsmb: add tstream_cli_np_get_cli_state()Stefan Metzmacher2-0/+10
metze
2010-12-15s3:libsmb: add tstream_cli_np_set_timeout()Stefan Metzmacher2-0/+18
metze