summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-repl: dsdb_extended_replicated_objects_convert -> ↵Kamen Mazdrashki2010-11-114-54/+54
| | | | | | dsdb_replicated_objects_convert/ It is part of dsdb_replicated_* family of functions
* s4-repl: dsdb_extended_replicated_objects_commit -> ↵Kamen Mazdrashki2010-11-113-9/+8
| | | | | | dsdb_replicated_objects_commit It is part of dsdb_replicated_* family of functions
* s4-repl: dsdb_convert_object -> dsdb_origin_object_convertKamen Mazdrashki2010-11-111-7/+7
| | | | | It is used in dsdb_origin_objects_commit() func, hence the dsdb_origin_ prefix
* s4-test: repl_schema - Make sure LdbError and ERR_NO_SUCH_OBJECT are visibleKamen Mazdrashki2010-11-111-0/+1
|
* s3: Well... Fix a stupid errorVolker Lendecke2010-11-111-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 18:54:00 UTC 2010 on sn-devel-104
* s3: Make cli_set_ea_fnum return NTSTATUSVolker Lendecke2010-11-113-8/+12
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
* s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke2010-11-114-13/+25
|
* s3: Remove two pointless variablesVolker Lendecke2010-11-111-5/+4
|
* s3: Convert cli_set_ea() to cli_trans()Volker Lendecke2010-11-111-40/+35
|
* s3: Convert cli_dfs_get_referral to cli_transVolker Lendecke2010-11-112-32/+31
|
* s3: cli_dfs_check_error does not need to depend on cli->inbufVolker Lendecke2010-11-111-10/+13
|
* s3: Make split_dfs_path return boolVolker Lendecke2010-11-111-11/+27
|
* s3: Remove some dead codeVolker Lendecke2010-11-111-3/+0
|
* s3: Untangle an if-expressionVolker Lendecke2010-11-111-1/+2
|
* s4/test: Expand BindTestAnatoliy Atanasov2010-11-111-20/+60
| | | | | | | The test now binds with user@realm, domain\user, user dn, computer dn Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 11 16:15:30 UTC 2010 on sn-devel-104
* s4/test: Add bind.py to make testAnatoliy Atanasov2010-11-111-0/+1
| | | | | bind.py is a place to have tests for ldb binding with different credentials. For starter we have a simple bind with machine account.
* heimdal Don't dereference NULL in error verify_checksum error pathAndrew Bartlett2010-11-111-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Nov 11 10:37:03 UTC 2010 on sn-devel-104
* s4-provision UTF16 encode the password in sam.ldb, not secrets.ldbAndrew Bartlett2010-11-111-2/+2
| | | | | | | | | | The password in secrets.ldb is UTF8, while clearTextPassword in sam.ldb is UTF16. This corrects commit bd5039546e520b6d6897a658bc0a358f0511f7c7, which had these the wrong way around. Andrew Bartlett
* s4-dsdb Remove incorrectly declared ** variable used as *.Andrew Bartlett2010-11-111-6/+3
| | | | | | | | | | | The cleartext_utf16_str variable was declared char **, but due to the cast on convert_string_talloc() and the lack of type checking here and on data_blob_const (due to void *) it was able to be used as if it was a char *. The simple solution seems to be to fill in cleartext_utf16 blob directly. Andrew Bartlett
* s4-dsdb Convert new krbtgt_xxx password into UTF16Andrew Bartlett2010-11-111-1/+12
| | | | | | | The new stricter test on clearTextPassword values caught out that we did not provide a utf16 password here. Andrew Bartlett
* s4-dsdb Return an error if we can't convert UTF16MUNGED -> UTF8Andrew Bartlett2010-11-111-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
* s4:pytevent.c - fix a discard const warningMatthias Dieter Wallnöfer2010-11-111-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 11 09:47:55 UTC 2010 on sn-devel-104
* ldb:ldb_ldap.c rename operation - check for the RDN name and valueMatthias Dieter Wallnöfer2010-11-111-3/+11
| | | | Make it more similar to "ldb_ildap.c" and also more save
* s4:dsdb - proof against empty RDN values where expectedMatthias Dieter Wallnöfer2010-11-115-5/+40
| | | | This should prevent crashes as pointed out on the mailing list.
* Cannot create OU using custom Schema classZahari Zahariev2010-11-111-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.
* s4:objectclass LDB module - allow RDNs also to come from superclassesMatthias Dieter Wallnöfer2010-11-111-11/+39
| | | | Detected by a testcase written by Zahari Zahariev.
* s4:passwords.py - add a test for the normal "userPassword" behaviourMatthias Dieter Wallnöfer2010-11-111-1/+97
| | | | Just to make sure that this works now too
* s4:password_hash and acl LDB modules - handle the "userPassword" attribute ↵Matthias Dieter Wallnöfer2010-11-114-12/+59
| | | | according to the "dSHeuristics"
* s4:password_hash LDB module - move "samdb_msg_find_old_and_new_ldb_val" into ↵Matthias Dieter Wallnöfer2010-11-112-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).
* s4:libnet/libnet_samsync_ldb.c - remove "userPassword" remove codeMatthias Dieter Wallnöfer2010-11-111-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.
* s4:local_password LDB module - remove schema checking code and fix some typosMatthias Dieter Wallnöfer2010-11-111-12/+6
| | | | This is now done by the "objectclass_attrs" LDB module.
* s4:ldb_modules/util.c - "dsHeuristics" -> "dSHeuristics"Matthias Dieter Wallnöfer2010-11-111-2/+2
|
* s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain ↵Matthias Dieter Wallnöfer2010-11-111-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.
* s4:acl.py - two password change tests are expected to fails on Windows 2000 ↵Matthias Dieter Wallnöfer2010-11-111-3/+14
| | | | function level
* s4:upgradehelpers.py - use "clearTextPassword" rather than "userPassword"Matthias Dieter Wallnöfer2010-11-111-5/+8
| | | | It's the default internal s4 password change attribute
* s4:speedtest.py - use "unicodePwd" for setting user's passwordMatthias Dieter Wallnöfer2010-11-111-1/+2
| | | | It's available on all AD hosts (including Windows 2000) and on all configurations!
* s4:speedtest.py - remove duplicated codeMatthias Dieter Wallnöfer2010-11-111-2/+0
|
* s4:speedtest.py - fix script name in the help textMatthias Dieter Wallnöfer2010-11-111-2/+2
|
* s4:speedtest.py - make it executableMatthias Dieter Wallnöfer2010-11-111-0/+0
|
* s4:python tests - fix script names in the help textMatthias Dieter Wallnöfer2010-11-115-5/+5
|
* s4-loadparm: fix the FLAG_DEFAULT settings on specially handled parametersAndrew Tridgell2010-11-111-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
* s4-provision: include command line provision options in the generated smb.confAndrew Tridgell2010-11-111-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>
* s4-devel: useful script for testing join with empty smb.confAndrew Tridgell2010-11-111-0/+43
| | | | | this sets up all the needed --options for a join with a prefix other than the one compiled in
* s4-test: use IPC$ instead of ADMIN$ for srvsvc NetShareGetInfo testAndrew Tridgell2010-11-111-3/+3
| | | | | | | IPC$ is guaranteed to exist on servers that do RPC, whereas ADMIN$ isn't Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-join: use the command line loadparm in provision during a joinAndrew Tridgell2010-11-112-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>
* s4-loadparm: fixed dumping of non-default parms with testparmAndrew Tridgell2010-11-111-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>
* s4-server: move the creation of the IPC$ share into ntvfsAndrew Tridgell2010-11-112-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>
* Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share ↵Jeremy Allison2010-11-111-5/+2
| | | | | | | | | | | | | | using SMB signing. The underlying problem is that the old code invoked by cli_write() increments cli->mid directly when issuing outstanding writes. This should now be done only in libsmb/clientgen.c to make metze's new signing engine works correctly. Just deleting this code fixes the problem. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104
* Add test that detects problems in the SMB signing code when run through ↵Jeremy Allison2010-11-103-12/+38
| | | | | | | | | | cli_write() (which doesn't use the new async methods). Unfortunately, and I think due to the socket wrapper code, this doesn't detect the failure on the build farm, but running the RW-SIGNING test separately against a Samba or Windows server using signing does. Jeremy.
* autobuild: perfer to use git mail address in autobuild commentBjörn JACKE2010-11-101-1/+5
| | | | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 10 23:56:37 UTC 2010 on sn-devel-104