Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-10 | s3-spoolss: fix spoolss GetPrinterData behaviour | David Disseldorp | 1 | -1/+1 | |
Windows sends spoolss GetPrinterData requests with an offered buffer size of zero, Model and TrayFormTable data is commonly requested in this way. Samba's GetPrinterData response for the above case includes the correct error code (WERR_MORE_DATA), however the type field is set to REG_NONE. This causes Windows (seen on XP and 2k3) to give up on the request. If the type field is retained (not set to REG_NONE) when responding with WERR_MORE_DATA, Windows reissues the GetPrinterData request with an increased offered buffer size. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-11-10 | Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵ | Jeremy Allison | 1 | -4/+5 | |
adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy. | |||||
2010-10-22 | Revert "Wrap security_token_has_privilege() with a check for ↵ | Jeremy Allison | 1 | -9/+9 | |
lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104 | |||||
2010-10-22 | Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵ | Jeremy Allison | 1 | -9/+9 | |
Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104 | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-10-11 | s3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx. | Günther Deschner | 1 | -0/+9 | |
Guenther | |||||
2010-10-11 | s3-spoolss: let set_printer_hnd_name return WERROR. | Günther Deschner | 1 | -17/+19 | |
Guenther | |||||
2010-10-11 | s3-spoolss: convert open_printer_hnd to return WERROR. | Günther Deschner | 1 | -11/+16 | |
Guenther | |||||
2010-10-11 | s3-spoolss: fix set_printer_hnd_name() to match torture test. | Günther Deschner | 1 | -9/+15 | |
Guenther | |||||
2010-10-07 | s3-spoolss: make it possible to have and announce a [prnproc$] share on the ↵ | Günther Deschner | 1 | -2/+12 | |
printserver. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 16:09:14 UTC 2010 on sn-devel-104 | |||||
2010-10-05 | Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c. | Jeremy Allison | 1 | -1/+1 | |
From pjb1008@cam.ac.uk - Service numbers start from 0. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 5 17:32:34 UTC 2010 on sn-devel-104 | |||||
2010-10-04 | spoolss: fill in spoolss_SetPort IDL. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-10-02 | s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as ↵ | Günther Deschner | 1 | -0/+13 | |
seen from Win7 clients. These suffixes and their meaning are not documented (yet). Guenther | |||||
2010-10-02 | s3-spoolss: Fixed print job access. | Andreas Schneider | 1 | -4/+4 | |
2010-10-02 | s3-spoolss: Fixed print_access_check server_info. | Andreas Schneider | 1 | -2/+2 | |
2010-10-01 | s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since the | Günther Deschner | 1 | -3/+6 | |
days we moved away from fstrings. Guenther | |||||
2010-10-01 | s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as ↵ | Günther Deschner | 1 | -7/+13 | |
seen from win7. Guenther | |||||
2010-10-01 | s3-spoolss: dont overwrite location change notify. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-09-30 | s3-spoolss: make sure to exit early and with the appropriate error code in | Günther Deschner | 1 | -0/+4 | |
_spoolss_GetPrinterDriver2. Guenther | |||||
2010-09-30 | s3-spoolss: Fix servername/printername handling which turns out to be very ↵ | Günther Deschner | 1 | -81/+181 | |
important to get right. Guenther | |||||
2010-09-28 | s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handling | Günther Deschner | 1 | -0/+5 | |
2010-09-28 | s3-spoolss: Fix _spoolss_EnumPrintProcessors error handling | Günther Deschner | 1 | -0/+4 | |
2010-09-11 | s3-privs Convert from user_has_privileges() -> security_token_has_privilege() | Andrew Bartlett | 1 | -22/+11 | |
This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3:auth Remove NT_USER_TOKEN | Andrew Bartlett | 1 | -9/+9 | |
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Further changes to remove SE_PRIV | Andrew Bartlett | 1 | -9/+9 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-10 | s3-spoolss: Fix _spoolss_GetPrinter(). | Günther Deschner | 1 | -1/+2 | |
In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-) Guenther | |||||
2010-09-10 | s3-spoolss: Don't leak memory on the session counter list. | Andreas Schneider | 1 | -0/+12 | |
Thanks Günther, please check. | |||||
2010-09-10 | s3-spoolss: Allow multiple client backchannels. | Simo Sorce | 1 | -77/+116 | |
When we run spoolssd we need to support multiple clients connecting. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: Split function to send notification. | Simo Sorce | 1 | -127/+162 | |
More digestible this way. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: Use a single structure for all the back channel data. | Simo Sorce | 1 | -14/+18 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: Rename Printer_entry to struct printer_handle. | Simo Sorce | 1 | -53/+53 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: Move Printer_entry to srv_spoolss_nt.c | Simo Sorce | 1 | -0/+44 | |
It is used only there, and it is a good idea to make this one private and opaque to the rest of the code. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: Allocate printer entries on the pipe struct. | Simo Sorce | 1 | -1/+2 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: Rename session counter structure and use talloc. | Simo Sorce | 1 | -8/+7 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-10 | s3-spoolss: allow a short printername w/o servername. | Günther Deschner | 1 | -6/+1 | |
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test. Guenther | |||||
2010-09-09 | s3-spoolss: Use systerm server_info for winreg connection. | Andreas Schneider | 1 | -88/+162 | |
This will ensure that we have the rights we need to access the regsitry. | |||||
2010-09-09 | s3-spoolss: Make auth_serversupplied_info const. | Andreas Schneider | 1 | -17/+17 | |
2010-09-09 | s3-spoolss: Fixed some build warnings. | Andreas Schneider | 1 | -7/+11 | |
2010-09-07 | s3: Prune the printername cache when a printer is deleted | Volker Lendecke | 1 | -2/+20 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-03 | s3-spoolss: fix some debug statements. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-08-29 | s3: Remove some uses of smbd_server_fd() | Volker Lendecke | 1 | -2/+2 | |
The change in behaviour is that we don't detect "socket option" changes anymore when printers are added or removed. | |||||
2010-08-27 | s3: Cache results of finding printer names | Volker Lendecke | 1 | -0/+39 | |
With hundreds of printers or on a slow machine, this can become expensive. Problem reported and patch sponsored by DESY, Hamburg (www.desy.de) | |||||
2010-08-26 | s3-build: only include rpc_misc.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-22 | s3: Replace calls to check_access by allow_access | Volker Lendecke | 1 | -2/+2 | |
We already have both the name and address of the client stored now | |||||
2010-08-18 | s3: Use pipe_struct->client_id->name for pjob.clientmachine | Volker Lendecke | 1 | -1/+2 | |
2010-08-18 | s3: Add "client_id" to pipes_struct | Volker Lendecke | 1 | -4/+4 | |
2010-08-18 | s3: Lift smbd_server_fd from reload_services() | Volker Lendecke | 1 | -2/+2 | |
2010-08-17 | s3: Remove unused "pos" arg from print_job_write | Volker Lendecke | 1 | -1/+0 | |
2010-08-16 | s3: Remove get_client_fd() | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the server_messaging_context from spoolss_setjob_1 | Volker Lendecke | 1 | -3/+4 | |