Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r24248: Attempt to fix bug #4830 by <mwallnoefer@yahoo.de>. If there is no | Andrew Bartlett | 2007-10-10 | 1 | -0/+1 |
| | | | | | | | payload to the control, we still need to inialise *value, as otherwise we read uninitialised data later. Andrew Bartlett | ||||
* | r24146: It is not an error for a Win2k3-only server not to support the NT4 | Andrew Bartlett | 2007-10-10 | 2 | -0/+2 |
| | | | | | | replication call. Andrew Bartlett | ||||
* | r23816: A little more static, but leave the dead code testjoin.c as ↵ | Andrew Bartlett | 2007-10-10 | 1 | -1/+1 |
| | | | | | | documentation. Andrew Bartlett | ||||
* | r23810: Make things static, and remove unsued code. | Andrew Bartlett | 2007-10-10 | 1 | -114/+0 |
| | | | | | | | | This includes some of the original ildap ldap client API. ldb provides a much easier abstraction on this to use, and doesn't use these functions. Andrew Bartlett | ||||
* | r23801: The FSF has moved around a lot. This fixes their Mass Ave address. | Andrew Tridgell | 2007-10-10 | 3 | -6/+3 |
| | |||||
* | r23798: updated old Temple Place FSF addresses to new URL | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23795: more v2->v3 conversion | Andrew Tridgell | 2007-10-10 | 4 | -4/+4 |
| | |||||
* | r23792: convert Samba4 to GPLv3 | Andrew Tridgell | 2007-10-10 | 123 | -369/+246 |
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. | ||||
* | r23754: Make sure to check the status return before we de-reference the | Andrew Bartlett | 2007-10-10 | 1 | -0/+3 |
| | | | | | | returned elements. Andrew Bartlett | ||||
* | r23519: added libcli code for fetching shadow copy information | Andrew Tridgell | 2007-10-10 | 4 | -4/+99 |
| | |||||
* | r23381: Merge netr_GetDcName WERROR return and ↵ | Günther Deschner | 2007-10-10 | 2 | -0/+2 |
| | | | | | | | | WERROR_DOMAIN_CONTROLLER_NOT_FOUND from SAMBA_3_0. Guenther | ||||
* | r23176: Note that we only return one DC from this call at the moment. | Andrew Bartlett | 2007-10-10 | 1 | -0/+3 |
| | | | | Andrew Bartlett | ||||
* | r23138: added a raw interface for SMBecho operations | Andrew Tridgell | 2007-10-10 | 2 | -0/+86 |
| | |||||
* | r23058: the cldap code was getting too intimate with the internals of struct | Andrew Tridgell | 2007-10-10 | 1 | -3/+9 |
| | | | | asn1_context. A hangover from when it wasn't a allocated structure | ||||
* | r23057: only call the async recv function for the first pending receive, not | Andrew Tridgell | 2007-10-10 | 1 | -2/+5 |
| | | | | | | | | all pending receives, when the transport dies. This is because the async callback most commonly shuts down the connection (it's the only reasonable thing to do when it's dead), and that frees the whole context. That means that if we loop more than once, we'll end up using freed memory. | ||||
* | r23037: actually fix the asn1 memory leak :-) | Stefan Metzmacher | 2007-10-10 | 1 | -1/+1 |
| | | | | metze | ||||
* | r23036: error checking on asn1_init() failure | Andrew Tridgell | 2007-10-10 | 5 | -2/+52 |
| | |||||
* | r23030: finally fixed up our asn1 code to use better memory allocation. This | Andrew Tridgell | 2007-10-10 | 6 | -368/+363 |
| | | | | should allow us to fix some long standing memory leaks. | ||||
* | r22986: error 2312 is returned when NetSessDel() fails because a matching ↵ | Ronnie Sahlberg | 2007-10-10 | 1 | -0/+1 |
| | | | | | | session (username/clientname) could not be found | ||||
* | r22958: For SRVSVC/NetFileClose only Administrator is allowed to close ↵ | Ronnie Sahlberg | 2007-10-10 | 1 | -0/+1 |
| | | | | | | | | | open files. If a normal user tries to close a file that exists, even that users own files the server responds with this error on w2k if the file does not exist, the server instead responds with WERR_BADFILE | ||||
* | r22944: fix bug #4618: | Stefan Metzmacher | 2007-10-10 | 1 | -1/+1 |
| | | | | | | rename private -> private_data metze | ||||
* | r22884: Be consistant with the case of these constants. | Andrew Bartlett | 2007-10-10 | 3 | -3/+3 |
| | | | | Andrew Bartlett | ||||
* | r22866: handle incoming chained smb2 requests in our server code to let | Stefan Metzmacher | 2007-10-10 | 2 | -13/+13 |
| | | | | | | the windows explorer in longhorn beta3 work. metze | ||||
* | r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3 | Stefan Metzmacher | 2007-10-10 | 1 | -5/+6 |
| | | | | | | | | - add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading and name in SMB2-LOCK-RW-EXCLUSIV - add SMB2-LOCK-NONE and SMB2-LOCK-SHARED metze | ||||
* | r22791: make it possible to use smb2_create_blob_add() in the server code too | Stefan Metzmacher | 2007-10-10 | 1 | -3/+3 |
| | | | | metze | ||||
* | r22790: fix initialization for chained requests | Stefan Metzmacher | 2007-10-10 | 1 | -0/+1 |
| | | | | metze | ||||
* | r22788: fix typo | Stefan Metzmacher | 2007-10-10 | 1 | -1/+1 |
| | | | | metze | ||||
* | r22762: Some ldb_map changes: | Jelmer Vernooij | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | | | * Change license to LGPL, so it can be used by non-Samba users of LDB (cleared with Martin as well). * Include ldb_map in standalone build. * Move ldb_map to its own directory | ||||
* | r22749: fix memory leak of nbt_name_request structure which are used to send ↵ | Stefan Metzmacher | 2007-10-10 | 1 | -3/+6 |
| | | | | | | | | | | | replies and never have an async callback that could free it. we only had the memory leak in the error path the standard path was ok. metze | ||||
* | r22748: fix memleaks by passing an mem_ctx to | Stefan Metzmacher | 2007-10-10 | 1 | -1/+1 |
| | | | | | | irpc_servers_byname() metze | ||||
* | r22628: convert to new composite api | Stefan Metzmacher | 2007-10-10 | 1 | -29/+28 |
| | | | | | | | | and free the smbcli_request explicit to fix a crash where the request handler gets called after its private data is already freed metze | ||||
* | r22620: fix compiler warnings | Stefan Metzmacher | 2007-10-10 | 1 | -4/+4 |
| | | | | metze | ||||
* | r22616: allow the unclist file to not specify a share name, and instead | Andrew Tridgell | 2007-10-10 | 1 | -0/+3 |
| | | | | | | inherit the share name from the command line if it is not specified. This allows you to just specify the servers in the unclist, and connect to the same share on all servers. | ||||
* | r22405: fix memory leak in error path | Stefan Metzmacher | 2007-10-10 | 1 | -0/+1 |
| | | | | metze | ||||
* | r22090: fix error handling in cldap client library to cope with bad host names | Andrew Tridgell | 2007-10-10 | 2 | -6/+13 |
| | |||||
* | r21949: After discussion with the Apple and Linux client maintainers, | James Peach | 2007-10-10 | 2 | -6/+16 |
| | | | | | | changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. the lenght field does not count any null. | ||||
* | r21806: I've been working over the last week to fix up the LDAP backend for | Andrew Bartlett | 2007-10-10 | 4 | -64/+107 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Samba4. This only broke on global catalog queries, which turned out to be due to changes in the partitions module that metze needed for his DRSUAPI work. I've reworked partitions.c to always include the 'problematic' control, and therefore demonstrated that this is the issue. This ensures consistency, and should help with finding issues like this in future. As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to be linearised, I've added logic to allow it to be skipped when creating network packets. I've likewise make our LDAP server skip unknown controls, when marked 'not critical' on it's input, rather than just dropping the entire request. I need some help to generate a correct error packet when it is marked critical. Further work could perhaps be to have the ldap_encode routine return a textual description of what failed to encode, as that would have saved me a lot of time... Andrew Bartlett | ||||
* | r21761: - Give more detail on LDAP client library failures (make it clear | Andrew Bartlett | 2007-10-10 | 1 | -3/+6 |
| | | | | | | | | where the error is from) - Make default error string more consistant Andrew Bartlett | ||||
* | r21710: Add client support for the UNIX_INFO2 info level in the QueryFile, | James Peach | 2007-10-10 | 5 | -25/+214 |
| | | | | | QueryPath and FindFirst calls. Add a new torture test to verify the server side. | ||||
* | r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. Add | James Peach | 2007-10-10 | 1 | -0/+1 |
| | | | | | convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. | ||||
* | r21594: give the same error in all resolve backends | Stefan Metzmacher | 2007-10-10 | 1 | -2/+2 |
| | | | | metze | ||||
* | r21593: give a more useful error, when we can't resolve a long name | Stefan Metzmacher | 2007-10-10 | 1 | -0/+9 |
| | | | | | | via broadcast of wins metze | ||||
* | r21592: compress_name() returns NULL for names longer than 15 chars | Stefan Metzmacher | 2007-10-10 | 1 | -0/+6 |
| | | | | | | giving NO_MEMORY back is ugly, so give a useful error metze | ||||
* | r21591: add new error code | Stefan Metzmacher | 2007-10-10 | 2 | -0/+2 |
| | | | | metze | ||||
* | r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created | Andrew Tridgell | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | | | using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test | ||||
* | r21511: this seems to be the nicer fix for the problem with | Stefan Metzmacher | 2007-10-10 | 1 | -4/+0 |
| | | | | | | the windows 2000 LDAP client metze | ||||
* | r21510: make it possible to push tags with length > 0xFFFFFF | Stefan Metzmacher | 2007-10-10 | 1 | -1/+12 |
| | | | | metze | ||||
* | r21501: ugly but the windows 2000 mmc deturns decoding error without this | Stefan Metzmacher | 2007-10-10 | 1 | -0/+4 |
| | | | | metze | ||||
* | r21316: if we got an unexpected nbt packet that most times mean | Stefan Metzmacher | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | we got a 2nd answer to a broadcast message and have already remove the packet id from out list while getting the first response metze | ||||
* | r21307: make it possible to pass in NULL for domain or rid, | Stefan Metzmacher | 2007-10-10 | 1 | -4/+10 |
| | | | | | | if someone isn't interessted in one of it metze |