summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-07-01The 17-bit length field in the header contains the number ofChristopher R. Hertel1-1/+8
bytes which follow the header, not the full packet size. [Yes, the length field is either 17-bits, or (per the RFCs) it is a 16-bit length field preceeded by an 8-bit flags field of which only the low-order bit may be used. If that bit is set, then add 65536 to the 16-bit length field. (In other words, it's a 17-bit unsigned length field.) ...unless, of course, the transport is native TCP [port 445] in which case the length field *might* be 24-bits wide.] Anyway, the change is a very minor one. We were including the four bytes of the header in the length count and, as a result, sending four bytes of garbage at the end of the SESSION REQUEST packet. Small fix in function cli_session_request(). (This used to be commit d08471688b65371eb3de73b03a8ffaee86659ba0)
2002-05-13Merge from HEAD:Tim Potter1-1/+1
> Don't store domain with username in secrets.tdb (This used to be commit a4a01afebe5b05e55ba64ada37e567d235d82fe8)
2002-05-13Merge of --set-auth-user updates from 2.2Tim Potter1-3/+4
(This used to be commit f01d48fbf5ba08edb0b2882957af98bdfd38c064)
2002-05-13Rerun autoconf.Tim Potter1-7/+88
(This used to be commit 2c483c8dce21c5041c5f368aedcc47e8c70f3596)
2002-05-13Merge of secrets_init() paranoia fix from 2.2Tim Potter1-1/+6
(This used to be commit e24f6288b63b950d7e8fee80759a94d6acd8cfa6)
2002-05-13Merge of Solaris winbindd fixes.Tim Potter4-0/+42
(This used to be commit 4bbc584e6ce9cbc32bae715fd3fec0d89f2e271f)
2002-05-07Merge from HEAD:Tim Potter3-44/+204
>Added cli_spoolss_enumjobs() function. >Added cmd_spoolss_enumjobs() function to rpcclient. > >The semantics of the src_len argument to rpcstr_pull() seem to have changed >breaking most of the spoolss commands in rpcclient. Changed a bunch of >0's to -1's to fix it. (This used to be commit dce534d4373cc0f204d82e0876bb94db8dfeb628)
2002-05-07Merge from HEAD:Tim Potter2-0/+2
>DOS error 1307 is returned when an invalid owner for a security descriptor >is detected. (This used to be commit 8b5cb1c2dda39ab4eaa5f61272cebcba072c332b)
2002-04-24Merge from HEAD:Tim Potter2-0/+2
>Added constant and message for invalid security descriptor dos error. (This used to be commit f16c85caff9adb640c70ce6b932f33bdec696665)
2002-04-24Merged [fp]strterminate macros from HEAD to fix compile.Tim Potter1-0/+3
(This used to be commit 9fe4363e15239d302c1caf58fe76614cf7a53778)
2002-04-22printing merge from HEADGerald Carter5-77/+39
(This used to be commit d3aed37dd87d425f51bcdc4e5151f0b0fe8f9c6b)
2002-04-22Copying commit from HEAD.Christopher R. Hertel1-2/+13
My seven-year-old daughter calls me 'Captain Pedantic'. I don't know which is freakier... the name or the fact that a seven-year-old knows what it means. Small change to correct the value we place in the DGM_LENGTH field of NBT Datagram messages. We have been counting the full datagram, but it's fairly clear in the RFCs that we should only count the source name, destination name, and payload. We've been overcharging by 14 bytes (the size of the NBT DGM header). This fix brings us in line with what Windows does, and what the RFCs say should be done. I'm a little surprised that this didn't cause any bugs or error messages. I guess no one actually checks this field. (This used to be commit c06a2ece7545a9d9f8cde04745b603f7d6c6a716)
2002-04-15merge from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit 305ff4203e7313c7869305c63290b1964ac17f2e)
2002-04-15Merge of lsa lookup names/sids patch from HEAD.Tim Potter6-42/+41
(This used to be commit e57c162897d4a7e66bb87091d179ac138f751c64)
2002-04-15Whoops, removed debug 0 that snuck in.Tim Potter1-4/+0
(This used to be commit dd1fb1b90b143c41238eb1f342d86d8fd406a4ef)
2002-04-15Merge of print server permission handling fixes from HEAD.Tim Potter2-12/+57
(This used to be commit 62ee1f8c3fbcf83641bed881143a1a8c70f836ba)
2002-04-15Merge of comment fix.Tim Potter1-1/+1
(This used to be commit 0e3be3603e6fea05cc8febd6ba50a5064e225901)
2002-04-143 branches might become a pain... :-)Volker Lendecke1-0/+9
Volker (This used to be commit 8ecfed59a3905c25a708172bf39511a0b7637776)
2002-04-12merged the mangling test and passdb bugfixes into SAMBA_3_0Andrew Tridgell7-167/+180
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
2002-04-12This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User22-4909/+201
used to be commit 1c221b3e72b24b6b8bd0d14b6ce32cf701684a81)
2002-04-12nicer measurement of failures and collisionsAndrew Tridgell1-7/+15
(This used to be commit 61c61f6b4f22c1ef6f837145f5e05730706cc8d4)
2002-04-12better mangling test. We now test that we can create by long name andAndrew Tridgell1-2/+33
delete by short name, and that we can create by short name and delete by long name our old mangling code fails this test. also tweaked the random filename generation to produce more likely collisions (This used to be commit 65609c52960c2b5938150a2fdb5290541f4e0225)
2002-04-12- added a mangling test suite that measures the collision rate onAndrew Tridgell4-12/+194
randomised filenames - fixed several mangling bugs that the test suite pointed out (This used to be commit 858fa7efc34f6e7cdf8500900aed3f7943c91348)
2002-04-11Much better support for both non-algorithic RIDs (where the RID is stored inAndrew Bartlett3-155/+145
the passdb) and RIDs not in the passdb, due to being NIS users etc. The main fix here is to add become_root()/unbecome_root() at critical places. This (finally) fixes the bug where you could not see local users's names in a file's security properties as non-root. Tested. The similar bug in uid_to_sid is also fixed, but is not (yet) Tested. Andrew Bartlett (This used to be commit 79327a305e20d78ab5ca21d01c39b5f49dc0d632)
2002-04-11HP2500C driver writes devmode with private data that endsJeremy Allison1-0/+9
on a 2 byte boundary. We then miss-parse the desired_access. Also added other fixes to ensure we align after private data (discussed with Gerry). Jeremy. (This used to be commit 4369a58765f382e118e5393c805336484671cbf9)
2002-04-11added strndup() for systems that don't have itAndrew Tridgell4-672/+697
(This used to be commit 7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
2002-04-11don't try to return a voidAndrew Tridgell1-1/+1
(This used to be commit 51b4de0ae3b05c4f34a645ae9c6e395bc37226e6)
2002-04-11possibly fix the 15000 user problemAndrew Tridgell2-8/+8
I think its caused by a rpc operation failing and us giving invalid data back to the cache layer. Using talloc_zero() should solve this. (This used to be commit dfa990170bb9a665ba48443258e2a87f50baa75c)
2002-04-11- the 36^6 hash space gives 31 bits, not 32 bits. We need to mask theAndrew Tridgell1-2/+4
hash to suit - the prefix ends at the last dot, not the first (This used to be commit 91a3ccd3e790f980421c1ee93388e19e87026b29)
2002-04-11a few debug statements (disabled)Andrew Tridgell1-2/+7
(This used to be commit 582f753eac7a111a93a8d6c049398a0998af848f)
2002-04-11don't treat '.' as FLAG_ASCII, instead handle it separatelyAndrew Tridgell1-2/+2
(This used to be commit ecdddd674f2ffad16eaa01a68c9c91ff3b355b3f)
2002-04-11- tidier flag checking codeAndrew Tridgell1-8/+40
- finished the is_mangled() function (This used to be commit 128bec2071d640c775b58322256ac6bb03363741)
2002-04-11added some more commentsAndrew Tridgell1-5/+15
(This used to be commit 8d6f2e239940cbac44f6f0e9d584a47553acbc56)
2002-04-11some optimisations to the new mangling systemAndrew Tridgell1-16/+44
(This used to be commit 30b35d0c1f41f72ebe230905f76db8807802a6cc)
2002-04-11this adds a completely new hash based mangling schemeAndrew Tridgell4-1/+532
the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well. (This used to be commit bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)
2002-04-11Implemented a setup_logging() function that takes two keywords:Tim Potter1-1/+10
interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. Make open_pipe_creds() accept None as a anonymous credential. (This used to be commit 094a51edb9369f5c493bddfdc98347431bea3c2d)
2002-04-11Implemented a setup_logging() function that takes two keywords:Tim Potter2-5/+62
interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. (This used to be commit 6c7b5e15c22119623ee959267d2755e21193bc4b)
2002-04-11removed unnecessary memsetGerald Carter1-2/+1
(This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6)
2002-04-11Correctly emulate NT in printer handle opening access rights.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 42ae2334f21402c347aee560f08fd8e730481169)
2002-04-11This split the mangling code up to allow for the possibility of multipleAndrew Tridgell14-999/+1117
mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
2002-04-11s/werror_str/dos_errstr/g to fix compileGerald Carter1-3/+3
(This used to be commit d7c9b00253499da047f30f71660dede3676d40ad)
2002-04-11merge from 2.2Gerald Carter1-1/+0
(This used to be commit 7db47c6647d764739e395948699cf115c4da4c8d)
2002-04-11WERROR merge from SAMBA_2_2Gerald Carter2-50/+40
(This used to be commit 32dc5dbbfb16cb9fd6f953dbb8148f5228b453a4)
2002-04-11specversion merge from SAMBA_2_2Gerald Carter2-0/+29
(This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)
2002-04-11Added a whole bunch more permission constants.Tim Potter1-0/+20
(This used to be commit f8673bd499c7c3993a5860d2ebe9ae2403105316)
2002-04-11Removed duplicate _LARGEFILE64_SOURCE added in error.Jeremy Allison2-6/+0
Jeremy. (This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
2002-04-11Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison4-767/+934
defines into acconfig.h - only defined if seen. Jeremy. (This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)
2002-04-10Rename of ads_do_search_all2() to ads_do_search_all() and removal ofJim McDonough1-23/+11
server sort controls. Also put option externs in the net.h include. (This used to be commit b69f11170c2b27016c44a98bc603d1c94ad7d4c2)
2002-04-10Add a few option externs for net_ads.cJim McDonough1-0/+4
(This used to be commit 4e3265c3c94583ac7ee48017d195ad98ecdfbc47)
2002-04-10A few more updates:Jim McDonough1-132/+348
- Add doxygen comments - remove server sort control (ms implementation was not reliable) - rename ads_do_search_all2() to ads_do_search_all_fn() (This used to be commit 7aa5fa617221019de0f4565d07842df72673e154)