summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell13-676/+699
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-19Realloc fix.Jeremy Allison1-6/+5
Jeremy. (This used to be commit 82153dde951ff7af3655f466cb2ea42c3195bdff)
2001-08-19Realloc fixes.Jeremy Allison1-13/+8
Jeremy. (This used to be commit 6b90263292d03b1ae2d5d18952e78fc26066f30d)
2001-08-19Realloc fixes.Jeremy Allison1-6/+5
Jeremy. (This used to be commit e4ef9e332fff99eb66101a3737a7efc3b7493cc5)
2001-08-19Realloc fixes.Jeremy Allison1-2/+3
Jeremy. (This used to be commit 560ae7615eb8eca2c872b1196ce0b9534bf8ad76)
2001-08-19More Realloc fixes.Jeremy Allison1-4/+3
Jeremy. (This used to be commit 94128f9f372c23602c14cf13a79a24d01065ced1)
2001-08-19Realloc fix.Jeremy Allison1-3/+13
Jeremy. (This used to be commit 9cabc3fd63d7780eb5d80eb7619fd7606d9da3b8)
2001-08-19Add missing gcc memory barriers, this bug showed up when doing aAnton Blanchard1-16/+43
heavy netbench run. :) Rework ppc spinlocks to be faster. (This used to be commit a58b89d33979f53daa2573c31eba024a26c46502)
2001-08-18More Realloc fixes.Jeremy Allison2-4/+13
Jeremy. (This used to be commit b4fa49fe13cb93d578b1714d5863a9f50395bf65)
2001-08-18More Realloc fixes.Jeremy Allison1-7/+17
Jeremy. (This used to be commit 381c02e6389dbb41fa66a854d7293594fd4bd0a6)
2001-08-17Use tparam not tdata when reallocing params to make clearer.Jeremy Allison1-12/+15
Jeremy. (This used to be commit 31804cb7a89f280cec4c047cad643c7f593f9b03)
2001-08-17more useful debug messages and check if the size are non null.Jean-François Micouleau1-10/+17
that fix the notification backend channel for spoolss. J.F. (This used to be commit 5e9a36bd9c1aa1a28f042ec9016a097215e4539e)
2001-08-17OK, so not freeing these was a mistake. I'll try to be less exuberent nextAndrew Bartlett1-0/+2
time :-) (This used to be commit 8c3cf2db95a0fcf48b21274cac93f13abb42d4bf)
2001-08-17Move the claim_connection stuff till a little later in the process.Andrew Bartlett1-16/+14
(You don't have to clean up somthing you haven't done yet...) (This used to be commit ba76564c2a06bf7feefdaf9ef06cbf77c776b6e6)
2001-08-17Move admin user check into a helper function.Andrew Bartlett1-18/+35
Formatting fixes. (This used to be commit 6fd8eb08c12d0446ab639becf8825d26bce8eb8a)
2001-08-17Move read only check into a helper funcion. Ensure conn->service is setAndrew Bartlett1-40/+50
before we use it to find a share's details. (This used to be commit 7dc716f174c38e73b8e6d07130a1bc39f4499ce3)
2001-08-17Restore a debug I think I dropped earlierAndrew Bartlett1-0/+2
(This used to be commit dc635bde2262b248f58d3ce52c2575dae8546571)
2001-08-17smbd/auth_server: Doco, we want to use cli_nt_error here soonAndrew Bartlett5-36/+47
smbd/password.c: We don't use globals here anymore smbd/reply.c: Tidyness, global_myworkgroup must die! smbd/service.c: Move some of the make_connection code into a helper function. (This used to be commit 15c87e404fcaff9e360a40b8b673938c6e611daf)
2001-08-17Style cleanup for the last vuid change.Andrew Bartlett3-11/+17
Style, doco and DEBUG() fixes for auth_smbpasswd.c (In particular for the account control call). Andrew Bartlett (This used to be commit 3d91c119420973d7dd1af416a1e26efa113dc626)
2001-08-17One less getpwnam() call...Andrew Bartlett2-11/+6
Andrew Bartlett (This used to be commit 204da7ba96b0c562bab5e5536728a0378077bdc7)
2001-08-16removed unused fileAndrew Tridgell1-91/+0
(This used to be commit 6b43e4a15d90bda11f7729de8782b99804ad0f8e)
2001-08-16removed unused fileAndrew Tridgell1-113/+0
(This used to be commit c452eb0fbbeb2d450d94c972dfeb190767005cd7)
2001-08-13Added Jim McDonough's Win9x take ownership fix.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 800e46ea7e724460be2ba5f71e5baa2f2ddd2d3b)
2001-08-13merge from 2.2Gerald Carter2-0/+16
(This used to be commit 7049217eb40dbe3de6c05fe43742d2f684501723)
2001-08-13Add printing of errno when POSIX lock requests fail.Jeremy Allison1-3/+3
Jeremy. (This used to be commit befbfea21035b0566fc6ba8674587fc44ad7bbdc)
2001-08-13Moved across definition of dos error types from smb.h to doserr.hTim Potter2-4/+7
(This used to be commit 6c0dab85025dd7df9415edd627349fa8f1230de3)
2001-08-13Converted to new error API.Tim Potter1-28/+32
Now that we support NT errors from the client, appropriate values will need to be filled in for the various invocations of check_error() within the torture code. (This used to be commit 577f6065f6c6b0cfbd7f8cfd11d28a0962a6d221)
2001-08-13Fixed typo in debug message.Tim Potter1-2/+2
(This used to be commit 45254ae23b9bcbc94857b986c69b2b1770c79c54)
2001-08-13Fixed up 'orrible formatting.Tim Potter1-21/+21
(This used to be commit 73addddb2e038946e38a6a15f46f61148a49ac08)
2001-08-12Fixed crash bug when attempting to list contents of non-existentTim Potter1-0/+3
directory. (This used to be commit a7863f0f033b31838a53960e9f616d9a82081ecf)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce30-136/+363
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-12Kill of idra's extra become_root()/unbecome_root() now I have fixed the actualAndrew Bartlett1-2/+0
problem. Andrew Bartlett (This used to be commit 895d1cd317d0838d711474f2f19186444a88b52c)
2001-08-12This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett16-876/+702
In particuar, it moves the domain_client_validate stuff out of auth_domain.c to somwhere where they (I hope) they can be shared with winbind better. (This may need some work) The main purpose of this patch was however to improve some of the internal documentation and to correctly place become_root()/unbecome_root() calls within the code. Finally this patch moves some more of auth.c into other files, auth_unix.c in this case. Andrew Bartlett (This used to be commit ea1c547ac880def29f150de2172c95213509350e)
2001-08-12it was half committed last time,Simo Sorce1-2/+2
thanks to Hasch@t-online.de (Juergen Hasch) for spotting that. (This used to be commit a2a4d4e6286c2127b6f8e32fc97b96dabd7cdb40)
2001-08-11Without this become_root()/unbecome_root() pair I was not able to loginSimo Sorce1-3/+3
when samba acting as a PDC. I also removed a pdb_free_sam(sampass), because it sampass was never initialized before... Please abartlet can you check this patch is ok? I feel like this was a bad check-in (This used to be commit f25a5dab6012ebbe83435b06650d6ab92432760a)
2001-08-10Added Mike Davidsons Tru64 ACL patch.Jeremy Allison6-22/+32
Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
2001-08-10Merge in the NT drivers changes from 2.2.Jeremy Allison4-404/+668
Jeremy. (This used to be commit a3781ad38ff6c70238e7e9b83324477e5c9780d5)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce13-112/+713
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-08-10Debug cleanups.Tim Potter1-3/+3
(This used to be commit e98f9481235dce9a0a76450b84769b86eca57ca2)
2001-08-10Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter1-1/+1
(This used to be commit e9ceb17d777f4bcb7a9ff6b509c178f063be4722)
2001-08-10Fixes for new client error api.Tim Potter1-2/+2
(This used to be commit 9c57e45d443a3cf6215318d1355cac18ff57a8b5)
2001-08-10Use new client error api.Tim Potter1-12/+13
(This used to be commit b196a52483a6e4ac1e4c311ff43d3c07fca031df)
2001-08-10Use the new client error api.Tim Potter4-6/+8
(This used to be commit 688da3c41dd944f7f69083518d25e9edbc55406f)
2001-08-10A rewrite of the error handling in the libsmb client code. I've separatedTim Potter13-182/+283
out the error handling into a bunch of separate functions rather than all being handled in one big function. Fetch error codes from the last received packet: void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *num); uint32 cli_nt_error(struct cli_state *); Convert errors to UNIX errno values: int cli_errno_from_dos(uint8 eclass, uint32 num); int cli_errno_from_nt(uint32 status); int cli_errno(struct cli_state *cli); Detect different kinds of errors: BOOL cli_is_dos_error(struct cli_state *cli); BOOL cli_is_nt_error(struct cli_state *cli); BOOL cli_is_error(struct cli_state *cli); This also means we now support CAP_STATUS32 as we can decode and understand NT errors instead of just DOS errors. Yay! Ported a whole bunch of files in libsmb to use this new API instead of the just the DOS error. (This used to be commit 6dbdb0d813f3c7ab20b38baa1223b0b479aadec9)
2001-08-10More constant conversions.Tim Potter2-4/+4
(This used to be commit 00703d306f14a5977df75cb04ee34ae8628ed40e)
2001-08-10Removed nt_error field from cli_state as it was not used anywhere.Tim Potter2-8/+1
(This used to be commit 589aaa5fb1ac55d8b0d5ae95921f071eb6ddacf6)
2001-08-10Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter5-332/+335
emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. (This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
2001-08-10Moved dos error codes from smb.h into new file doserr.hTim Potter2-113/+136
(This used to be commit 1bd8b6f79754aa8a14a7841b88f1c00d7a3767eb)
2001-08-10Changed the order of arguments in make_oem_passwd_hash(). All the otherTim Potter2-2/+3
encryption functions have outputs as the last arguments. (This used to be commit fb60798a771a7a2358d78e5cef97487addf930e7)
2001-08-10merge from 2.2Gerald Carter3-6/+6
(This used to be commit 6ab0e949d18b97ea7177175a4e6abb5ba076db98)