summaryrefslogtreecommitdiffstats
path: root/source/libsmb/unexpected.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typosVolker Lendecke2008-03-081-2/+2
|
* Some paranoia checksVolker Lendecke2007-12-191-0/+8
|
* Zero the tdb key, there might be paddingVolker Lendecke2007-12-191-0/+2
| | | | This leads to uninitialized variable warnings if nmbd is run under valgrind.
* remove some staticsVolker Lendecke2007-12-051-19/+24
|
* r25492: Start adding IPv6 compatible code to lib/util_sock.c and deal withJeremy Allison2007-10-101-26/+50
| | | | | | the ripple effects this causes. utmp has to change etc. Remove some global varables and store address/port in the unexpected db. Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-10-101-3/+3
| | | | | | and fix all compiler warnings in the users metze
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-2/+2
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-1/+1
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
|
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-1/+1
|
* actually obey the "use mmap" smb.conf optionAndrew Tridgell2001-09-061-1/+1
|
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-1/+1
| | | | Jeremy.
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
|
* 1) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton2000-02-041-10/+10
| | | | | | | | | | | | | | | | | | two places i found where it was appropriate to _use_ that third argument, in locking.c and brlock.c! there was a static traverse_function and i removed the static variable, typecast it to a void*, passed it to tdb_traverse and re-cast it back to the traverse_function inside the tdb_traverse function. this makes the use of tdb_traverse() reentrant, which is never going to happen, i know, i just don't like to see statics lying about when there's no need for them. as i had to do in samba-tng, all uses of tdb_traverse modified to take the new void* state argument. 2) disabled rpcclient: referring people to use SAMBA_TNG rpcclient. i don't know how the other samba team members would react if i deleted rpcclient from cvs main. damn, that code's so old, it's unreal. 20 rpcclient commands, instead of about 70 in SAMBA_TNG.
* use a minimal hash size in the unexpected packet database. A largeAndrew Tridgell2000-01-051-1/+1
| | | | | hash is only useful when we fetch by key, not when we use tdb_traverse()
* added suppport for unexpected udp/138 packetsAndrew Tridgell2000-01-031-9/+16
| | | | | | | | | | | | | | I also fixed up the lookup_pdc_name() code so that it now works, even with a NT server that insists on replying to udp/138. The method I used to match packets was to use the mailslot string as a datagram ID. The true dgm_id doesn't work as NT doesn't set it correctly. uggh. PS: Jeremy, I had to change your code quite a bit, are you sure this worked with a Samba PDC?? The code looked broken, it got the offsets wrong in the SMB portion of the packet and filled in the IP incorrectly.
* the bulk of the unexpected packet handling code is in hereAndrew Tridgell2000-01-031-0/+160