summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for a bug Jerry found with printing where a smbd connection mayJeremy Allison2002-04-231-1/+6
| | | | | be idled even with an open pipe. Jeremy.
* Ensure auth requests from the same machine are completely serialized.Jeremy Allison2002-04-221-5/+40
| | | | | NT4.x DC's require this. Jeremy.
* merge from SAMBA_2_2Gerald Carter2002-04-223-53/+20
|
* My seven-year-old daughter calls me 'Captain Pedantic'. I don't know whichChristopher R. Hertel2002-04-221-2/+13
| | | | | | | | | | | | | | | 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.
* try to cope better with the take ownership operation for foreign SIDsAndrew Tridgell2002-04-202-3/+63
| | | | | what we do is map to the authenticated user when the sid is unmappable and dos filemodes are enabled
* Return exception text if getprinter level not [0..3]Tim Potter2002-04-201-1/+8
|
* We cannot set errno=0 in any of the wrapper calls as this breaks UNIX errorJeremy Allison2002-04-192-8/+0
| | | | | returns to the client. Jeremy.
* Added Martin's lpq parse fixes from 2.2.Jeremy Allison2002-04-192-20/+15
| | | | Jeremy.
* Fix different args to sys_fcntl without going varargs....Jeremy Allison2002-04-194-13/+28
| | | | Jeremy.
* Fixed one more sendto.Jeremy Allison2002-04-191-1/+1
| | | | Jeremy.
* When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).Jeremy Allison2002-04-191-2/+2
| | | | Jeremy.
* add NetUserEnum and NetGroupEnum lanmap API calls, untested. I don't haveJean-François Micouleau2002-04-191-94/+152
| | | | | | | anymore a SNAP/DELL NAS to test. from Kevin Stefanik. J.F.
* DEBUG cleanup.Jean-François Micouleau2002-04-191-1/+1
| | | | J.F.
* Added sys_fcntl (not to be used everywhere). Added sys_read/sys_writeJeremy Allison2002-04-196-18/+31
| | | | | for transfer_file. Jeremy.
* fixed trust relationships in ADS winbindd after breaking them with my BDC ↵Andrew Tridgell2002-04-193-6/+13
| | | | changes ...
* Fixed sendto in oplock code.Jeremy Allison2002-04-192-2/+17
| | | | Jeremy.
* Fix oplock recvfrom.Jeremy Allison2002-04-191-1/+1
| | | | Jeremy.
* Fix send and recvfrom.Jeremy Allison2002-04-192-12/+27
| | | | Jeremy.
* First cut at fix for the EINTR problem... More needs to be done I think.Jeremy Allison2002-04-194-141/+187
| | | | Jeremy.
* fixed a namequery bug caused by my recent string length patchesAndrew Tridgell2002-04-191-1/+1
|
* Back out the wrong changes I made yesterday ...Richard Sharpe2002-04-182-11/+6
|
* fixed the fallback to a BDC for ADS connectionsAndrew Tridgell2002-04-187-9/+52
|
* nicer strndup() functionAndrew Tridgell2002-04-181-6/+6
|
* Started working on setprinter code.Tim Potter2002-04-186-59/+197
|
* make protoTim Potter2002-04-181-2/+2
|
* - fixed the is_mangled() interface to handle multiple componentsAndrew Tridgell2002-04-181-5/+42
| | | | - fixed the no-extension case of reverse mangling
* Fix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptrJeremy Allison2002-04-181-1/+1
| | | | | in the SetPrinter() call - they send it in the devmode_ctr instead. Jeremy.
* Fix smbtorture so it can handle collisions etc ...Richard Sharpe2002-04-172-6/+21
|
* Fixed the AFP_Resource:$DATA filename creation bug.Jeremy Allison2002-04-171-239/+255
| | | | Jeremy.
* libsmb/cli_netlogon.c: Fixed confusing debug messages.Jeremy Allison2002-04-172-18/+17
| | | | | | param/loadparm.c: Added missing debugs that would have helped me find a misconfiguration I lost a day on.... Jeremy.
* Fix unused warnings with deleted code.Jeremy Allison2002-04-171-4/+23
| | | | Jeremy.
* Fixed command line argument parsing.Tim Potter2002-04-171-70/+54
|
* disabled the traversal of the brlock database at startup andAndrew Tridgell2002-04-171-8/+0
| | | | | | | | | shutdown. I have just helped debug a very large Solaris server where the traversal was taking so long that the clients timed out, created a new process which in turn did a traversal! we will need to find some other way of doing a brlock.tdb cleanup (if its even needed at all)
* make suure we get the return value from the pull_*() functions rightAndrew Tridgell2002-04-172-7/+13
| | | | for both null terminated and buffer length terminated strings
* sync with 2.2Simo Sorce2002-04-161-4/+9
|
* stricter conditions on termination in stringsAndrew Tridgell2002-04-161-6/+6
| | | | | this was a very nasty bug with filename corruption and NT4 clients. The exact termination conditions are quite critical ...
* Fix incorrect zpadlen handling in fmtfp.Simo Sorce2002-04-161-14/+20
| | | | | | Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> for spotting it. few mods to make it easier to compile the tests. addedd the "Ollie" test to the floating point ones.
* few fixes and regenerateGerald Carter2002-04-165-95/+184
|
* merges from SAMBA_2_2Gerald Carter2002-04-161-44/+61
|
* we did not initialise global_myname and global_myworkgroup which lead toJean-François Micouleau2002-04-161-1/+14
| | | | | | | | duplicate entries in secrets.tdb and false SID generated. took me *hours* to understand. J.F.
* fixed a problem with the smb_buf() macro on some compilersAndrew Tridgell2002-04-161-1/+1
|
* ignore a few more filesAndrew Tridgell2002-04-163-1/+12
|
* reran configure after adding a test for strnlen()Andrew Tridgell2002-04-162-1/+4
|
* fixed the handling of STR_TERMINATEAndrew Tridgell2002-04-163-4/+34
|
* i forgot to commit these parts of the string handling patch earlier. Sorry.Andrew Tridgell2002-04-162-6/+9
|
* make sure we don't walk past the end of the current SMB buffer whenAndrew Tridgell2002-04-167-45/+49
| | | | | pulling a string this might explain a serious filename corruption bug that Quantum QA spotted
* make sure that we leave the tree unused after disconnectingAndrew Tridgell2002-04-151-0/+4
|
* Stubs for connect, domain, user, group and alias policy objects.Tim Potter2002-04-151-39/+202
| | | | Wrote samr connect fn.
* merge from SAMBA_2_2Gerald Carter2002-04-151-1/+1
|
* Another patch from jelmer:Andrew Bartlett2002-04-152-39/+55
| | | | | | | Doco for pdbedit and (ugly, but the best we could come up with) fix for compiling pdbedit on some non-gcc compilers. Andrew Bartlett