Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | print the timezone in the same format as 'date +%z' - much better for scripting | Andrew Tridgell | 2002-01-04 | 1 | -5/+8 |
| | |||||
* | Missed error return is can_rename fails. | Jeremy Allison | 2002-01-04 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Re-wrote the guts of the rename_internals code to cope with a reported | Jeremy Allison | 2002-01-04 | 3 | -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. | ||||
* | sync with 2.2 | Gerald Carter | 2002-01-04 | 1 | -3/+3 |
| | |||||
* | Added WERROR for non local domain. | Jeremy Allison | 2002-01-03 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Fixed nasty cast of tdb_delete in traversals. | Jeremy Allison | 2002-01-03 | 7 | -6/+17 |
| | | | | Jeremy. | ||||
* | Note: This does NOT work yet. More work is in progress - please wait before ↵ | John Terpstra | 2002-01-03 | 2 | -7/+19 |
| | | | | using. | ||||
* | Don't use static memory, malloc it... | Jeremy Allison | 2002-01-03 | 1 | -2/+12 |
| | | | | Jeremy. | ||||
* | Fix the fix.... (sigh). | Jeremy Allison | 2002-01-03 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Ensure modtime is set correctly on destination files in copy command. | Jeremy Allison | 2002-01-03 | 1 | -0/+4 |
| | | | | Jeremy. | ||||
* | Fixed embarressing 16k strack trashing bug :-(. | Jeremy Allison | 2002-01-03 | 1 | -8/+9 |
| | | | | Jeremy. | ||||
* | added nTSecurityDescriptor field to host acct dump | Andrew Tridgell | 2002-01-03 | 1 | -1/+3 |
| | |||||
* | Update the NT_STATUS -> DOS error table. | Andrew Bartlett | 2002-01-03 | 4 | -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 | ||||
* | Clarify doc for SAFE_FREE. | Martin Pool | 2002-01-03 | 1 | -3/+7 |
| | |||||
* | Make a couple more of the warnings also be C comments | Andrew Bartlett | 2002-01-03 | 1 | -2/+2 |
| | |||||
* | A few changes to always output the erorr mapping even when the error was | Andrew Bartlett | 2002-01-03 | 1 | -27/+34 |
| | | | | 'squashed' or the session setup succeeded. (How the latter occurs I don't know). | ||||
* | Workaround some 'smarts' in Win2k. | Andrew Bartlett | 2002-01-03 | 1 | -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 Bartlett | 2002-01-03 | 1 | -2/+8 |
| | |||||
* | Fix talloc msg registration | Martin Pool | 2002-01-03 | 1 | -1/+1 |
| | |||||
* | Put a name on lp_talloc pool | Martin Pool | 2002-01-03 | 1 | -1/+1 |
| | |||||
* | Make talloctort call talloc_describe_all before exiting | Martin Pool | 2002-01-03 | 1 | -0/+2 |
| | |||||
* | Cope nicely with pools with no name. | Martin Pool | 2002-01-03 | 1 | -1/+10 |
| | |||||
* | fixed ERRMAPEXTRACT torture to work with win2k | Andrew Tridgell | 2002-01-03 | 1 | -11/+5 |
| | |||||
* | smbd children should also register for POOL_USAGE | Martin Pool | 2002-01-03 | 1 | -0/+1 |
| | |||||
* | Cleanup format. | Martin Pool | 2002-01-03 | 1 | -1/+1 |
| | |||||
* | talloc accounting now includes number of chunks and bytes allocated. | Martin Pool | 2002-01-03 | 1 | -9/+42 |
| | |||||
* | Send back talloc allocation information when POOL_USAGE is received. | Martin Pool | 2002-01-03 | 1 | -2/+8 |
| | |||||
* | Add talloc_asprintf_append, which grows an existing string buffer to | Martin Pool | 2002-01-03 | 2 | -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 pretty | Martin Pool | 2002-01-03 | 2 | -2/+7 |
| | | | | boring so far. | ||||
* | smbd should register to receive MSG_REQ_POOL_USAGE. Response should | Martin Pool | 2002-01-03 | 4 | -2/+47 |
| | | | | be information about memory usage, but this is not done yet. | ||||
* | Fixed crash bug in display_print_info_2() | Tim Potter | 2002-01-03 | 1 | -65/+87 |
| | |||||
* | Ignore dmalloc.log. | Martin Pool | 2002-01-03 | 1 | -2/+3 |
| | |||||
* | If we receive a message that is not handled then emit a gentle warning | Martin Pool | 2002-01-03 | 1 | -0/+8 |
| | | | | to the log. | ||||
* | debug output on receipt of message. | Martin Pool | 2002-01-03 | 1 | -0/+2 |
| | |||||
* | Oops, rerun autoconf after last change. | Martin Pool | 2002-01-03 | 1 | -0/+8 |
| | |||||
* | Welcome to preprocessor hell. Had to put a #ifndef around SAFE_FREE to | Tim Potter | 2002-01-03 | 1 | -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 Pool | 2002-01-03 | 1 | -0/+8 |
| | |||||
* | Fixed crash bug in display_print_info_1() | Tim Potter | 2002-01-03 | 1 | -3/+13 |
| | |||||
* | Initialise result on success in cli_spoolss_enum_printers() so we don't get | Tim Potter | 2002-01-03 | 1 | -0/+2 |
| | | | | stuck in an infinite loop. | ||||
* | The werror<->nt status code map has changed and has broken all the spoolss | Tim Potter | 2002-01-03 | 1 | -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 #define | Tim Potter | 2002-01-03 | 1 | -1/+0 |
| | |||||
* | debug statement fixups. | Jeremy Allison | 2002-01-02 | 4 | -52/+43 |
| | | | | | Merge SAFE_FREE fix in tdb from 2.2, and IRIX fix. Jeremy. | ||||
* | removed stuff I wasn't using | Gerald Carter | 2002-01-02 | 1 | -49/+0 |
| | |||||
* | sync up ldap defaults with 2.2 | Gerald Carter | 2002-01-02 | 1 | -2/+3 |
| | |||||
* | ooops./ forgot one | Gerald Carter | 2002-01-02 | 1 | -1/+1 |
| | |||||
* | fixing compile error | Gerald Carter | 2002-01-02 | 1 | -4/+4 |
| | |||||
* | We should be SHLD not LINK when creating shared libraries. | Jeremy Allison | 2002-01-02 | 2 | -9/+9 |
| | | | | | Tidyup in passdb.c Jeremy. | ||||
* | We go to a lot of effort to avoid strcpy() in Samba, but its not much use if | Andrew Bartlett | 2002-01-02 | 1 | -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 prs | Martin Pool | 2002-01-02 | 2 | -5/+24 |
| | | | | | buffer up to the current position, and use this to dump pipe buffers just before parsing. | ||||
* | Actually enforce the passdb API. | Andrew Bartlett | 2002-01-02 | 9 | -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 |