summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 6.Günther Deschner1-1/+25
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 5.Günther Deschner1-0/+71
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4.Günther Deschner1-0/+90
Guenther
2009-04-17s3-samr: set the builtin_domain bool flag in get_samr_dispinfo_by_sid().Günther Deschner1-0/+2
Volker, please check. Found by torture test RPC-SAMR-PASSWORDS-PWDLASTSET (which we pass with this fix). Guenther
2009-04-16s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.Günther Deschner1-1/+9
LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED. Guenther (cherry picked from commit 1c9266c8caa59e287b993393b6050732a0b33547)
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison1-10/+3
What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
2009-04-14s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.Günther Deschner1-10/+6
This is what windows does and should get us closer to show the appropriate printer location string in explorer. Guenther
2009-04-14s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().Günther Deschner1-2/+1
Make sure we are not copying more than what we have as valid data. Fix from Jeremy. Thanks a lot for watching this so closely! Guenther
2009-04-13s3-spoolss: fix typo in fill_printer_driver_info3().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-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-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-ntsvcs: fix _PNP_GetDeviceList and _PNP_GetDeviceListSize.Günther Deschner1-17/+24
Guenther
2009-04-09s3-svcctl: minor fix for _svcctl_EnumDependentServicesW().Günther Deschner1-0/+9
Guenther
2009-04-09s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().Günther Deschner1-1/+0
Found by torture-test. Guenther
2009-04-09s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes.Günther Deschner1-2/+3
Guenther
2009-04-08s3-svcctl: Fix _svcctl_EnumServicesStatusW (again).Günther Deschner1-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
2009-04-08s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.Günther Deschner1-960/+0
Guenther
2009-04-08s3-rpc-server: remove unused rpc_server/srv_util.c file.Günther Deschner1-88/+0
Guenther
2009-04-08svcctl: use offered/needed for buffer sizes as in spoolss.Günther Deschner1-14/+14
Guenther
2009-04-08s3-svcctl: no need to define SVCCTL_NUM_INTERNAL_SERVICES twice in a file.Günther Deschner1-2/+0
Guenther
2009-04-07s3-spoolss: set servername to global_myname() in set_printer_hnd_name().Günther Deschner1-1/+1
This allows spoolss_OpenPrinterEx to open a printer by printername. Now the Samba3 spoolss server passes the RPC-SPOOLSS-WIN test. Guenther
2009-04-07s3-svcctl: Fix _svcctl_EnumServicesStatusW() crash bug on too small buffer.Günther Deschner1-1/+3
Guenther
2009-04-06s3-samr: add support for _samr_Connect3() while planning to pass a s4 ↵Günther Deschner1-10/+19
smbtorture test. Guenther
2009-04-03s3-samr: add support for setting password hashes via samr_SetUserInfo level 21.Günther Deschner1-4/+53
Guenther
2009-04-02s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().Günther Deschner1-2/+2
Guenther
2009-04-02s3-lsa: don't SAFE_FREE talloced structs.Günther Deschner1-2/+2
Guenther
2009-04-02s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner1-5/+238
Guenther
2009-03-27Fix external np read after conversion to tevent_reqVolker Lendecke1-1/+1
2009-03-25s3-spoolss: implement enumprinters_level0.Günther Deschner1-0/+24
Guenther
2009-03-24Fix bug 6097Volker Lendecke1-0/+4
A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with NT_STATUS_INVALID_SID, even if other SIDs in the list are valid. Thanks to Pavel <wylda@volny.cz> for the bug report!
2009-03-20s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.Günther Deschner1-3/+0
Guenther
2009-03-20s3-spoolss: implement enumprinters_level4.Günther Deschner1-1/+24
Guenther
2009-03-20s3-spoolss: implement enumprinters_level5.Günther Deschner1-2/+8
Guenther
2009-03-20s3-spoolss: use enum_all_printers_info_level for level 1 and 2.Günther Deschner1-110/+8
Guenther
2009-03-20s3-spoolss: add enum_all_printers_info_level().Günther Deschner1-0/+77
Guenther
2009-03-20s3-spoolss: apply some const in spoolss server.Günther Deschner1-35/+35
Guenther
2009-03-20s3-spoolss: pure comsetics.Günther Deschner1-131/+128
sorry, I just need to do that. Guenther
2009-03-20s3-samr: try to to fix password_expired flag handling.Günther Deschner2-52/+155
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner6-144/+130
Guenther
2009-03-18s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code.Günther Deschner1-1/+1
When _spoolss_GetPrinterData receives a query on a printserver handle for a value that we have not stored or do not provide, we need to return WERR_INVALID_PARAM, not WERR_BADFILE. Tested with w2k and w2k3 servers. Found by torture test. Guenther
2009-03-18s3-spoolss: fix _spoolss_EnumPrinterDataEx error path.Günther Deschner1-0/+4
When a windows clients queries the "" key, we need to make sure to return with the appropriate error (WERR_INVALID_PARAM in that case), and not fall through to the buffer size handling macros. Found by torture test. Guenther
2009-03-18spoolss: add my copyright.Günther Deschner1-0/+1
Guenther
2009-03-18s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.Günther Deschner1-591/+0
Guenther