Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-11 | s4-dsdb Return an error if we can't convert UTF16MUNGED -> UTF8 | Andrew Bartlett | 1 | -1/+5 | |
The UTF16MUNGED helper will map all invalid sequences (except odd input length) to valid input sequences, per the rules. Therefore if it fails, we need to bail out, somehing serious is wrong. Andrew Bartlett | |||||
2010-11-11 | ldb:ldb_ldap.c rename operation - check for the RDN name and value | Matthias Dieter Wallnöfer | 1 | -3/+11 | |
Make it more similar to "ldb_ildap.c" and also more save | |||||
2010-11-11 | s4:dsdb - proof against empty RDN values where expected | Matthias Dieter Wallnöfer | 5 | -5/+40 | |
This should prevent crashes as pointed out on the mailing list. | |||||
2010-11-11 | Cannot create OU using custom Schema class | Zahari Zahariev | 1 | -0/+56 | |
If we define our own child class 'subClassOf' system Schema class e.g. organizationalUnit then we cannot create OU in the Dafualt Naming Context that has this custom Schama class in the objectClass attribute. | |||||
2010-11-11 | s4:objectclass LDB module - allow RDNs also to come from superclasses | Matthias Dieter Wallnöfer | 1 | -11/+39 | |
Detected by a testcase written by Zahari Zahariev. | |||||
2010-11-11 | s4:passwords.py - add a test for the normal "userPassword" behaviour | Matthias Dieter Wallnöfer | 1 | -1/+97 | |
Just to make sure that this works now too | |||||
2010-11-11 | s4:password_hash and acl LDB modules - handle the "userPassword" attribute ↵ | Matthias Dieter Wallnöfer | 4 | -12/+59 | |
according to the "dSHeuristics" | |||||
2010-11-11 | s4:password_hash LDB module - move "samdb_msg_find_old_and_new_ldb_val" into ↵ | Matthias Dieter Wallnöfer | 2 | -78/+77 | |
the password_hash LDB module It's only used there and so I think it doesn't really belong in "dsdb/common/util.c" (I first thought that it could be useful for ACL checking but obviously it wasn't). | |||||
2010-11-11 | s4:libnet/libnet_samsync_ldb.c - remove "userPassword" remove code | Matthias Dieter Wallnöfer | 1 | -6/+0 | |
It could also be a normal attribute with a normal content, and if it's not like that then it's for sure empty. | |||||
2010-11-11 | s4:local_password LDB module - remove schema checking code and fix some typos | Matthias Dieter Wallnöfer | 1 | -12/+6 | |
This is now done by the "objectclass_attrs" LDB module. | |||||
2010-11-11 | s4:ldb_modules/util.c - "dsHeuristics" -> "dSHeuristics" | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-11-11 | s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain ↵ | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
function level The "userPassword" password change functionality isn't available and so it causes big parts of the testsuite to fail. On the other hand we've basic tests in "acl.py" and indirectly also over SAMR and kpasswd so I propose to simply skip it. | |||||
2010-11-11 | s4:acl.py - two password change tests are expected to fails on Windows 2000 ↵ | Matthias Dieter Wallnöfer | 1 | -3/+14 | |
function level | |||||
2010-11-11 | s4:upgradehelpers.py - use "clearTextPassword" rather than "userPassword" | Matthias Dieter Wallnöfer | 1 | -5/+8 | |
It's the default internal s4 password change attribute | |||||
2010-11-11 | s4:speedtest.py - use "unicodePwd" for setting user's password | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
It's available on all AD hosts (including Windows 2000) and on all configurations! | |||||
2010-11-11 | s4:speedtest.py - remove duplicated code | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
2010-11-11 | s4:speedtest.py - fix script name in the help text | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-11-11 | s4:speedtest.py - make it executable | Matthias Dieter Wallnöfer | 1 | -0/+0 | |
2010-11-11 | s4:python tests - fix script names in the help text | Matthias Dieter Wallnöfer | 5 | -5/+5 | |
2010-11-11 | s4-loadparm: fix the FLAG_DEFAULT settings on specially handled parameters | Andrew Tridgell | 1 | -3/+8 | |
parameters with special handlers also need to clear the FLAG_DEFAULT flag when set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 11 03:39:23 UTC 2010 on sn-devel-104 | |||||
2010-11-11 | s4-provision: include command line provision options in the generated smb.conf | Andrew Tridgell | 1 | -11/+22 | |
this saves the smb.conf using lp.dump_globals() to ensure that any command line options (for example directory overrides) are saved in the generated smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-11 | s4-devel: useful script for testing join with empty smb.conf | Andrew Tridgell | 1 | -0/+43 | |
this sets up all the needed --options for a join with a prefix other than the one compiled in | |||||
2010-11-11 | s4-test: use IPC$ instead of ADMIN$ for srvsvc NetShareGetInfo test | Andrew Tridgell | 1 | -3/+3 | |
IPC$ is guaranteed to exist on servers that do RPC, whereas ADMIN$ isn't Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-11 | s4-join: use the command line loadparm in provision during a join | Andrew Tridgell | 2 | -9/+13 | |
this allows a join with an empty smb.conf to override locations of files correctly with --option Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-11 | s4-loadparm: fixed dumping of non-default parms with testparm | Andrew Tridgell | 1 | -13/+33 | |
when using testparm without -v we should only dump non-default parameters. This patch fixes up the handling of the FLAG_DEFAULT flag in loadparm to correctly mark parameters as default or not, including parametric options Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-11 | s4-server: move the creation of the IPC$ share into ntvfs | Andrew Tridgell | 2 | -36/+26 | |
the IPC$ share is only used by the ntvfs backends, and doesn't need to be created on every load of smb.conf. This fixes a problem with testparm showing the ipc$ share when it isn't defined in smb.conf. This also removes the admin$ share, which really shouldn't be on by default. The admin$ share is used for remote software installation, and normally exposes the c:\windows directory on a windows server. That makes no sense on Samba. If for some reason a admin$ share is needed, then the admin can create one as usual. Exposing /tmp via admin$ by default seems like a bad idea. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-10 | s4-smbtorture: use test_GetPrinterData{Ex}_checktype calls in RPC-SPOOLSS tests. | Günther Deschner | 1 | -3/+3 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 10 15:07:12 UTC 2010 on sn-devel-104 | |||||
2010-11-10 | s4-smbtorture: allow to test returned type after specific error code in ↵ | Günther Deschner | 1 | -15/+48 | |
PrinterData tests. Guenther | |||||
2010-11-10 | s4-pyldb: Handle internal errors in py_ldb_contains() properly | Kamen Mazdrashki | 1 | -4/+9 | |
It is an exceptional condition for ldb_search() to return more than one results during SCOPE_BASE search on DN Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Nov 10 09:02:00 UTC 2010 on sn-devel-104 | |||||
2010-11-10 | s4-pydsdb: py_dsdb_am_rodc() may call samdb_rodc() only once to get the job ↵ | Kamen Mazdrashki | 1 | -1/+1 | |
done :) | |||||
2010-11-10 | s4-pydsdb: py_dsdb_load_partition_usn() - simplify error handling in | Kamen Mazdrashki | 1 | -2/+4 | |
and print on which partition error has occured | |||||
2010-11-10 | s4-pydsdb-py_samdb_ntds_objectGUID(): Avoid potential memory leak | Kamen Mazdrashki | 1 | -7/+6 | |
in case py_ldb is not a valid LDB | |||||
2010-11-10 | s4-pydsdb-py_dsdb_get_oid_from_attid(): Avoid potential memory leak | Kamen Mazdrashki | 1 | -2/+2 | |
in case py_ldb is not a valid LDB | |||||
2010-11-10 | s4-pydsdb.c: Fix small memory leak in py_samdb_set_domain_sid() | Kamen Mazdrashki | 1 | -0/+1 | |
2010-11-10 | s4/syntax: Add tests for DN+String and DN+Binary | Anatoliy Atanasov | 1 | -0/+420 | |
These tests aim to verify the behavior for 2.5.5.7 and 2.5.5.14 syntaxes. Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Wed Nov 10 06:57:04 UTC 2010 on sn-devel-104 | |||||
2010-11-10 | s4-join: raise mininum password length to 32 in new join code | Andrew Tridgell | 1 | -1/+1 | |
2010-11-09 | s4:dsdb/operational.c: use DSDB_SECRET_ATTRIBUTES_EX() | Stefan Metzmacher | 1 | -5/+2 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 9 22:43:44 UTC 2010 on sn-devel-104 | |||||
2010-11-09 | s4:dsdb/common: add DSDB_SECRET_ATTRIBUTES_EX() | Stefan Metzmacher | 1 | -11/+14 | |
metze | |||||
2010-11-09 | s4:dsdb/local_password: use DSDB_SECRET_ATTRIBUTES | Stefan Metzmacher | 1 | -7/+3 | |
metze | |||||
2010-11-09 | s4:dsdb/schema/schema_filtered.c: make never_in_filtered_attrs static const | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-11-09 | s4:dsdb/schema/schema_filtered.c: use DSDB_SECRET_ATTRIBUTES | Stefan Metzmacher | 1 | -11/+1 | |
metze | |||||
2010-11-09 | s4:rpc_server/drsuapi: don't ask for constructed "distinguishedName" if we ↵ | Stefan Metzmacher | 1 | -1/+0 | |
don't use it metze | |||||
2010-11-09 | s4:rpc_server/drsuapi: make msg_attrs static const | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2010-11-09 | s4:rpc_server/drsuapi: let dcesrv_drsuapi_DsGetNCChanges() use ↵ | Stefan Metzmacher | 1 | -5/+1 | |
DSDB_SECRET_ATTRIBUTES We should replicate all secret attributes back to other DCs. metze | |||||
2010-11-09 | s4:dsdb/common: create a DSDB_SECRET_ATTRIBUTES define with all secret ↵ | Stefan Metzmacher | 2 | -12/+15 | |
attributes We should have them just in one place, so that we don't forget some of them. metze | |||||
2010-11-09 | s4:provision_self_join.ldif - the object SID in AD is called "objectSid" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 9 13:18:29 UTC 2010 on sn-devel-104 | |||||
2010-11-09 | s4:provision.py - strip trailing whitespaces | Matthias Dieter Wallnöfer | 1 | -106/+106 | |
2010-11-09 | s4:provision - switch to "clearTextPassword" for setting passwords | Matthias Dieter Wallnöfer | 4 | -8/+8 | |
This is the default password set/change attribute for s4 specific purposes (otherwise in respect to Windows it's "unicodePwd"). We move away from "userPassword" since on Windows it's not activated by default - and s4 will follow soon. | |||||
2010-11-09 | s4-test: make sure the selftest prefix exists | Andrew Tridgell | 1 | -0/+3 | |
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 9 00:05:22 UTC 2010 on sn-devel-104 | |||||
2010-11-08 | s4-drs: reduce verbosity of dreplsrv_out_connection_attach | Andrew Tridgell | 1 | -2/+2 | |