summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-09Add UNUSED(paramname) macro to be used in parameter lists, to quietenMartin Pool1-1/+4
gcc warnings about unused parameters. msg_pool_usage: assert msg_type is as expected. (This used to be commit 3ef135e91aaebf9648c4dd13f59686f57f4cff70)
2002-01-09When re-writing tdb version numbers as little endian int32, we mustJeremy Allison3-27/+33
change the version number also. Jeremy. (This used to be commit 3dec9cf99a82bd15626eb99e7d937ff00183cc05)
2002-01-09Fix macro name controlling inclusion of DMALLOC.Martin Pool1-1/+1
(This used to be commit a57e13b8b661dd41e8036f862c708b5d3ced82e6)
2002-01-09Add harmless parentheses so that dmalloc doesn't get confused by aMartin Pool1-1/+1
variable called 'free'. (This used to be commit a823e3f8b2961c3e24205911354a55ffa588233b)
2002-01-09Merge from appliance-head:Tim Potter1-4/+72
- put in some level 10 debugs so we can see what internal_resolve_name() is doing - remove duplicates from returned ip list of internal_resolve_name() (This used to be commit 08d2bcef1a4fc77d28bc0fa9e4ff5f3131cedea5)
2002-01-09For hysterical raisins you must use string_set() to set the value of aTim Potter1-1/+1
string in the loadparam Globals struct. Using pstrcpy was causing every NULL string was being set to the name of the winbindd log file. (-: (This used to be commit 24bae9f05523a7c85bf1988d349149ebeb5067f0)
2002-01-09Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison6-52/+90
in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. (This used to be commit ec71f1732b6b27bd2d65b250a6f3720a235dc38d)
2002-01-09HPUX nss fix.Jeremy Allison1-2/+18
Jeremy. (This used to be commit 1f12e310e5d8b01d3d29132d1bb1f41196165f7f)
2002-01-09Fixed up atomic update code.Jeremy Allison3-5/+5
Jeremy. (This used to be commit 274b04d4a6123fbfe363afc214e908ab36c7e8a7)
2002-01-09Added int32 version of "atomic" update.Jeremy Allison1-0/+35
Jeremy. (This used to be commit 1233b553e78b8d7580b9ea4f1bba62c78b4cd186)
2002-01-09Added int32 versions of the endian-dependent code.Jeremy Allison1-2/+66
Jeremy. (This used to be commit d57fb9a8c25a95e434cb5fb3d63a87d98abeefef)
2002-01-08My previous fix had a bug....Jeremy Allison1-6/+11
This is SO NASTY as some drivers need this to change, others need it static. This value will change every second, and I must hope that this is enough..... DON'T CHANGE THIS CODE WITHOUT A TEST MATRIX THE SIZE OF UTAH ! Jeremy. (This used to be commit 9fb780d951babeaf5f5b82903c717ff5ccf831cd)
2002-01-08I think I've finally gotten this straighten out in my tree.Gerald Carter2-6/+5
All should be curent now. (This used to be commit 91662683e3e690fb69f333fadf0f317c53995ba7)
2002-01-08i **really** hate stuck tags in CVS :-( Figured out whyGerald Carter4-0/+149
my files were not being checked in sometimes..... cvs update -A cleared all the sticky tages and now I have to recheck some things in. j- (This used to be commit 241f4a548d57083b153afafafdd18ed5de5412b7)
2002-01-08Getting ready to add winbindd support for HPUX 11.Jeremy Allison2-0/+154
Jeremy. (This used to be commit 012a9144124b5bde5fb1fe12c6147f32ccf2046e)
2002-01-08entering placeholders for forthcoming documentationGerald Carter5-2/+325
(This used to be commit 789c1defa47a1efd25efafab2d8a5a51c03b85b4)
2002-01-08Another attempt at getting changeid correct. Jerry / JF please check !Jeremy Allison1-7/+14
This fixes a driver init bug. Jeremy. (This used to be commit 8e8d71816002c634669c0cb0234f7a35281d9cad)
2002-01-08- fixed my breakage of CPPFLAGSAndrew Tridgell3-683/+687
- allow winbindd and wbinfo to build without shared libraries (This used to be commit d5db2518be8458f24f66eaa17434504b994ebb9a)
2002-01-08Caught one problem where a BOOL fn was returning 3 different values :-).Jeremy Allison1-11/+12
Roll on defined types :-). Jeremy. (This used to be commit ccf07e2184a93345a51455dd3e9201dee7be70e7)
2002-01-08Debugs that print out a share mode table in debug level 10. This codeJeremy Allison1-4/+46
enabled me to track down a *nasty* bug. Jeremy. (This used to be commit ed5a9a0ee32aec460b9247ab4e4f5e38e8149e08)
2002-01-08Added get_called_name() function, which replaces global_myname in printingJeremy Allison3-29/+31
code (one less global, hurrah !) - to allow NetBIOS aliasing to be used with point and print. Jeremy. (This used to be commit 10d72f0b01e5950c667f3f73dff1b4da5b675ea3)
2002-01-07Return called NetBIOS name if present in preference to global_myname.Jeremy Allison1-5/+9
Should allow print servers to work with NetBIOS aliases. Needs testing. Jeremy. (This used to be commit ee8fd2690a4c8e4ebc5dd3b6e830116806ed5a4b)
2002-01-07merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis8-0/+28
of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
2002-01-07sync getopt() args with 2.2Gerald Carter1-1/+1
(This used to be commit 2fcdc520cee051631bbc2a0c06466d231390f8d5)
2002-01-07- use CFLAGS when linking shared libs (for things like -64 on irix)Andrew Tridgell3-7/+6
- don't attempt to build winbindd if we can't do shared libs (This used to be commit c98158f3f818118fb13cc7ae6f45634204343b46)
2002-01-07Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter4-4/+4
but a plain old uint32. (This used to be commit 690cc12bad2a037684a43b0dcb48be8eb03aa7bc)
2002-01-07Converted getprinterdriver to WERROR - it always returns dos error 6Tim Potter2-65/+81
(invalid handle) though. )-: (This used to be commit 7bfd1f35e4e194f8a2f07046e4a6c005c256c05b)
2002-01-07Spelling fix.Tim Potter2-665/+662
(This used to be commit dfcc97a15837e2d13561e023ad5a7532faa441b8)
2002-01-07Don't log the password in pam_sm_authenticate() unless DEBUG_PASSWORD isTim Potter1-2/+10
defined. This is done with --enable-developer mode. (This used to be commit caff5dc1d66953cb52f94cd6407778b23e1810eb)
2002-01-06 sync up comments with 2.2Gerald Carter1-1/+1
(This used to be commit 3d4adad1501fc02ee0c60c69c01a92bdb16a1711)
2002-01-06Converted enumprinters and enumports cmd functions to use WERRORTim Potter1-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)
2002-01-06Converted enumprinters and enumports cli functions to return WERRORs.Tim Potter1-106/+129
Make the offered and needed buffer size into parameters. (This used to be commit 9d9e7fb74d420913cda1c592765b498fd64384f0)
2002-01-06Check for winbind separator in user name for cli_session_setup()Tim Potter1-1/+2
Patch from Alexander Bokovoy <a.bokovoy@sam-solutions.net> (This used to be commit 6c42bf208976ed3020e57efff6281f984d9fe893)
2002-01-06spoolss rpc client cleanup:Tim Potter2-91/+122
- converted OpenPrinterEx and ClosePrinter to WERROR instead of NT_STATUS - doc (This used to be commit 248d114f856f1adb76c903b683e0927530771443)
2002-01-06Define a rpc_client doc group.Tim Potter1-0/+3
(This used to be commit 87bc0a71ecb0fc047fec5e0d240045fab09dd5d0)
2002-01-06Minor doc cleanups.Tim Potter1-2/+2
(This used to be commit 5c8f6be290e78c4e72c821abdc9f06b7150e68e7)
2002-01-06Added a get_dos_error_msg() function to mirror the get_nt_error_msg()Tim Potter1-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)
2002-01-06Display nicer message when server name could not be resolved.Tim Potter1-3/+3
(This used to be commit 950d8e365626ecbd82e9ee965dc1724dc50c64a4)
2002-01-06DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalentTim Potter2-1/+2
to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map. (This used to be commit 9c968fbb017d3369ac207e65348a9a22dbed0213)
2002-01-06Get this code back to where it belongs...Andrew Bartlett1-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)
2002-01-06Some more SPNEGO fixes.Andrew Bartlett1-1/+1
(This used to be commit 0e564cb32acc70c1fc43f1be5ceb3637f0dc7361)
2002-01-05fixed another DATA_BLOB constructorAndrew Tridgell1-6/+1
(This used to be commit c6affae4bf749a67c90468702eb6d4eeb97a4363)
2002-01-05simple fix for creating blank data blobsAndrew Tridgell2-5/+8
(This used to be commit 08bb2dfec2ca0282e9268d09da2b966d3bdf493a)
2002-01-05merge from 2.2Gerald Carter4-1750/+2756
(This used to be commit 67c6a24344e31c417c8c6f5db27697e268524401)
2002-01-05Fix up the SPNEGO segfault.Andrew Bartlett1-2/+2
(This used to be commit 17b1c83dd02035048bd38b305460c96c6c09343a)
2002-01-05yeah! I think I figured it out nowGerald Carter1-0/+463
(This used to be commit 9713bce0354009fb4d9c06989ff86900101eae0c)
2002-01-05I've decided to move the auth code around a bit more...Andrew Bartlett19-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)
2002-01-05Add a talloc varient of the data_blob functions.Andrew Bartlett2-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)
2002-01-05Add a comment on how this error map was derrived.Andrew Bartlett1-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)
2002-01-05forgot a few filesGerald Carter3-0/+1275
(This used to be commit 9844ec33995316843567fc32d2ea276c565cf56c)