Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-23 | s3-spoolss: Added winreg helper functions to write registry values. | Andreas Schneider | 1 | -0/+104 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-spoolss: Fixed return values of winreg_printer_deleteform1. | Andreas Schneider | 1 | -0/+5 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-spoolss: Added missing return value to winreg_printer_enumforms1 docs. | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-spoolss: Use const values for notify functions. | Andreas Schneider | 2 | -12/+12 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-time: Added a function to get the startup time of the server. | Andreas Schneider | 2 | -0/+14 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-04-23 | s3-lanman: fix uninitialized variable in api_RDosPrintJobDel(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-04-23 | s3-selftest: enable RPC-SPOOLSS-DRIVER against s3. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-04-23 | s4-smbtorture: skip tests when no local driver directory is around. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2010-04-23 | s3-selftest: add print$ share with two arch dirs. | Günther Deschner | 1 | -0/+8 | |
(make test variant) Guenther | |||||
2010-04-23 | s3-selftest: add print$ share with two arch dirs. | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2010-04-23 | s3-winbind: fix setup_domain_child() callers. | Günther Deschner | 1 | -2/+2 | |
Volker, please check. Guenther | |||||
2010-04-23 | s4-smbtorture: use server_name for all printerdriver delete and enum operations. | Günther Deschner | 1 | -12/+16 | |
With this s3 passes the RPC-PRINTER-DRIVER test. Guenther | |||||
2010-04-23 | s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear. | Günther Deschner | 1 | -4/+6 | |
Guenther | |||||
2010-04-23 | s4-smbtorture: allow to upload or remove any file belonging to a driver. | Günther Deschner | 1 | -0/+30 | |
Guenther | |||||
2010-04-23 | s3: Fix a winbind crash when scanning trusts | Volker Lendecke | 1 | -0/+6 | |
add_trusted_domain() for a new domain always needs to be followed by a setup_domain_child(). This was not always done, in particular not when walking to the forest root for additional trusts. This is a minimal patch, we need to fix add_trusted_domain(). | |||||
2010-04-22 | Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2. | Jeremy Allison | 8 | -85/+357 | |
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy. | |||||
2010-04-23 | s3: Fix a cut&paste error in a debug message in check_oem_password() | Volker Lendecke | 1 | -1/+2 | |
2010-04-23 | s3-spoolss: make sure AddPrinterDriver calls into AddPrinterDriverEx. | Günther Deschner | 1 | -19/+27 | |
Not vice versa. Also disable some info levels in AddPrinterDriver according to MS-RPRN 3.1.4.4.1. Found by torture test. Guenther | |||||
2010-04-23 | s4-smbtorture: fix test_EnumPrinterDrivers_findone(). | Günther Deschner | 1 | -8/+8 | |
Guenther | |||||
2010-04-23 | s4-smbtorture: samba currently supports level 3 and 6 driver adds. | Günther Deschner | 1 | -0/+25 | |
Guenther | |||||
2010-04-23 | s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths. | Günther Deschner | 2 | -2/+12 | |
Found by torture test. Guenther | |||||
2010-04-23 | s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER. | Günther Deschner | 1 | -61/+71 | |
Guenther | |||||
2010-04-23 | s4-smbtorture: allow to upload and later remove printer driver files in ↵ | Günther Deschner | 1 | -0/+230 | |
RPC-SPOOLSS-DRIVER. Guenther | |||||
2010-04-23 | s4-smbtorture: add RPC-SPOOLSS-DRIVER test. | Günther Deschner | 2 | -0/+752 | |
Guenther | |||||
2010-04-23 | s4-smbtorture: rework EnumPrinterDrivers tests a bit. | Günther Deschner | 1 | -68/+119 | |
Guenther | |||||
2010-04-23 | build: give a more useful error when the source dir has moved | Andrew Tridgell | 1 | -0/+6 | |
you need a distclean if you mv the source directory | |||||
2010-04-23 | build: use 'waf distclean' for make distclean | Andrew Tridgell | 1 | -2/+2 | |
this cleans up the more than rm -rf bin | |||||
2010-04-22 | s4:provision Remove moduleload for 'hdb' (wrong name). | Andrew Bartlett | 1 | -1/+0 | |
The backends are not normally modules anyway | |||||
2010-04-22 | spoolss: pretty-print a struct spoolss_Time. | Günther Deschner | 5 | -17/+30 | |
Guenther | |||||
2010-04-22 | s4-cldap: we should set the w2k8 flags even if not the PDC emulator | Andrew Tridgell | 1 | -3/+4 | |
these two tests are independent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-drs: validate RODC credentials via the user_sid | Andrew Tridgell | 1 | -27/+12 | |
This checks whether a replication client is a RODC by inclusion of the the DOMAIN_RID_ENTERPRISE_READONLY_DCS sid in the users token Pair-Programmed-With: Rusty Russell <rusty@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER level | Andrew Tridgell | 13 | -37/+69 | |
This is used for allowing operations by RODCs, and denying them operations that should only be allowed for a full DC This required a new domain_sid argument to security_session_user_level() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-22 | s4-net: fixed two compiler warnings | Andrew Tridgell | 1 | -6/+4 | |
2010-04-22 | s4-torture: fixed a initialiser | Andrew Tridgell | 1 | -1/+1 | |
we were not initialising the whole array Pair-Programmed-With: Rusty Russell <rusty@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-libnet: fixed two compiler warnings | Andrew Tridgell | 1 | -3/+2 | |
2010-04-22 | s4-drs: removed dsdb_validate_client_flags() | Andrew Tridgell | 2 | -37/+0 | |
This test is in the wrong place. We end up validating our own flags. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-drs: only allow replication with the right invocationId | Andrew Tridgell | 1 | -1/+20 | |
Non-administrator replication checks the invocationId matches the sid of the user token being used Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-dsdb: removed an unused variable | Andrew Tridgell | 1 | -1/+0 | |
2010-04-22 | s4-dsdb: added dsdb_validate_invocation_id() | Andrew Tridgell | 1 | -0/+87 | |
this validates that a invocationID matches an account sid This will be used to ensure that we don't allow DRS replication from someone a non-DC or administrator Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-dsdb: added dsdb_get_extended_dn_sid() | Andrew Tridgell | 2 | -12/+34 | |
This will be used by the RODC code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | build: we don't need this makefile magic any more | Andrew Tridgell | 1 | -2/+2 | |
The waf build now checks for all A=B variables passed via make and sets the same waf internal variable. This means all waf options are available via make. Removing this from the Makefile makes us less reliant on a modern version of make. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-dsdb: moved rodc schema validation to samldb.c | Andrew Tridgell | 2 | -33/+37 | |
This means we are only doing the checks for schema changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-drs: Use new samdb_rodc() function in s4 code | Fernando J V da Silva | 2 | -2/+4 | |
This patch fits the calling to the new samdb_rodc() function and fix a little bug in this function. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s4-drs: Do not send RODC filtered attributes to RODCs on GetNCChanges reply | Fernando J V da Silva | 1 | -0/+14 | |
During building an object to send it on a GetNCChanges reply, it checks the attributes and if any of them is a RODC filtered and the recipient is a RODC, then such attribute is not sent. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s40-drs: Do not send GetNCChanges messages to RODCs | Fernando J V da Silva | 1 | -0/+11 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s4-drs: dsdb_validate_client_flags() function | Fernando J V da Silva | 1 | -0/+28 | |
This function is intended to check if some client is not lying about his flags. At this moment, it only checks for RODC flags. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s4-drs: samdb_is_rodc() function and new samdb_rodc() function | Fernando J V da Silva | 6 | -39/+80 | |
This patch creates the samdb_is_rodc() function, which looks for the NTDSDSA object for a DC that has a specific invocationId and if msDS-isRODC is present on such object and it is TRUE, then consider the DC as a RODC. The new samdb_rodc() function uses the samdb_is_rodc() function for the local server. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s4-drs: Do not allow system-critical attributes to be RODC filtered | Fernando J V da Silva | 2 | -0/+36 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s4:provision Make OpenLDAP backend more robust | Andrew Bartlett | 1 | -1/+11 | |
With the extra moduleload lines (which succeed if it's already staticly linked), we now work with OpenLDAP overlays as modules. Andrew Bartlett | |||||
2010-04-22 | s4:ldap-backend Fix LSA test failures with OpenLDAP backend - convert SIDs | Andrew Bartlett | 1 | -0/+24 | |
The SIDs in some queries were not being passed as binary, but as strings in comparison with the securityIdentifer object. We need to recognise that these are SIDs in the simple_ldap_map. Andrew Bartlett |