Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:charcnv remove now unused malloc() based conversion functions | Andrew Bartlett | 2009-04-14 | 2 | -43/+0 |
| | |||||
* | Add some harmless use of talloc_tos() in ntlm_auth | Andrew Bartlett | 2009-04-14 | 2 | -5/+5 |
| | |||||
* | Convert Samba3 to use the common lib/util/charset API | Andrew Bartlett | 2009-04-14 | 21 | -356/+190 |
| | | | | | | | | | | | | This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett | ||||
* | Solve some of the conflict between Samba3 and Samba4 push_string | Andrew Bartlett | 2009-04-14 | 8 | -53/+86 |
| | | | | | | | | This renames push_string in Samba3 into push_string_base and push_string_check for the two different use cases. This should allow push_string to be imported from Samba4, using it's calling conventions. | ||||
* | s3-rpcclient: add set_job command. | Günther Deschner | 2009-04-13 | 1 | -0/+55 |
| | | | | Guenther | ||||
* | s3-spoolss: fix typo in fill_printer_driver_info3(). | Günther Deschner | 2009-04-13 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s3-loadparm: Fix resume command typo for "printing = vlp". | Günther Deschner | 2009-04-13 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm. | Günther Deschner | 2009-04-13 | 1 | -12/+34 |
| | | | | | | Found by smbtorture test. Guenther | ||||
* | s3-spoolss: use enumprinterdrivers_level() for level 3 enum. | Günther Deschner | 2009-04-13 | 1 | -67/+6 |
| | | | | Guenther | ||||
* | s3-spoolss: use enumprinterdrivers_level() for level 2 enum. | Günther Deschner | 2009-04-13 | 1 | -66/+6 |
| | | | | Guenther | ||||
* | s3-spoolss: use enumprinterdrivers_level() for level 1 enum. | Günther Deschner | 2009-04-13 | 1 | -67/+7 |
| | | | | Guenther | ||||
* | s3-spoolss: add generic enumprinterdrivers_level function. | Günther Deschner | 2009-04-13 | 1 | -0/+86 |
| | | | | Guenther | ||||
* | Use convert_string_talloc, thanks Andrew! | Volker Lendecke | 2009-04-13 | 1 | -1/+1 |
| | |||||
* | We have to deny a level 2 oplock if kernel oplocks are enabled | Volker Lendecke | 2009-04-12 | 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. | ||||
* | Fix a bug in smbclient not sending the correct called name | Volker Lendecke | 2009-04-12 | 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 | ||||
* | Add "netbios retarget" | Volker Lendecke | 2009-04-12 | 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 | ||||
* | Reactivate get_socket_port | Volker Lendecke | 2009-04-12 | 2 | -4/+2 |
| | |||||
* | write_data already guarantees everything was written | Volker Lendecke | 2009-04-12 | 1 | -9/+6 |
| | |||||
* | Extract and print the server name type the client connects to | Volker Lendecke | 2009-04-12 | 1 | -7/+7 |
| | |||||
* | Fix some nonempty blank lines | Volker Lendecke | 2009-04-11 | 1 | -4/+4 |
| | |||||
* | Fix a memleak in an unlikely error path in change_notify_create() | Volker Lendecke | 2009-04-11 | 1 | -0/+1 |
| | |||||
* | Use talloc_tos() for a temp convert_string_allocate() | Volker Lendecke | 2009-04-11 | 1 | -3/+3 |
| | |||||
* | Link in the threads functions, not yet used. | Jeremy Allison | 2009-04-10 | 2 | -1/+4 |
| | | | | Jeremy. | ||||
* | s3-spoolss: implement dummy _spoolss_AddPort(). | Günther Deschner | 2009-04-10 | 1 | -11/+12 |
| | | | | Guenther | ||||
* | s3-spoolss: add support for level 8 in _spoolss_GetPrinter(). | Günther Deschner | 2009-04-10 | 1 | -0/+37 |
| | | | | Guenther | ||||
* | s3-eventlog: implement _eventlog_FlushEventLog(). | Günther Deschner | 2009-04-10 | 1 | -6/+15 |
| | | | | Guenther | ||||
* | s3-eventlog: implement _eventlog_GetLogInformation(). | Günther Deschner | 2009-04-10 | 1 | -6/+44 |
| | | | | Guenther | ||||
* | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 2009-04-09 | 66 | -3027/+3358 |
|\ | |||||
| * | s3-selftest: enable the RPC-NTSVCS torture test against Samba3. | Günther Deschner | 2009-04-10 | 1 | -1/+1 |
| | | | | | | | | Guenther | ||||
| * | s3-ntsvcs: fix _PNP_GetDeviceList and _PNP_GetDeviceListSize. | Günther Deschner | 2009-04-10 | 1 | -17/+24 |
| | | | | | | | | Guenther | ||||
| * | s3-rpcclient: allow to set flags in cmd_ntsvcs_get_dev_list(). | Günther Deschner | 2009-04-10 | 1 | -4/+8 |
| | | | | | | | | Guenther | ||||
| * | s3-svcctl: minor fix for _svcctl_EnumDependentServicesW(). | Günther Deschner | 2009-04-09 | 1 | -0/+9 |
| | | | | | | | | Guenther | ||||
| * | s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity(). | Günther Deschner | 2009-04-09 | 1 | -1/+0 |
| | | | | | | | | | | | | Found by torture-test. Guenther | ||||
| * | s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes. | Günther Deschner | 2009-04-09 | 1 | -2/+3 |
| | | | | | | | | Guenther | ||||
| * | s3-svcctl: Fix _svcctl_EnumServicesStatusW (again). | Günther Deschner | 2009-04-08 | 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 | ||||
| * | Remove async_req | Volker Lendecke | 2009-04-08 | 2 | -3/+1 |
| | | |||||
| * | Convert cli_push to tevent_req | Volker Lendecke | 2009-04-08 | 2 | -77/+66 |
| | | | | | | | | | | | | | | | | Metze, please check! Thanks, Volker | ||||
| * | Convert cli_pull to tevent_req | Volker Lendecke | 2009-04-08 | 2 | -54/+49 |
| | | |||||
| * | s3-net: Fix Bug #5329: add "net rpc service delete/create". | Günther Deschner | 2009-04-08 | 1 | -0/+204 |
| | | | | | | | | | | | | Patch from Danny Tylman <danny.tylman@insightix.com>. Guenther | ||||
| * | Convert rpc_transport_smbd_init to tevent_req | Volker Lendecke | 2009-04-08 | 2 | -39/+37 |
| | | |||||
| * | Convert rpc_cli_smbd_conn_init to tevent_req | Volker Lendecke | 2009-04-08 | 2 | -44/+41 |
| | | |||||
| * | Convert get_anon_ipc to tevent_req | Volker Lendecke | 2009-04-08 | 1 | -40/+35 |
| | | |||||
| * | Convert rpc_transport_np_init to tevent_req | Volker Lendecke | 2009-04-08 | 3 | -46/+43 |
| | | |||||
| * | s3-eventlog: split out evlog_convert_tdb_to_evt(). | Günther Deschner | 2009-04-08 | 3 | -52/+80 |
| | | | | | | | | Guenther | ||||
| * | s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server. | Günther Deschner | 2009-04-08 | 3 | -2/+2 |
| | | | | | | | | Guenther | ||||
| * | s3-rpc-server: remove unused rpc_server/srv_util.c file. | Günther Deschner | 2009-04-08 | 1 | -88/+0 |
| | | | | | | | | Guenther | ||||
| * | s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself. | Günther Deschner | 2009-04-08 | 1 | -1/+1 |
| | | | | | | | | Guenther | ||||
| * | s3-selftest: add root for make test as well (not only make selftest). | Günther Deschner | 2009-04-08 | 1 | -0/+1 |
| | | | | | | | | Guenther | ||||
| * | s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr(). | Günther Deschner | 2009-04-08 | 1 | -0/+4 |
| | | | | | | | | Guenther | ||||
| * | s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test. | Günther Deschner | 2009-04-08 | 1 | -0/+1 |
| | | | | | | | | Guenther |