summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s4-smbtorture: use test_GetPrinterData{Ex}_checktype calls in RPC-SPOOLSS tests.Günther Deschner2010-11-101-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
* s3-spoolss: fix spoolss GetPrinterData behaviourDavid Disseldorp2010-11-101-1/+1
| | | | | | | | | | | | | | | | Windows sends spoolss GetPrinterData requests with an offered buffer size of zero, Model and TrayFormTable data is commonly requested in this way. Samba's GetPrinterData response for the above case includes the correct error code (WERR_MORE_DATA), however the type field is set to REG_NONE. This causes Windows (seen on XP and 2k3) to give up on the request. If the type field is retained (not set to REG_NONE) when responding with WERR_MORE_DATA, Windows reissues the GetPrinterData request with an increased offered buffer size. Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: allow to test returned type after specific error code in ↵Günther Deschner2010-11-101-15/+48
| | | | | | PrinterData tests. Guenther
* s3/time_audit: fix a change that was just for debuggin purposeѕBjörn Jacke2010-11-101-2/+2
| | | | | Autobuild-User: Björn Jacke <bjacke@samba.org> Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104
* s4-pyldb: Handle internal errors in py_ldb_contains() properlyKamen Mazdrashki2010-11-101-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
* s4-pydsdb: py_dsdb_am_rodc() may call samdb_rodc() only once to get the job ↵Kamen Mazdrashki2010-11-101-1/+1
| | | | done :)
* s4-pydsdb: py_dsdb_load_partition_usn() - simplify error handling inKamen Mazdrashki2010-11-101-2/+4
| | | | and print on which partition error has occured
* s4-pydsdb-py_samdb_ntds_objectGUID(): Avoid potential memory leakKamen Mazdrashki2010-11-101-7/+6
| | | | in case py_ldb is not a valid LDB
* s4-pydsdb-py_dsdb_get_oid_from_attid(): Avoid potential memory leakKamen Mazdrashki2010-11-101-2/+2
| | | | in case py_ldb is not a valid LDB
* s4-pydsdb.c: Fix small memory leak in py_samdb_set_domain_sid()Kamen Mazdrashki2010-11-101-0/+1
|
* s4/syntax: Add tests for DN+String and DN+BinaryAnatoliy Atanasov2010-11-101-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
* Fix memleak I accidently introduced when reading from tdb.Jeremy Allison2010-11-101-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 10 01:56:21 UTC 2010 on sn-devel-104
* Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵Jeremy Allison2010-11-1012-110/+195
| | | | | | | | | adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy.
* Ensure we check the return from make_user_info before dereferencing the ↵Jeremy Allison2010-11-101-2/+2
| | | | | | value returned by it. Jeremy.
* Remove fstring from map_username. Create a more sane interface than the ↵Jeremy Allison2010-11-1010-101/+208
| | | | | | called-parameter-is-modified. Jeremy.
* s3/vfs_time_audit: use monotonic clock for time deltasBjörn Jacke2010-11-101-334/+445
| | | | | Autobuild-User: Björn Jacke <bjacke@samba.org> Autobuild-Date: Wed Nov 10 01:13:22 UTC 2010 on sn-devel-104
* s4: point to the wiki howto for s4Andrew Tridgell2010-11-091-214/+4
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 9 23:38:28 UTC 2010 on sn-devel-104
* s4-join: raise mininum password length to 32 in new join codeAndrew Tridgell2010-11-101-1/+1
|
* s4:dsdb/operational.c: use DSDB_SECRET_ATTRIBUTES_EX()Stefan Metzmacher2010-11-091-5/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 9 22:43:44 UTC 2010 on sn-devel-104
* s4:dsdb/common: add DSDB_SECRET_ATTRIBUTES_EX()Stefan Metzmacher2010-11-091-11/+14
| | | | metze
* s4:dsdb/local_password: use DSDB_SECRET_ATTRIBUTESStefan Metzmacher2010-11-091-7/+3
| | | | metze
* s4:dsdb/schema/schema_filtered.c: make never_in_filtered_attrs static constStefan Metzmacher2010-11-091-1/+2
| | | | metze
* s4:dsdb/schema/schema_filtered.c: use DSDB_SECRET_ATTRIBUTESStefan Metzmacher2010-11-091-11/+1
| | | | metze
* s4:rpc_server/drsuapi: don't ask for constructed "distinguishedName" if we ↵Stefan Metzmacher2010-11-091-1/+0
| | | | | | don't use it metze
* s4:rpc_server/drsuapi: make msg_attrs static constStefan Metzmacher2010-11-091-1/+3
| | | | metze
* s4:rpc_server/drsuapi: let dcesrv_drsuapi_DsGetNCChanges() use ↵Stefan Metzmacher2010-11-091-5/+1
| | | | | | | | DSDB_SECRET_ATTRIBUTES We should replicate all secret attributes back to other DCs. metze
* s4:dsdb/common: create a DSDB_SECRET_ATTRIBUTES define with all secret ↵Stefan Metzmacher2010-11-092-12/+15
| | | | | | | | attributes We should have them just in one place, so that we don't forget some of them. metze
* s3: Quieten a bogus error messageVolker Lendecke2010-11-091-3/+1
| | | | | | | | | | | This happens if you set "auth methods = winbind" without a fallback method. The return NT_STATUS_LOGON_FAILURE; is not strictly require here, because we fall through to the equivalent statement a few lines down, but it makes the code a bit clearer IMO. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 9 20:15:59 UTC 2010 on sn-devel-104
* s3: Package autorid moduleVolker Lendecke2010-11-091-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 9 16:21:48 UTC 2010 on sn-devel-104
* raw.h is only needed in the S4 buildVolker Lendecke2010-11-091-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 9 14:49:14 UTC 2010 on sn-devel-104
* s4:provision_self_join.ldif - the object SID in AD is called "objectSid"Matthias Dieter Wallnöfer2010-11-091-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
* s4:provision.py - strip trailing whitespacesMatthias Dieter Wallnöfer2010-11-091-106/+106
|
* s4:provision - switch to "clearTextPassword" for setting passwordsMatthias Dieter Wallnöfer2010-11-094-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.
* s4-test: make sure the selftest prefix existsAndrew Tridgell2010-11-091-0/+3
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 9 00:05:22 UTC 2010 on sn-devel-104
* s4-drs: reduce verbosity of dreplsrv_out_connection_attachAndrew Tridgell2010-11-081-2/+2
|
* heimdal: fixed a shadowed variable warning for error_messageAndrew Tridgell2010-11-081-23/+23
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-attid: Uppercase ATTID type constantsKamen Mazdrashki2010-11-083-10/+10
| | | | | | | Thanks Metze for noting this! Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 8 23:06:41 UTC 2010 on sn-devel-104
* s4-test: Initial implementation for Schema replication black box testKamen Mazdrashki2010-11-081-0/+174
|
* Second part of fix for bug #7777 - When requesting lookups for BUILTIN sids, ↵Jeremy Allison2010-11-081-1/+3
| | | | | | | | | | | | winbindd allocates new uids/gids in error. Ensure we return after calling passdb for SID lookups for which we are authoritative. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 8 22:24:34 UTC 2010 on sn-devel-104
* Ensure we always have a mapped group for "Domain Users".Jeremy Allison2010-11-081-1/+6
| | | | | | Needed for DC tests to pass with bugfix for bug #7777. Jeremy.