summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* 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.
* Re-add bail on failure.Andrew Bartlett2002-01-031-2/+8
|
* Fix talloc msg registrationMartin Pool2002-01-031-1/+1
|
* Put a name on lp_talloc poolMartin Pool2002-01-031-1/+1
|
* Make talloctort call talloc_describe_all before exitingMartin Pool2002-01-031-0/+2
|
* Cope nicely with pools with no name.Martin Pool2002-01-031-1/+10
|
* fixed ERRMAPEXTRACT torture to work with win2kAndrew Tridgell2002-01-031-11/+5
|
* smbd children should also register for POOL_USAGEMartin Pool2002-01-031-0/+1
|
* Cleanup format.Martin Pool2002-01-031-1/+1
|
* talloc accounting now includes number of chunks and bytes allocated.Martin Pool2002-01-031-9/+42
|
* Send back talloc allocation information when POOL_USAGE is received.Martin Pool2002-01-031-2/+8
|
* Add talloc_asprintf_append, which grows an existing string buffer toMartin Pool2002-01-032-4/+82
| | | | | contain new print-formatted information. (Also talloc_vasprintf_append.) Idea borrowed from glib.
* smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool2002-01-032-2/+7
| | | | boring so far.
* smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool2002-01-034-2/+47
| | | | be information about memory usage, but this is not done yet.
* Fixed crash bug in display_print_info_2()Tim Potter2002-01-031-65/+87
|
* Ignore dmalloc.log.Martin Pool2002-01-031-2/+3
|
* If we receive a message that is not handled then emit a gentle warningMartin Pool2002-01-031-0/+8
| | | | to the log.
* debug output on receipt of message.Martin Pool2002-01-031-0/+2
|
* Oops, rerun autoconf after last change.Martin Pool2002-01-031-0/+8
|
* Welcome to preprocessor hell. Had to put a #ifndef around SAFE_FREE toTim Potter2002-01-031-0/+3
| | | | | | | stop smb_macros.h and tdb.h from fighting with each other. I tried to rearrange the #include file order but that breaks other stuff. Aargh!
* Add instructions on using dmalloc.Martin Pool2002-01-031-0/+8
|
* Fixed crash bug in display_print_info_1()Tim Potter2002-01-031-3/+13
|
* Initialise result on success in cli_spoolss_enum_printers() so we don't getTim Potter2002-01-031-0/+2
| | | | stuck in an infinite loop.
* The werror<->nt status code map has changed and has broken all the spoolssTim Potter2002-01-031-7/+7
| | | | | | | | commands in rpcclient. Replacing ERROR_INSUFFICIENT_BUFFER with NT_STATUS_BUFFER_TOO_SMALL fixes it. Yay! I always thought the caller (i.e cmd_spoolss.c) should take care of the whole requested/needed buffer size thingy though...
* Removed unused #defineTim Potter2002-01-031-1/+0
|
* debug statement fixups.Jeremy Allison2002-01-024-52/+43
| | | | | Merge SAFE_FREE fix in tdb from 2.2, and IRIX fix. Jeremy.
* removed stuff I wasn't usingGerald Carter2002-01-021-49/+0
|
* sync up ldap defaults with 2.2Gerald Carter2002-01-021-2/+3
|
* ooops./ forgot oneGerald Carter2002-01-021-1/+1
|
* fixing compile errorGerald Carter2002-01-021-4/+4
|
* We should be SHLD not LINK when creating shared libraries.Jeremy Allison2002-01-022-9/+9
| | | | | Tidyup in passdb.c Jeremy.
* We go to a lot of effort to avoid strcpy() in Samba, but its not much use ifAndrew Bartlett2002-01-021-12/+12
| | | | | | | | | | | | | | | people start doing using strlen(src) in strncpy() :-) This occured when the talloc based passdb was reverted in favor of a pstring based one. In the talloc version this was fine, becouse the buffer was strlen(src) bytes long. This no longer applies... This doesn't seem to have broken anything, but I'm chasing up an oddity with NT password changing from the last merge. Test & MERGE for 2.2.3 Andrew Bartlett
* Add prs_dump_before to dump everything from the start of the prsMartin Pool2002-01-022-5/+24
| | | | | buffer up to the current position, and use this to dump pipe buffers just before parsing.
* Actually enforce the passdb API.Andrew Bartlett2002-01-029-266/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | Thou shalt not reference SAM_ACCOUNT members directly - always use pdb_get/pdb_set. This is achived by making the whole of SAM_ACCOUNT have a .private member, where the real members live. This caught a pile of examples, and these have beeen fixed. The pdb_get..() functions are 'const' (have been for some time) and this required a few small changes to constify other functions. I've also added some debugs to the pdb get and set, they can be removed if requested. I've rewritten the copy_id2x_to_sam_pass() functions to use the new passdb interface, but I need the flags info to do it properly. The pdb_free_sam() funciton now blanks out the LM and NT hashes, and as such I have removed many extra 'samr_clear_sam_passwd(smbpass)' calls as a result. Finally, any and all testing is always appriciated - but the basics seem to work. Andrew Bartlett
* Make user enumeration work for w2k and win9x.Jeremy Allison2002-01-022-72/+89
| | | | | This means different return sizes depending on client bugs. This sucks :-(. Jeremy.
* Another touch of 'const'Andrew Bartlett2002-01-021-1/+1
|
* Doc.Martin Pool2002-01-021-2/+1
|
* Also capture received dataMartin Pool2002-01-021-0/+5
|
* struct cli_state remembers the pipe name that it's talking to, if any,Martin Pool2002-01-021-3/+22
| | | | | | | so that we can print it in later debug messages. Call prs_dump to dump out requests sent by the client at sufficiently high debug levels.
* struct cli_state remembers the pipe name that it's talking to, if any,Martin Pool2002-01-021-0/+3
| | | | so that we can print it in later debug messages.
* Minor update to make the output 'real C'. (The output is intended to be a CAndrew Bartlett2002-01-021-3/+8
| | | | | | format table for inclusion back into Samba). Andrew Bartlett
* Removed reference to rpc_client/cli_netlogon.o from dependencies forTim Potter2002-01-021-1/+1
| | | | samsync. The libsmb version should do fine.
* the pdbedit tool manpageSimo Sorce2002-01-021-0/+291
|
* try to handle broken const in headers on cray unicosAndrew Tridgell2002-01-012-752/+768
|
* This brings the NT->DOS error mapping into better line with what NT does.Andrew Bartlett2002-01-011-2/+2
| | | | | | | I'll post the changes to the actual map to the list for comment, but this fixes the 'unknown' case. Andrew Bartlett
* Add a function to convert 'NT_STATUS...' strings back into their actual errorAndrew Bartlett2002-01-011-0/+16
| | | | | | code. Andrew Bartlett
* Allow usernames in the form of 'NT_STATUS_....' to map to that as the errorAndrew Bartlett2002-01-011-0/+6
| | | | | | | | when using the 'name_to_ntstatus' auth module. This could be useful in testing. Andrew Bartlett
* Now that winbind doesn't rely on this, we may as well remove it...Andrew Bartlett2002-01-011-108/+0
| | | | Andrew Bartlett
* Further rpc_client removal, this time from winbindd.Andrew Bartlett2002-01-013-45/+62
| | | | | | | | | Also removed the dependency on auth_util.o, which makes things nicer. Finally, this kills off the NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ makefile variable - becouse Samba dependencies are starting to be sane again! Andrew Bartlett