summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-13s3-spoolss: fix typo in fill_printer_driver_info3().Günther Deschner1-1/+1
Guenther
2009-04-13s3-loadparm: Fix resume command typo for "printing = vlp".Günther Deschner1-1/+1
Guenther
2009-04-13s3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm.Günther Deschner1-12/+34
Found by smbtorture test. Guenther
2009-04-13s3: re-run make samba3-idl.Günther Deschner3-3/+29
Guenther
2009-04-13spoolss: add spoolss_DriverAttributes bitmask.Günther Deschner1-2/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 3 enum.Günther Deschner1-67/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 2 enum.Günther Deschner1-66/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 1 enum.Günther Deschner1-67/+7
Guenther
2009-04-13s3-spoolss: add generic enumprinterdrivers_level function.Günther Deschner1-0/+86
Guenther
2009-04-13s4-smbtorture: use printerinfo level 1 name, not description inGünther Deschner1-4/+11
test_EnumPrinters_old(). Guenther
2009-04-13s3: re-run make samba3-idl.Günther Deschner2-73/+73
Guenther
2009-04-13spoolss: fix order of strings in PrinterInfo1 structs.Günther Deschner1-2/+2
Guenther
2009-04-13Use convert_string_talloc, thanks Andrew!Volker Lendecke1-1/+1
2009-04-12We have to deny a level 2 oplock if kernel oplocks are enabledVolker Lendecke1-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-12Fix a bug in smbclient not sending the correct called nameVolker Lendecke1-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-12Add "netbios retarget"Volker Lendecke1-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-12Reactivate get_socket_portVolker Lendecke2-4/+2
2009-04-12write_data already guarantees everything was writtenVolker Lendecke1-9/+6
2009-04-12Extract and print the server name type the client connects toVolker Lendecke1-7/+7
2009-04-11Fix some nonempty blank linesVolker Lendecke1-4/+4
2009-04-11Fix a memleak in an unlikely error path in change_notify_create()Volker Lendecke1-0/+1
2009-04-11Use talloc_tos() for a temp convert_string_allocate()Volker Lendecke1-3/+3
2009-04-10Link in the threads functions, not yet used.Jeremy Allison2-1/+4
Jeremy.
2009-04-10s4:rpc_server: split out the parsing of the ncacn_packet from analyzing of ↵Stefan Metzmacher1-34/+55
the content metze
2009-04-10s4:rpc_server: report available output for all repliesStefan Metzmacher1-0/+24
metze
2009-04-10socket_wrapper: fix crash bug in swrap_readv/writevStefan Metzmacher1-4/+10
metze
2009-04-10s3-spoolss: implement dummy _spoolss_AddPort().Günther Deschner1-11/+12
Guenther
2009-04-10s3-spoolss: add support for level 8 in _spoolss_GetPrinter().Günther Deschner1-0/+37
Guenther
2009-04-10s3-eventlog: implement _eventlog_FlushEventLog().Günther Deschner1-6/+15
Guenther
2009-04-10s3-eventlog: implement _eventlog_GetLogInformation().Günther Deschner1-6/+44
Guenther
2009-04-10s3: re-run make samba3-idl.Günther Deschner3-1/+34
Guenther
2009-04-10eventlog: make EVENTLOG_FULL_INFORMATION a public struct.Günther Deschner1-1/+1
Guenther
2009-04-09Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison230-21346/+12903
2009-04-09Fix bug #6254 - PUT/GET produces an error in IPv6 to a smb-server(3.3) has ↵Jeremy Allison1-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-10s3-selftest: enable the RPC-NTSVCS torture test against Samba3.Günther Deschner1-1/+1
Guenther
2009-04-10s3-ntsvcs: fix _PNP_GetDeviceList and _PNP_GetDeviceListSize.Günther Deschner1-17/+24
Guenther
2009-04-10s4-smbtorture: perform the ntsvcs devicelist tests against the Spooler service.Günther Deschner1-18/+38
Guenther
2009-04-10s3-rpcclient: allow to set flags in cmd_ntsvcs_get_dev_list().Günther Deschner1-4/+8
Guenther
2009-04-10error-codes: add WERR_CM_INVALID_POINTER.Günther Deschner1-0/+1
Guenther
2009-04-10s3: re-run make samba3-idl.Günther Deschner3-6/+51
Guenther
2009-04-10ntsvcs: add PNP_GetIdListFlags flags.Günther Deschner1-2/+17
Guenther
2009-04-09s3-svcctl: minor fix for _svcctl_EnumDependentServicesW().Günther Deschner1-0/+9
Guenther
2009-04-09s4-smbtorture: add test_EnumDependentServicesW() to RPC-SVCCTL.Günther Deschner1-1/+66
Guenther
2009-04-09s3: re-run make samba3-idl.Günther Deschner4-12/+12
Guenther
2009-04-09svcctl: use svcctl_ServiceState type for dependent calls in IDL.Günther Deschner1-2/+2
Guenther
2009-04-09s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().Günther Deschner1-1/+0
Found by torture-test. Guenther
2009-04-09s4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test.Günther Deschner1-0/+55
Guenther
2009-04-09s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes.Günther Deschner1-2/+3
Guenther
2009-04-09s3: re-run make samba3-idl.Günther Deschner5-40/+40
Guenther
2009-04-09svcctl: Fix IDL for svcctl_QueryServiceObjectSecurity and Set call.Günther Deschner1-6/+6
Guenther