summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed up 'orrible formatting.Tim Potter2001-08-131-21/+21
| | | | (This used to be commit 73addddb2e038946e38a6a15f46f61148a49ac08)
* Fixed crash bug when attempting to list contents of non-existentTim Potter2001-08-121-0/+3
| | | | | directory. (This used to be commit a7863f0f033b31838a53960e9f616d9a82081ecf)
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-1230-136/+363
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
* Kill of idra's extra become_root()/unbecome_root() now I have fixed the actualAndrew Bartlett2001-08-121-2/+0
| | | | | | | problem. Andrew Bartlett (This used to be commit 895d1cd317d0838d711474f2f19186444a88b52c)
* This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett2001-08-1216-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)
* it was half committed last time,Simo Sorce2001-08-121-2/+2
| | | | | thanks to Hasch@t-online.de (Juergen Hasch) for spotting that. (This used to be commit a2a4d4e6286c2127b6f8e32fc97b96dabd7cdb40)
* Without this become_root()/unbecome_root() pair I was not able to loginSimo Sorce2001-08-111-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)
* Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2001-08-106-22/+32
| | | | | Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
* Merge in the NT drivers changes from 2.2.Jeremy Allison2001-08-104-404/+668
| | | | | Jeremy. (This used to be commit a3781ad38ff6c70238e7e9b83324477e5c9780d5)
* - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2001-08-1013-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)
* Debug cleanups.Tim Potter2001-08-101-3/+3
| | | | (This used to be commit e98f9481235dce9a0a76450b84769b86eca57ca2)
* Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter2001-08-101-1/+1
| | | | (This used to be commit e9ceb17d777f4bcb7a9ff6b509c178f063be4722)
* Fixes for new client error api.Tim Potter2001-08-101-2/+2
| | | | (This used to be commit 9c57e45d443a3cf6215318d1355cac18ff57a8b5)
* Use new client error api.Tim Potter2001-08-101-12/+13
| | | | (This used to be commit b196a52483a6e4ac1e4c311ff43d3c07fca031df)
* Use the new client error api.Tim Potter2001-08-104-6/+8
| | | | (This used to be commit 688da3c41dd944f7f69083518d25e9edbc55406f)
* A rewrite of the error handling in the libsmb client code. I've separatedTim Potter2001-08-1013-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)
* More constant conversions.Tim Potter2001-08-102-4/+4
| | | | (This used to be commit 00703d306f14a5977df75cb04ee34ae8628ed40e)
* Removed nt_error field from cli_state as it was not used anywhere.Tim Potter2001-08-102-8/+1
| | | | (This used to be commit 589aaa5fb1ac55d8b0d5ae95921f071eb6ddacf6)
* Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2001-08-105-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)
* Moved dos error codes from smb.h into new file doserr.hTim Potter2001-08-102-113/+136
| | | | (This used to be commit 1bd8b6f79754aa8a14a7841b88f1c00d7a3767eb)
* Changed the order of arguments in make_oem_passwd_hash(). All the otherTim Potter2001-08-102-2/+3
| | | | | encryption functions have outputs as the last arguments. (This used to be commit fb60798a771a7a2358d78e5cef97487addf930e7)
* merge from 2.2Gerald Carter2001-08-103-6/+6
| | | | (This used to be commit 6ab0e949d18b97ea7177175a4e6abb5ba076db98)
* Fixed typo in patch.Jeremy Allison2001-08-101-1/+1
| | | | | Jeremy. (This used to be commit 36e01dcdbd0fc0083ac31ec942bb033a2997a16a)
* Fixed wrong placement of allocate code :-(.Jeremy Allison2001-08-091-5/+5
| | | | | | Changed alignment offset to 1 to allow netmon to parse ok. Jeremy. (This used to be commit fd89261a2c74910bd1cf8271d862a7b050b49f32)
* Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison2001-08-091-0/+13
| | | | | Jeremy. (This used to be commit 635f3a3ee2704bb593aaa2642be6c5ec00830b64)
* Fix inspired by Don @ HP. Close down password server connection if keepaliveJeremy Allison2001-08-091-1/+4
| | | | | | fails. Jeremy. (This used to be commit 1f6e3d18cdf460eb2569b737813f94d22680553e)
* Merged John's fix.Jeremy Allison2001-08-091-1/+1
| | | | | Jeremy. (This used to be commit 61141c371ae160f03c2259e2dbc0910e63890275)
* a few cleanups while mergeing the passdb code into 2.2Gerald Carter2001-08-095-27/+25
| | | | (This used to be commit ef01739708479c43f529c646dd136ee5670b08f9)
* Try to set the socket options early for some OSs (like Sol 8) where theyAndrew Bartlett2001-08-091-1/+8
| | | | | | | can't be set after the listen(). Andrew Bartlett (This used to be commit 23b6772a2454ff3b480807a4ca8f58e8a0dc0c81)
* Link fix for smbpasswd.Tim Potter2001-08-091-2/+3
| | | | (This used to be commit 2c73ae4ac7ad56730ef22a1b5f6ca3351cf7036e)
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-088-48/+45
| | | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
* Some better debugs for our security=server code. I want to track down whyAndrew Bartlett2001-08-081-1/+3
| | | | | we occasionally don't make the connection to the server. (This used to be commit 08e99f4c12ad8747a8fd0e47ed4165cea428128d)
* Merge of modesty patch from 2.2 spec file.Tim Potter2001-08-081-2/+2
| | | | (This used to be commit 4c4d128d08e848c65b1aec8bcc0b1bc3a913d55b)
* Factored out common rpc pipe initialisation and shutdown code.Tim Potter2001-08-087-300/+86
| | | | (This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
* Patch for having spaces in tdb keys, NULL termination fixes and otherTim Potter2001-08-071-22/+87
| | | | | stuff. From Andrew Esh <AEsh@tricord.com> (This used to be commit 78207d0fc8c4641fbd8f63f469c4135357edfad8)
* Update to work with no crypt available, just like it will in Samba.Jeremy Allison2001-08-071-0/+778
| | | | | Jermey. (This used to be commit 84e15b81992977fd546f2118d1f9847cf0713fa0)
* merge from 2.2Gerald Carter2001-08-072-122/+140
| | | | (This used to be commit a7bf5e2ab84e21198a22e893e8640710a9ba2f7b)
* Always return NT_STATUS_DISK_FULL, even for quota errors.Jeremy Allison2001-08-071-1/+1
| | | | | Jeremy. (This used to be commit e4a295b730b3d1ee784c896611d184c7699c74e7)
* Added fixes to return correct error codes on space allocation fail.Jeremy Allison2001-08-072-2/+31
| | | | | Jeremy. (This used to be commit 3bf2419f4b7a9d46a1d48062212a6a6579c22b92)
* Correctly report amount written in debug when allocation space.Jeremy Allison2001-08-071-1/+1
| | | | | Jeremy. (This used to be commit d1e7cf6073f2dcb91ec468f5f249610dd9f1623a)
* A collection of fixes/cleanups to the security descriptor code byTim Potter2001-08-071-9/+10
| | | | | matt_zinkevicius@hp.com (This used to be commit ce22267ec840aaa3cc8f9b88a62b45c723a06b01)
* Fixed another possible memleak in cli_initialise()Tim Potter2001-08-061-0/+6
| | | | (This used to be commit 4c9f010a1eef81addfea0315bef81570bc604f8a)
* Added Gerald's lanman printing only change to HEAD.Jeremy Allison2001-08-063-167/+99
| | | | | Jeremy. (This used to be commit b7bd512d9a9b543b9caf93c264776db6852c03ea)
* Fix for getting allocate_file_space to return the correct errno.Jeremy Allison2001-08-061-2/+2
| | | | | Jeremy. (This used to be commit 298595e8cb0ac4f5b5ad9a522cca79d030d7e0fc)
* Record the NT_STATUS constant rather than its number in the logfilesAndrew Bartlett2001-08-063-3/+5
| | | | | Fix typo in lmhosts manpage (This used to be commit 9fff946cf113b4858b730f5ba644d5648ba95027)
* Stop HP/UX building shared libraries for the moment ...Richard Sharpe2001-08-061-1/+1
| | | | (This used to be commit 8878a44868073d50e4ce729a1812f43e1a96e2ae)
* We don't use indent in the HEAD branch.Tim Potter2001-08-061-14/+0
| | | | (This used to be commit 0b3fbd9e6ee2ec10fe7f0187e850834accfa492f)
* Cleaned up error handling in cli_initialise() to fix a memleak found byTim Potter2001-08-061-10/+14
| | | | | Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit b5373f4b59cfe1cffe915e5d4eb29ed83fe99ba6)
* Changed lone malloc() call to talloc(). Spotted byTim Potter2001-08-061-1/+1
| | | | | Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit 99ce277fc857069f86824a3c0cd8012f4cede1b6)
* Added smbtree to list of ignored files.Tim Potter2001-08-061-0/+1
| | | | (This used to be commit e4831d4d010d432d710553deac8201c14eea47a7)