summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis2002-01-078-0/+28
| | | | | of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
* sync getopt() args with 2.2Gerald Carter2002-01-071-1/+1
| | | | (This used to be commit 2fcdc520cee051631bbc2a0c06466d231390f8d5)
* - use CFLAGS when linking shared libs (for things like -64 on irix)Andrew Tridgell2002-01-073-7/+6
| | | | | - don't attempt to build winbindd if we can't do shared libs (This used to be commit c98158f3f818118fb13cc7ae6f45634204343b46)
* Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter2002-01-074-4/+4
| | | | | but a plain old uint32. (This used to be commit 690cc12bad2a037684a43b0dcb48be8eb03aa7bc)
* Converted getprinterdriver to WERROR - it always returns dos error 6Tim Potter2002-01-072-65/+81
| | | | | (invalid handle) though. )-: (This used to be commit 7bfd1f35e4e194f8a2f07046e4a6c005c256c05b)
* Spelling fix.Tim Potter2002-01-072-665/+662
| | | | (This used to be commit dfcc97a15837e2d13561e023ad5a7532faa441b8)
* Don't log the password in pam_sm_authenticate() unless DEBUG_PASSWORD isTim Potter2002-01-071-2/+10
| | | | | defined. This is done with --enable-developer mode. (This used to be commit caff5dc1d66953cb52f94cd6407778b23e1810eb)
* sync up comments with 2.2Gerald Carter2002-01-061-1/+1
| | | | (This used to be commit 3d4adad1501fc02ee0c60c69c01a92bdb16a1711)
* Converted enumprinters and enumports cmd functions to use WERRORTim Potter2002-01-061-32/+39
| | | | | | | | | values returned from cli functions. They are converted to NTSTATUS codes using the error map functions. Do buffer size loop checks by setting offered = 0 and using the return value of needed in the next call. (This used to be commit 4efbdda3fcfd1fad2f2b8909d250735382497836)
* Converted enumprinters and enumports cli functions to return WERRORs.Tim Potter2002-01-061-106/+129
| | | | | Make the offered and needed buffer size into parameters. (This used to be commit 9d9e7fb74d420913cda1c592765b498fd64384f0)
* Check for winbind separator in user name for cli_session_setup()Tim Potter2002-01-061-1/+2
| | | | | Patch from Alexander Bokovoy <a.bokovoy@sam-solutions.net> (This used to be commit 6c42bf208976ed3020e57efff6281f984d9fe893)
* spoolss rpc client cleanup:Tim Potter2002-01-062-91/+122
| | | | | | - converted OpenPrinterEx and ClosePrinter to WERROR instead of NT_STATUS - doc (This used to be commit 248d114f856f1adb76c903b683e0927530771443)
* Define a rpc_client doc group.Tim Potter2002-01-061-0/+3
| | | | (This used to be commit 87bc0a71ecb0fc047fec5e0d240045fab09dd5d0)
* Minor doc cleanups.Tim Potter2002-01-061-2/+2
| | | | (This used to be commit 5c8f6be290e78c4e72c821abdc9f06b7150e68e7)
* Added a get_dos_error_msg() function to mirror the get_nt_error_msg()Tim Potter2002-01-061-0/+11
| | | | | | One day I'll get around to refactoring the DOS error handling so it mirrors the NT error handling code. (This used to be commit f4535721d350f3068e8dfb612331eb609ea03da0)
* Display nicer message when server name could not be resolved.Tim Potter2002-01-061-3/+3
| | | | (This used to be commit 950d8e365626ecbd82e9ee965dc1724dc50c64a4)
* DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalentTim Potter2002-01-062-1/+2
| | | | | to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map. (This used to be commit 9c968fbb017d3369ac207e65348a9a22dbed0213)
* Get this code back to where it belongs...Andrew Bartlett2002-01-061-7/+7
| | | | | | | | | Apparently (and I will doublecheck) its legal to do an annoymous session setup when we negoitiated SPNEGO, but we can't do an authenticated one becouse we didn't give a challange. Andrew Bartlett (This used to be commit 08a5c5bf940fac7a779be01db01ae7d97df80f79)
* Some more SPNEGO fixes.Andrew Bartlett2002-01-061-1/+1
| | | | (This used to be commit 0e564cb32acc70c1fc43f1be5ceb3637f0dc7361)
* fixed another DATA_BLOB constructorAndrew Tridgell2002-01-051-6/+1
| | | | (This used to be commit c6affae4bf749a67c90468702eb6d4eeb97a4363)
* simple fix for creating blank data blobsAndrew Tridgell2002-01-052-5/+8
| | | | (This used to be commit 08bb2dfec2ca0282e9268d09da2b966d3bdf493a)
* merge from 2.2Gerald Carter2002-01-054-1750/+2756
| | | | (This used to be commit 67c6a24344e31c417c8c6f5db27697e268524401)
* Fix up the SPNEGO segfault.Andrew Bartlett2002-01-051-2/+2
| | | | (This used to be commit 17b1c83dd02035048bd38b305460c96c6c09343a)
* yeah! I think I figured it out nowGerald Carter2002-01-051-0/+463
| | | | (This used to be commit 9713bce0354009fb4d9c06989ff86900101eae0c)
* I've decided to move the auth code around a bit more...Andrew Bartlett2002-01-0519-653/+690
| | | | | | | | | | | | | | | | | | | | | | | | | The auth_authsupplied_info typedef is now just a plain struct - auth_context, but it has been modified to contain the function pointers to the rest of the auth subsystem's components. (Who needs non-static functions anyway?) In working all this mess out, I fixed a number of memory leaks and moved the entire auth subsystem over to talloc(). Note that the TALLOC_CTX attached to the auth_context can be rather long-lived, it is provided for things that are intended to live as long. (The global_negprot_auth_context lasts the whole life of the smbd). I've also adjusted a few things in auth_domain.c, mainly passing the domain as a paramater to a few functions instead of looking up lp_workgroup(). I'm hopign to make this entire thing a bit more trusted domains (as PDC) freindly in the near future. Other than that, I moved a bit of the code around, hence the rather messy diff. Andrew Bartlett (This used to be commit 12f5515f556cf39fea98134fe3e2ac4540501048)
* Add a talloc varient of the data_blob functions.Andrew Bartlett2002-01-052-4/+50
| | | | | | | | | | Also change the structure so it has its own (optional) 'free' pointer - so we don't free() a talloc'ed version. also split out the data_blob_clear() functionaility. Andrew Bartlett (This used to be commit 207ee8aac42cf4b35f07e496b15fdeabe50950bc)
* Add a comment on how this error map was derrived.Andrew Bartlett2002-01-051-0/+22
| | | | | | This applies only to the NT->Dos map, I'm still trying to come up with a way to do the reverse. (This used to be commit 323dd422bd4bdeeee72c9200821e28f86d3072c8)
* forgot a few filesGerald Carter2002-01-053-0/+1275
| | | | (This used to be commit 9844ec33995316843567fc32d2ea276c565cf56c)
* merge from 2.2 and regenerate docsGerald Carter2002-01-0535-119/+182
| | | | (This used to be commit f7d900873c3553dde88d42d903b74dc49c9a6c71)
* One line fix to get smbmount working again.Andrew Bartlett2002-01-051-0/+3
| | | | | | | | This just turns of SPNGO becouse Win2k breaks if you attempt this and DOS errors at the same time. Andrew Bartlett (This used to be commit 2c09907b537147189e77810f586558be6004733b)
* Added DEBUG in set_share_mode to track down logic insanity.Jeremy Allison2002-01-051-0/+8
| | | | | Jeremy. (This used to be commit 32f4f3a45d473b3be1ae07f6c60897c12323d60c)
* Add a touch of constAndrew Bartlett2002-01-051-1/+1
| | | | (This used to be commit b2af4372b1dac2e8f283184191fbb0231409a625)
* print the timezone in the same format as 'date +%z' - much better for scriptingAndrew Tridgell2002-01-041-5/+8
| | | | (This used to be commit faa1b222f170abe34f6930bb3493cbe8b4df4082)
* Missed error return is can_rename fails.Jeremy Allison2002-01-041-0/+1
| | | | | Jeremy. (This used to be commit 2db99fa49b538e230f2c606d1004871111ea2bf6)
* Re-wrote the guts of the rename_internals code to cope with a reportedJeremy Allison2002-01-043-41/+102
| | | | | | | | bug (renaming name -> name was failing, on W2K it succeeds). Simplified the common case, did a lot of work to ensure NT error codes are correctly reported back to client. Jeremy. (This used to be commit e6b27f3d8069ae304baaebe09341c58d46b05fe4)
* sync with 2.2Gerald Carter2002-01-041-3/+3
| | | | (This used to be commit 9e3b432c57747e6fd876c53a576858ef1227ba8e)
* Added WERROR for non local domain.Jeremy Allison2002-01-031-0/+1
| | | | | Jeremy. (This used to be commit 6c51d90f13a40359baef08424f7ea1940f93d511)
* Fixed nasty cast of tdb_delete in traversals.Jeremy Allison2002-01-037-6/+17
| | | | | Jeremy. (This used to be commit a0cdec3acc82d1ce0292fadd4b8dac23638450f3)
* Note: This does NOT work yet. More work is in progress - please wait before ↵John Terpstra2002-01-032-7/+19
| | | | | | using. (This used to be commit 72bda5e82173a95af58c58f8b454850f8794c356)
* Don't use static memory, malloc it...Jeremy Allison2002-01-031-2/+12
| | | | | Jeremy. (This used to be commit 8aee8211cddb6705c9aa545fc57ece2c721ef448)
* Fix the fix.... (sigh).Jeremy Allison2002-01-031-1/+1
| | | | | Jeremy. (This used to be commit 73cf9d04f6a35aa3b6bdb4e921de34e0021b5a2c)
* Ensure modtime is set correctly on destination files in copy command.Jeremy Allison2002-01-031-0/+4
| | | | | Jeremy. (This used to be commit fb1ab02553e01df0464f0df3eea7ae6a66b4104b)
* Fixed embarressing 16k strack trashing bug :-(.Jeremy Allison2002-01-031-8/+9
| | | | | Jeremy. (This used to be commit b52c3219d6f46df6e98742447d65ecda2ecbac65)
* added nTSecurityDescriptor field to host acct dumpAndrew Tridgell2002-01-031-1/+3
| | | | (This used to be commit f383e19e095eab975bf3d4e622a5c1d1f823171b)
* Update the NT_STATUS -> DOS error table.Andrew Bartlett2002-01-034-410/+435
| | | | | | | | | | | | | | | | | | | | | This new table is rather different to the old one (see diff posted to the list for a sorted list of differences) and needs a *lot* of testing. It does however seem to line up much better with what NT is using, as exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches win2k where it didn't before. I can't see any critical errors we now get wrong, and I know that the auth errors are correct as per my on-the-wire observations. This table was produced (and I hope to comment this better later) by using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the 'name_to_ntstatus' auth module on the HEAD PDC. This module returned the username as the error, and the NT box was forced to give me a dos error becouse thats all I negotiated on that connection. Hence the map. Andrew Bartlett (This used to be commit a855dfb2e0b899d03087860e5462c2aed3ca4cad)
* Clarify doc for SAFE_FREE.Martin Pool2002-01-031-3/+7
| | | | (This used to be commit 269a7d3c9ba8ca1444653c1aa56b843b8b1df08b)
* Make a couple more of the warnings also be C commentsAndrew Bartlett2002-01-031-2/+2
| | | | (This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
* A few changes to always output the erorr mapping even when the error wasAndrew Bartlett2002-01-031-27/+34
| | | | | 'squashed' or the session setup succeeded. (How the latter occurs I don't know). (This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
* Workaround some 'smarts' in Win2k.Andrew Bartlett2002-01-031-0/+20
| | | | | | Win2k kills off connections that have issued a negprot but havn't yet issued a session setup when a second connection appears from the same host. (This used to be commit d47e61eb468218cae631e78edbd5d02982c78ab0)
* Re-add bail on failure.Andrew Bartlett2002-01-031-2/+8
| | | | (This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)