Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-04-12 | We have to deny a level 2 oplock if kernel oplocks are enabled | Volker Lendecke | 1 | -0/+6 | |
The second r/o opener of a file is supposed to get a level2 oplock. The first opener due to the protection in process_oplock_break_message() has been forced to break to no oplock. The second opener according to locking.tdb gets a level2 oplock. Further down in open_file_ntcreate we try to set this level2 oplock in the kernel, and the non-clustered Linux kernel disallows this. The rules for the kernel leases are a bit baroque, but the attempt to do the SETLEASE correctly fails and we end up with no oplock for any client. In the clustered case however the linux kernel on the second opening node has not seen the open fd of the first node, it is only the cluster fs that has this information. If the cluster fs does not have the very same notion of leases as the local kernel has, we can end up with a WRLCK style kernel lease for the second opener where locking.tdb only indicates a level2 oplock. Getting a kernel oplock break signal with just a level2 oplock in locking.tdb is something smbd is not prepared for. For example after sending out the break in response to the kernel signal we set a timeout, waiting for a reply. More work needs to be done to make level2 kernel oplocks real for us. This patch addresses a real problem we have right now without them. | |||||
2009-04-12 | Fix a bug in smbclient not sending the correct called name | Volker Lendecke | 1 | -1/+5 | |
Jeremy, I think the ability to say smbclient //foo/bar -I <ip-address> -p 139 making the called name to "foo" got lost with 3d2d0203. Was this removed deliberately? If so, please revert this patch. If not, please merge appropriately. Thanks, Volker | |||||
2009-04-12 | Add "netbios retarget" | Volker Lendecke | 1 | -0/+93 | |
This is fun -- XP still does this :-) netbios retarget : foo = 192.168.234.10:1139 and if you connect to port 139 name foo, XP will happily do SMB over 1139 | |||||
2009-04-12 | Reactivate get_socket_port | Volker Lendecke | 2 | -4/+2 | |
2009-04-12 | write_data already guarantees everything was written | Volker Lendecke | 1 | -9/+6 | |
2009-04-12 | Extract and print the server name type the client connects to | Volker Lendecke | 1 | -7/+7 | |
2009-04-11 | Fix some nonempty blank lines | Volker Lendecke | 1 | -4/+4 | |
2009-04-11 | Fix a memleak in an unlikely error path in change_notify_create() | Volker Lendecke | 1 | -0/+1 | |
2009-04-11 | Use talloc_tos() for a temp convert_string_allocate() | Volker Lendecke | 1 | -3/+3 | |
2009-04-10 | Link in the threads functions, not yet used. | Jeremy Allison | 2 | -1/+4 | |
Jeremy. | |||||
2009-04-10 | s4:rpc_server: split out the parsing of the ncacn_packet from analyzing of ↵ | Stefan Metzmacher | 1 | -34/+55 | |
the content metze | |||||
2009-04-10 | s4:rpc_server: report available output for all replies | Stefan Metzmacher | 1 | -0/+24 | |
metze | |||||
2009-04-10 | socket_wrapper: fix crash bug in swrap_readv/writev | Stefan Metzmacher | 1 | -4/+10 | |
metze | |||||
2009-04-10 | s3-spoolss: implement dummy _spoolss_AddPort(). | Günther Deschner | 1 | -11/+12 | |
Guenther | |||||
2009-04-10 | s3-spoolss: add support for level 8 in _spoolss_GetPrinter(). | Günther Deschner | 1 | -0/+37 | |
Guenther | |||||
2009-04-10 | s3-eventlog: implement _eventlog_FlushEventLog(). | Günther Deschner | 1 | -6/+15 | |
Guenther | |||||
2009-04-10 | s3-eventlog: implement _eventlog_GetLogInformation(). | Günther Deschner | 1 | -6/+44 | |
Guenther | |||||
2009-04-10 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -1/+34 | |
Guenther | |||||
2009-04-10 | eventlog: make EVENTLOG_FULL_INFORMATION a public struct. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-04-09 | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 230 | -21346/+12903 | |
2009-04-09 | Fix bug #6254 - PUT/GET produces an error in IPv6 to a smb-server(3.3) has ↵ | Jeremy Allison | 1 | -18/+23 | |
parameter "msdfs root = yes" This was broken by the refactoring around create_file(). MSDFS pathname processing must be done FIRST. MSDFS pathnames containing IPv6 addresses can be confused with NTFS stream names (they contain ":" characters. Jeremy. | |||||
2009-04-10 | s3-selftest: enable the RPC-NTSVCS torture test against Samba3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-04-10 | s3-ntsvcs: fix _PNP_GetDeviceList and _PNP_GetDeviceListSize. | Günther Deschner | 1 | -17/+24 | |
Guenther | |||||
2009-04-10 | s4-smbtorture: perform the ntsvcs devicelist tests against the Spooler service. | Günther Deschner | 1 | -18/+38 | |
Guenther | |||||
2009-04-10 | s3-rpcclient: allow to set flags in cmd_ntsvcs_get_dev_list(). | Günther Deschner | 1 | -4/+8 | |
Guenther | |||||
2009-04-10 | error-codes: add WERR_CM_INVALID_POINTER. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-04-10 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -6/+51 | |
Guenther | |||||
2009-04-10 | ntsvcs: add PNP_GetIdListFlags flags. | Günther Deschner | 1 | -2/+17 | |
Guenther | |||||
2009-04-09 | s3-svcctl: minor fix for _svcctl_EnumDependentServicesW(). | Günther Deschner | 1 | -0/+9 | |
Guenther | |||||
2009-04-09 | s4-smbtorture: add test_EnumDependentServicesW() to RPC-SVCCTL. | Günther Deschner | 1 | -1/+66 | |
Guenther | |||||
2009-04-09 | s3: re-run make samba3-idl. | Günther Deschner | 4 | -12/+12 | |
Guenther | |||||
2009-04-09 | svcctl: use svcctl_ServiceState type for dependent calls in IDL. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-04-09 | s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity(). | Günther Deschner | 1 | -1/+0 | |
Found by torture-test. Guenther | |||||
2009-04-09 | s4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test. | Günther Deschner | 1 | -0/+55 | |
Guenther | |||||
2009-04-09 | s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes. | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2009-04-09 | s3: re-run make samba3-idl. | Günther Deschner | 5 | -40/+40 | |
Guenther | |||||
2009-04-09 | svcctl: Fix IDL for svcctl_QueryServiceObjectSecurity and Set call. | Günther Deschner | 1 | -6/+6 | |
Guenther | |||||
2009-04-09 | s4-smbtorture: add test_QueryServiceConfigW() to RPC-SVCCTL. | Günther Deschner | 1 | -0/+44 | |
Guenther | |||||
2009-04-09 | s4-smbtorture: add test_QueryServiceStatus() to RPC-SVCCTL. | Günther Deschner | 1 | -0/+32 | |
Guenther | |||||
2009-04-09 | Merge branch 'wspp-schema' | Andrew Tridgell | 36 | -16388/+6829 | |
2009-04-09 | enable testing of possibleInferiors generation | Andrew Tridgell | 1 | -0/+1 | |
2009-04-09 | make the memory usage of possibleInferiors much more efficient | Andrew Tridgell | 1 | -20/+31 | |
2009-04-09 | added _const versions of some of the str_list_*() functions | Andrew Tridgell | 2 | -0/+84 | |
These const versions don't copy the strings themselves, which is useful when those strings point at known constant data (into the schema in this case) | |||||
2009-04-09 | we should not be supplying a generated attribute in our schema | Andrew Tridgell | 1 | -13/+0 | |
2009-04-09 | fixed the possibleInferiors calculation so it now passes the test | Andrew Tridgell | 2 | -27/+28 | |
We are probably still using more memory here than we need to. That needs to be looked at. | |||||
2009-04-09 | slightly nicer output in our possibleInferiors test code | Andrew Tridgell | 1 | -2/+2 | |
2009-04-09 | hook the new possibleInferiors calculation into the schema | Andrew Tridgell | 1 | -14/+77 | |
We now generate possibleInferiors at startup, and return it when requested | |||||
2009-04-09 | added str_list_unique() and str_list_show() | Andrew Tridgell | 2 | -36/+62 | |
I also undid some of the const changes from Andrew, as they didn't in fact resolve the const warnings. | |||||
2009-04-08 | Add the thread functions to top level lib/util. | Jeremy Allison | 3 | -0/+277 | |
Not yet used, that's the next step. Jeremy. | |||||
2009-04-08 | s3-svcctl: Fix _svcctl_EnumServicesStatusW (again). | Günther Deschner | 1 | -3/+1 | |
The final plan is to use the same macro based code that we have in spoolss to handle the buffers and calculate the buffer-sizes. Guenther |