summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NBT-WINS: we don't need the slow low port tests for every nameStefan Metzmacher2009-01-191-18/+19
| | | | | metze (from samba4wins tree 7862deca8555f960a5ef65e6315ce94af5023a2a)
* NBT-WINS: if we're bound to port 137 trigger WACK reponses with timeoutsStefan Metzmacher2009-01-191-2/+107
| | | | | metze (from samba4wins tree de7225658493006c19d139ac77ac1b1ffab01d25)
* NBT-WINS: try to bind to port 137 in the NBT-WINS testStefan Metzmacher2009-01-191-3/+15
| | | | | metze (from samba4wins tree 5e101475d5ed62060c991ea71c943e76b862aeef)
* winsserver: we need to ignore duplicated name register requests.Stefan Metzmacher2009-01-193-7/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following bug: While we reply with a WACK response to a client. Instead of waiting for the final reply some windows client just resends the request using the same name_trn_id in the nbt_name_packet. We handled this as a new request and send a WACK response (and the challenges) again. Then the first request gets its final success response, but the when we try to send the success for the "second" request we notice that the record was changed in between and we return an error. Windows 2003 (and I assume all other versions as well) detect the packet is just a resent of a currently pending request and ignores it. So we now keep a list of all pending WINS name register requests which result in a WACK response. On each incoming name register request we search through the list to find duplicate requests and ignore them. In theory we should do that for all requests, but name register requests are the only requests we response async and only if we have to go via the WACK code path. metze (from samba4wins tree 382e7d384b70d03e9f81c7bb353afaed288d80f0)
* ndr_print: fix the output ndr debug messages only add header line onceStefan Metzmacher2009-01-191-0/+6
| | | | | metze (from samba4wins tree e99531aae325e4443fcb917a75dfe4a86b892583)
* util_str: setup the correct talloc name for stringsStefan Metzmacher2009-01-193-0/+6
| | | | | metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
* Revert "Remove another use of global_loadparm."Stefan Metzmacher2009-01-193-6/+2
| | | | | | | | | This reverts commit ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d. A much more correct fix will come soon. (40ef7739f4141598a6392c203e4a2d52d972fe06 from the samba4wins tree) metze
* NBT-WINS: initialize .dest_port explicit (we should fill the whole struct ↵Stefan Metzmacher2009-01-191-0/+1
| | | | | | | | each time) This makes the code more clear. metze
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett2009-01-1928-1266/+1645
|\
| * Remove unused tdb_search_keys()Volker Lendecke2009-01-192-78/+0
| |
| * simplify gencache_iterate a bit, fix nonempty blank linesVolker Lendecke2009-01-191-86/+84
| |
| * libnetapi_open_pipe does not need to return cli_stateVolker Lendecke2009-01-1810-246/+12
| | | | | | | | | | | | | | | | | | | | The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
| * Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-188-176/+77
| |\
| | * Add a macro async_req_setup()Volker Lendecke2009-01-188-176/+77
| | | | | | | | | | | | This streamlines setting up a multi-step async request a bit
| * | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-1829-844/+1701
| |\|
| | * Add code to torture the fragmentation code a bitVolker Lendecke2009-01-181-3/+15
| | |
| | * Remove unused functionsVolker Lendecke2009-01-181-401/+0
| | |
| | * Make rpc_pipe_bind asyncVolker Lendecke2009-01-182-0/+452
| | |
| | * Fix an uninitialized variableVolker Lendecke2009-01-181-0/+1
| | |
| | * Remove sync rpc_api_pipe_reqVolker Lendecke2009-01-181-170/+0
| | |
| | * Add async rpc_api_pipe_reqVolker Lendecke2009-01-182-0/+315
| | |
| | * Tiny simplification of prs_set_offsetVolker Lendecke2009-01-181-6/+3
| | |
| | * Add rpc_write_send/recvVolker Lendecke2009-01-181-0/+131
| | |
| | * Remove unused sync functionsVolker Lendecke2009-01-181-196/+0
| | |
| | * Make rpc_api_pipe asyncVolker Lendecke2009-01-181-0/+284
| | |
| | * Rename the async version of get_complete_pdu to get_complete_fragVolker Lendecke2009-01-181-16/+16
| | |
| | * Move initialization of the reply prs_struct to rpc_api_pipeVolker Lendecke2009-01-185-20/+15
| | |
| | * Always check the max send sizein rpc_api_pipe, not just with DEVELOPERVolker Lendecke2009-01-181-8/+5
| | |
| | * Make cli_api_pipe asyncVolker Lendecke2009-01-181-99/+218
| | | | | | | | | | | | Also move the transport switch to this routine
| | * Remove sync rpc_read wrapperVolker Lendecke2009-01-181-28/+0
| | |
| | * Make cli_pipe_get_current_pdu async, rename it to get_current_pduVolker Lendecke2009-01-181-36/+190
| | |
| | * Make rpc_read asyncVolker Lendecke2009-01-181-87/+154
| | |
| | * Fix some real bugs found by "type-punned" gcc warningsVolker Lendecke2009-01-181-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Type-casting does not the right thing if used the way it used to be. The function arguments have not been uint32_t's, but the type cast made the calling routine believe so. Not good... The assignment xxx=account_policy_temp does however type-convert properly, potentially cutting off the top-bits.
| * | More work on the Samba 4 release notes.Jelmer Vernooij2009-01-161-1/+61
| | |
* | | Print more useful suggestion for the main provision command lineAndrew Bartlett2009-01-191-1/+1
| | |
* | | Delete more Samba3-specific filesAndrew Bartlett2009-01-191-1/+1
| | |
* | | Don't give fatal python errors when guessing the realmAndrew Bartlett2009-01-191-2/+12
| |/ |/|
* | librpc: Re-run make idl_fullTim Prouty2009-01-178-70/+70
| |
* | librpc: Remove usage of max and replace with improved range.Tim Prouty2009-01-171-1/+1
| |
* | pidl: Remove "max" and make "range" smarter about unsigned typesTim Prouty2009-01-174-10/+23
| | | | | | | | | | This eliminates a warning in pidl generated code, while preserving cross-platform idl compatibility.
* | Determine case sensitivity based on file system attributes.Derrell Lipman2009-01-174-13/+92
| | | | | | | | | | | | | | | | | | | | - Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell
* | Slightly simplify the paths after rpc_api_pipe()Volker Lendecke2009-01-171-6/+2
| |
* | [Bug 6022] smbc_urlencode and smbc_urldecode were not exportedDerrell Lipman2009-01-163-15/+5
| | | | | | | | | | | | | | | | | | | | - Since the revamp of libsmbclient, there has still been an external declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet those functions were renamed and made private. The two choices were to remove the function names from libsmbclient.h or to make them public again. The reported requested that they be public. This commit makes it so. Derrell
* | Treat file names in POSIX-like case-sensitive fashion by defaultDerrell Lipman2009-01-165-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! *** - libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default, it requests case-sensitive, but the old behavior of case-insensitive can be requested with smbc_setOptionCaseSensitive(context, False); The change of behavior is considered a bug fix, as it was previously possible to accidentally overwrite a file that had the same case-insensitive name but a different case-sensitive name as a previously-existing file, while creating a new file. Derrell
* | Fix a segfault if ? is there but the options are NULL. This is the case if ↵Andreas Schneider2009-01-161-1/+1
| | | | | | | | SMBC_parse_path is called by SMBC_stat_ctx.
* | Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2009-01-161-3/+14
|\ \
| * | ads_connect: Return immediately on a failed GC connection.Gerald (Jerry) Carter2009-01-161-3/+14
| |/ | | | | | | | | | | | | | | | | | | | | ads_connect_gc() feeds an explicit server to ads_connect(). However, if the resulting connection fails, the latter function was attempting to find a DC on its own and continuing the connection. This resulting in GC searches being sent over a connection using port 389 which would fail when using the base search suffix outside of the domain naming context. The fix is to fail immediately in ads_connect() since the GC lookup ordering is handled already in ads_connect_gc().
* / "First thing, kill all the language lawyers" :-). Ensure possible insane ↵Jeremy Allison2009-01-161-1/+1
|/ | | | | | | compilers can't kill us later. Jeremy.
* loadparm: Make sure various state variables get initialized even when weJelmer Vernooij2009-01-161-29/+40
| | | | couldn't load a default smb.conf file.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-165-16/+142
|\