Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2010-04-22 | s4:provison Pass nosync in for the OpenLDAP cn=config too | Andrew Bartlett | 1 | -0/+1 | |
2010-04-22 | s4:selftest Ensure we don't fsync() all day in the LDAP backend test | Andrew Bartlett | 1 | -0/+1 | |
Passing this option greatly reduces the time spent in the test. Andrew Bartlett | |||||
2010-04-22 | s4:OpenLDAP-backend Use the new rdnval module in OpenLDAP | Andrew Bartlett | 4 | -5/+15 | |
This is rather than rdn_name, which tries to do the job on the client side. We need to leave this module in the stack for Fedora DS (and of course the LDB backend). Andrew Bartlett | |||||
2010-04-22 | s4:dsdb Revert accidentilly commited change for LDAP backends | Andrew Bartlett | 1 | -1/+1 | |
In the future, LDAP backends will be resposible for maintaining the 'name' attributes. Andrew Bartlett | |||||
2010-04-22 | s4:provision Use more reasonable values for DB_CONFIG | Andrew Bartlett | 1 | -5/+13 | |
With the OpenLDAP backend, the old DB_CONFIG caused OpenLDAP to abort on startup, and was very inefficient. This new one, kindly supplied by Matthew Backes <mbackes@symas.com> uses a more reasonable set of buffer sizes. Andrew Bartlett | |||||
2010-04-22 | build: added --enable-auto-reconfigure | Andrew Tridgell | 1 | -1/+13 | |
this is off by default until some issues are resolved. See my mail to samba-technical for details. | |||||
2010-04-21 | s4:netlogon RPC server - fix a counter variable type | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2010-04-21 | build: recalculate project deps when NONSHARED_BINARIES changes | Andrew Tridgell | 1 | -0/+10 | |
2010-04-21 | build: added --nonshared-binary=LIST option | Andrew Tridgell | 3 | -0/+25 | |
This allows you to specify some binaries that should be built without shared libs. A non-shared smbtorture will make testing s3 in the build farm easier | |||||
2010-04-21 | s4-waf: python devel headers are mandatory for the source4 build | Andrew Tridgell | 1 | -1/+1 | |
2010-04-21 | build: make python development headers not mandatory in standalone libs | Andrew Tridgell | 2 | -1/+1 | |
This needed an update to the python tool in waf thanks to Kai for spotting this | |||||
2010-04-21 | waftest: updated the cross compilation environment I test with | Andrew Tridgell | 1 | -1/+1 | |
2010-04-21 | s4-server: show build host in samba -b output | Andrew Tridgell | 1 | -0/+5 | |
2010-04-21 | build: fixed uname output to be on target machine when cross compiling | Andrew Tridgell | 4 | -15/+51 | |
this also makes the output of define_ret configure tests show up in the configure output | |||||
2010-04-21 | s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3 | Andrew Tridgell | 2 | -2/+1 | |
2010-04-21 | s4-drs: accept zero revision in drs selftest | Andrew Tridgell | 1 | -0/+5 | |
Kamen, please have a look at this. We need to accept revision zero as w2k8r2 sends it during initial schema replication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-provision: cope with --realm being in getopt.py | Andrew Tridgell | 1 | -1/+2 | |
we still need to allow for interactive querying of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-waf: create the smbd.tmp/messaging directory | Andrew Tridgell | 1 | -1/+1 | |
this prevents a warning when we run net vampire from the install dir when samba has never been run previously Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-python: added --realm option to python scripts | Andrew Tridgell | 1 | -1/+7 | |
this is needed for net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-provision: set "setup_dir" to the right path | Andrew Tridgell | 1 | -2/+8 | |
This needs to cope with both running from the build tree or running from the install tree. We use the provision.smb.conf.dc as a sentinal to detect if we are in the build tree. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-schema: allow revision numbers of zero | Andrew Tridgell | 1 | -6/+3 | |
w2k8r2 sends a revision of zero in the initial schema replication during a net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-python: accept --option arguments in python cmdline parsing | Andrew Tridgell | 1 | -10/+17 | |
also fixed the -d option to use lp.set() which calls lp_set_cmdline() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-devel: allow extra net command line options and gdb | Andrew Tridgell | 1 | -1/+1 | |
This allows you to run: GDB="gdb --args" vampire_ad.sh and also to add higher debug levels like this: vampire_ad.sh -d100 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-21 | s4-pynet: accept None for target_dir in vampire | Andrew Tridgell | 1 | -1/+1 | |
2010-04-20 | Fix i18n of net conf import error message. | Jim McDonough | 1 | -3/+4 | |
Thanks gd | |||||
2010-04-20 | Display an error on net conf import failures. | Jim McDonough | 1 | -0/+3 | |
When something goes wrong, such as a typo in a parameter name, we'll now display the failure instead of just returning with -1 and no message. | |||||
2010-04-20 | s4-smbtorture: add spoolss DriverInfo and winreg consistency test. | Günther Deschner | 1 | -7/+238 | |
Guenther | |||||
2010-04-20 | s4-smbtorture: add function to get a printserver's environment. | Günther Deschner | 1 | -0/+22 | |
Guenther | |||||
2010-04-20 | s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste. | Günther Deschner | 1 | -22/+22 | |
Guenther | |||||
2010-04-20 | s4-smbtorture: refactor test_GetPrinterDriver2(). | Günther Deschner | 1 | -36/+64 | |
Guenther | |||||
2010-04-20 | s4:dynconfig: fix the autoconf build and pass -DPYTHONDIR=\"$(pythondir)\" | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-04-20 | s4:rpc_server/netlogon: add no memory checks | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-04-20 | s4-netlogon: fixed dc_unc and dc_address_type | Andrew Tridgell | 1 | -1/+3 | |
These are needed for dcpromo from w2k8r2 | |||||
2010-04-20 | build: added uname display and SYSTEM_UNAME define | Andrew Tridgell | 2 | -0/+22 | |
suggestion from Metze | |||||
2010-04-20 | util-runcmd: ignore spurious ECHILD errors | Andrew Tridgell | 1 | -0/+14 | |
when we get ECHILD in samba_runcmd it is because the parent has set SIGCHLD to SIG_IGN. In that case the child status information is lost. We then have to fallback on the logging of child error messages for any useful information on what happened to the child. A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard process model of s4. | |||||
2010-04-20 | s4-smbtorture: add test for csetprinter field behaviour in printer info level 0. | Günther Deschner | 1 | -0/+71 | |
Suprisingly, that value is always 0 (at least on w2k8r2). Guenther | |||||
2010-04-20 | s4-net: don't show a full python exception when you can't open sam.ldb | Andrew Tridgell | 1 | -2/+2 | |
2010-04-20 | s4-net: show a list of commands when someone runs "net" with no arguments | Andrew Tridgell | 1 | -1/+1 | |
2010-04-20 | s4-python: added PYTHONDIR to python search path | Andrew Tridgell | 1 | -0/+5 | |
we put it after the scripting/python dir, so we look in the build directory (if applicable) first. | |||||
2010-04-20 | s4-dynconfig: added dyn_PYTHONDIR | Andrew Tridgell | 3 | -0/+6 | |
2010-04-20 | s3-spoolss: fix winreg spoolss helper call documentation. | Günther Deschner | 1 | -11/+33 | |
Guenther | |||||
2010-04-20 | s3-spoolss: avoid passing down full "struct pipes_struct". | Günther Deschner | 2 | -51/+73 | |
Guenther | |||||
2010-04-20 | s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
short domainname discovery Here we don't need to use "lp_sam_name" since in this function we are always a DC. |