summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:registry: when deleting the records for a key, also delete the sorted ↵Michael Adam2011-06-301-0/+8
| | | | | | | | | | subkeys cache This prevents orphaned empty sorted subkeys cache records from filling the database. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry: add helper function regdb_delete_sorted_subkeys()Michael Adam2011-06-301-0/+7
| | | | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:nmbd_subnetdb: close all sockets attached to a subnet in close_subnet() ↵Stefan Metzmacher2011-06-301-3/+11
| | | | | | (bug #8276) metze
* s3:smbd do not panic when CTDB is unhealthy (Bug #8278)Christian Ambach2011-06-301-0/+9
| | | | | | | | when CTDB is unhealthy, log a message and exit cleanly instead of creating a core file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Jun 30 13:18:12 CEST 2011 on sn-devel-104
* s3-printing: skip migration of non-existent printersDavid Disseldorp2011-06-301-8/+18
| | | | | | | | | | Skip tdb migration of printer and security descriptor entries which refer to non-existent printers. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jun 30 10:54:23 CEST 2011 on sn-devel-104
* s3-printing: fill devicemode size in migrate_printer()David Disseldorp2011-06-302-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-winbind: Fix bug 7888 -- deal with buggy 3.0 based PDCsGünther Deschner2011-06-301-7/+19
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jun 30 00:42:23 CEST 2011 on sn-devel-104
* s3-waf: lowercase libcli_lsa3 library name.Günther Deschner2011-06-291-10/+10
| | | | Guenther
* s3-waf: lowercase libsmb library name.Günther Deschner2011-06-291-25/+25
| | | | Guenther
* s3-waf: lowercase util_cmdline library name.Günther Deschner2011-06-291-3/+3
| | | | Guenther
* s3-waf: lowercase popt_samba3 library name.Günther Deschner2011-06-291-35/+35
| | | | Guenther
* Second part of fix for bug #8219 - SMB Panic from Windows 7 Client.Jeremy Allison2011-06-291-1/+1
| | | | | | | | | | | | Pass in the correct vector to the signing algorithm in an async response - we must start with vector[1] which has the SMB2_HDR_BODY length, not vector[0] which is the 4 byte packet length. Also note we're passing in 2 vectors not 3. Metze please review. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 29 20:09:21 CEST 2011 on sn-devel-104
* param: Merge param headers into lib/param/loadparm.hAndrew Bartlett2011-06-2918-80/+19
| | | | | | | This defines a common table format, so we can in future define a common table. Andrew Bartlett
* s3-param use C99 boolean for falseAndrew Bartlett2011-06-291-118/+118
|
* s3-param use C99 boolean for trueAndrew Bartlett2011-06-291-99/+99
|
* s3-param Convert sDefault to C99 initialisersAndrew Bartlett2011-06-291-142/+142
| | | | | | | | | The conversion has been verified with gdb (p sDefaults before and after) C99 booleans were helpfully provided by gdb, which was used to generate the C99 format, and so have been kept. Andrew Bartlett
* s3-param Remove unused FLAG_DOS_STRINGAndrew Bartlett2011-06-292-3/+2
|
* param: Merge struct parm_struct definitionsAndrew Bartlett2011-06-292-26/+28
| | | | | | | This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
* s3-param Use .offset rather than .ptr when defining parametersAndrew Bartlett2011-06-292-7/+6
| | | | | | | | | | | | | | | | | This change has a number of purposes: * It removes the fancy logic around pointers into sDefault for all per-share parameters. Instead, this is always expressed as an offset, rather than implicitly via PTR_DIFF macros. * It makes struct parm_struct almost identical to that as used in source4/param. This will very shortly allow the loadparm tables and most of the 'special' helper functions to be placed in common. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 05:50:46 CEST 2011 on sn-devel-104
* s3-param Remove .offset == 0 checks as 'valid' will have offset 0Andrew Bartlett2011-06-291-18/+4
| | | | | | | | | | | | | | The validity of an entry in the parm_table is by having a .p_class of P_LOCAL or P_GLOBAL rather than P_SEPARATOR. Termination of the table is by having a .label of non-NULL. This is possible because there are no longer any specially handled smb.conf options without a value in the struct loadparm_globals or struct loadparm_service. This is required because the first element in the structure will have .offset = 0, and skipping that would be unfortunate (particularly as it is the vital 'valid' variable). Andrew Bartlett
* s3-param use .offset rather than .ptr (renames)Andrew Bartlett2011-06-291-437/+441
| | | | | | | | | | This commit uses GLOBAL_VAR and LOCAL_VAR macros to hide the use of .ptr in the source3 loadparm code. This will then be changed to use offsetof() in a future commit, removing the #define offset ptr hack. Andrew Bartlett
* Fix bug #8219 - SMB Panic from Windows 7 ClientJeremy Allison2011-06-291-0/+8
| | | | | | | | | Caused by referencing an uninitialized variable in the duplicated struct smbd_smb2_request when sending a signed intermediate reply. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 29 04:37:28 CEST 2011 on sn-devel-104
* s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett2011-06-294-69/+70
| | | | | | | | | This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104
* s3-waf: remove s3-waf specific dynconfig.Günther Deschner2011-06-284-136/+32
| | | | | | | | | | | This merge finally makes --with-logfilebase=foo and friends work appropriately. Andrews, Andreas, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jun 28 17:54:42 CEST 2011 on sn-devel-104
* s3-waf: add some missing tdb dependencies.Günther Deschner2011-06-285-13/+13
| | | | Guenther
* s3-smbd Remove set but unused variablesAndrew Bartlett2011-06-281-9/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 28 10:43:26 CEST 2011 on sn-devel-104
* s3-param Rename struct service and struct globalsAndrew Bartlett2011-06-281-31/+31
| | | | | | | | The rename of struct service -> loadparm_service and struct globals -> loadparm_globals makes this match the names used in source4/param, and is one step towards a single loadparm definition. Andrew Bartlett
* s3-param Remove lp_parm_stringAndrew Bartlett2011-06-281-12/+0
| | | | | | | Samba 4.0 makes no attempt to provide a loader environment that will allow a module that is not rebuilt to operate. Andrew Bartlett
* s3-param make lp_passdb_backend() a normal lp_ function againAndrew Bartlett2011-06-281-42/+1
| | | | | | | It is now a large number of releases since the multiple passdb backend support was removed in 3.0.23. Andrew Bartlett
* s3: explicitly pass domain_sid to wbint_LookupRids() (bug #7841)Volker Lendecke2011-06-274-9/+11
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 27 18:21:30 CEST 2011 on sn-devel-104
* s3:g_lock: g_lock.tdb should not be executableChristian Ambach2011-06-271-1/+2
| | | | | | | | TDBs are not executable, so do not create the file with the execution bit set Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Jun 27 17:09:12 CEST 2011 on sn-devel-104
* s3: Fix winbindd_wins_bynameVolker Lendecke2011-06-251-2/+3
| | | | | | | Before the async change, the addresses were separated by spaces, not tabs Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jun 25 15:40:15 CEST 2011 on sn-devel-104
* s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids testMichael Adam2011-06-251-1/+1
| | | | | | | "/usr/bin/env pyhton" should always work as long as pyhton is in the path. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Jun 25 01:07:15 CEST 2011 on sn-devel-104
* s3:test: fix the smbclient_s3 test on older systemsMichael Adam2011-06-241-1/+1
| | | | mktemp requires precisely six Xs at the end of the template name
* s3:test: fix the net registry roundtrip test on older systemsMichael Adam2011-06-241-1/+1
| | | | mktemp requires exactly Xs at the end of the template name on SLES8
* s3:configure: remove unused --with-rootsbindir configure optionStefan Metzmacher2011-06-242-19/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 23:57:20 CEST 2011 on sn-devel-104
* s3-autconf Move nmbd socket directory to PREFIX/var/nmbdAndrew Bartlett2011-06-241-2/+2
| | | | | | | | | | | | | | | This is consistent with the new ncalrpc socket directory, also added in this release. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> The last 2 patches address bug #8230 (Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd). (cherry picked from commit 833fdb5b3693a7c9111bb98e5bc9a29d29be9d1d) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd socketsAndrew Bartlett2011-06-241-0/+2
| | | | | | (cherry picked from commit c558775713e505cfc1db5af417cc7b792dfc310e) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Fix an error message in smbclient symlinkVolker Lendecke2011-06-241-1/+1
|
* s3: Use reparse point style symlinksVolker Lendecke2011-06-241-18/+18
|
* s3: Remove a call to cli_errstrVolker Lendecke2011-06-241-2/+4
|
* s3: Add cli_symlinkVolker Lendecke2011-06-244-0/+242
|
* s3: Add SYMLINK_FLAG_RELATIVE defineVolker Lendecke2011-06-241-0/+2
|
* s3: Add symlink reparse point marshalling routinesVolker Lendecke2011-06-244-0/+185
|
* s3:vfs_commit: fix buildBjörn Jacke2011-06-241-0/+1
| | | | | | | | | fix build Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Jun 24 14:51:31 CEST 2011 on sn-devel-104
* s3:smb2_ioctl/FSCTL_PIPE_TRANSCEIVE: generate STATUS_BUFFER_OVERFLOW if ↵Stefan Metzmacher2011-06-242-0/+10
| | | | | | | | | | | needed (bug #8260) This should fix DCERPC responses with fragments larger than 1024 bytes. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 11:25:36 CEST 2011 on sn-devel-104
* s3-build Add dep on popt to fix FreeBSD buildAndrew Bartlett2011-06-241-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 24 06:32:59 CEST 2011 on sn-devel-104
* s3-selftest Remove unused gdb_backtraceAndrew Bartlett2011-06-241-87/+0
| | | | | | The version in selftest/ has more features and is the one used by 'make test'. Andrew Bartlett
* s3-build Require fully defined symbols in ALL libraries by defaultAndrew Bartlett2011-06-241-54/+29
| | | | | | | | | | | The only exception here is libsmbregistry, which needs further work to resolve the library loop caused by the registry based smb.conf loading. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 24 05:01:38 CEST 2011 on sn-devel-104
* s3-build: Remove SECRETS3 as a samba3core depAndrew Bartlett2011-06-241-5/+10
| | | | | | | | This resolves the the library loop between libsmbconf and SECRETS3/passdb, and allows the next commit to require fully defined symbols in public libraries. Andrew Bartlett