summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove two uses of cli_errstrVolker Lendecke2011-07-031-4/+8
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 12:43:32 CEST 2011 on sn-devel-104
* s3: RAP errors are WERRORVolker Lendecke2011-07-031-39/+2
|
* s3: Remove some bogus error mappingsVolker Lendecke2011-07-031-6/+0
| | | | The old cli_session_request that used this is gone
* s3: Remove a use of cli_errstrVolker Lendecke2011-07-031-2/+3
| | | | All code above that might have failed sets result
* s3: Allow NULL for arg pwritten in cli_write_andxVolker Lendecke2011-07-031-1/+3
|
* S3: Fix some nonempty blank linesVolker Lendecke2011-07-033-31/+31
|
* s3: Read symlink information in smbclient "allinfo"Volker Lendecke2011-07-031-0/+17
|
* s3: Fix symlink_reparse_buffer_parseVolker Lendecke2011-07-031-0/+3
|
* s3: Add cli_readlinkVolker Lendecke2011-07-032-0/+186
|
* s3-build Prepare to require fully defined modulesAndrew Bartlett2011-07-033-12/+18
| | | | | | | | This specifies some more deps for our modules, and ensures that the subsystem that it links against is in fact a library, which will avoid issues with introducing duplicate symbols. Andrew Bartlett
* s3-param Remove #defines already in common loadparm.hAndrew Bartlett2011-07-021-12/+0
|
* s3-param Generate parameter tablesAndrew Bartlett2011-07-023-411/+55
|
* param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett2011-07-028-12/+10
| | | | | | | | | Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
* s3-param remove unused bIdmapReadOnlyAndrew Bartlett2011-07-021-2/+0
|
* s3-param Remove unused bUpdateEncryptAndrew Bartlett2011-07-021-2/+0
|
* s3-net: use printing_migrate library, and eliminate duplicate code.Günther Deschner2011-07-013-416/+8
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 1 17:57:09 CEST 2011 on sn-devel-104
* s3-printing: split out printing migration code into a smaller library.Günther Deschner2011-07-018-249/+327
| | | | Guenther
* s3:smbldap: make smbldap_connect_system self containedGregor Beck2011-07-011-6/+11
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 1 12:37:50 CEST 2011 on sn-devel-104
* s3:smbldap: add a destructor to smbldap_state, just in caseGregor Beck2011-07-011-0/+7
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbldap: let smbldap_free_struct do what it claims toGregor Beck2011-07-011-2/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbldap: free the idle event scheduled in smbldap_open in smbldap_closeGregor Beck2011-07-011-1/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbldap: use smbldap_state as memory context for idle eventGregor Beck2011-07-011-2/+2
| | | | | | | ensure the event is canceled if the smbldap_state gets freed this fixes a panic of winbindd if verify_idpool fails Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Part of fix for bug 8276 - FD_SET out of bounds access crash.Jeremy Allison2011-06-301-9/+18
| | | | | | | Ensure we never add fd's set to -1 to the pollfd set. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 30 21:15:25 CEST 2011 on sn-devel-104
* s3:build: add vfs_examples to the everything targetMichael Adam2011-06-301-1/+2
| | | | | | | So that one can not pass autobuild without keeping the vfs examples intact. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jun 30 16:52:48 CEST 2011 on sn-devel-104
* s3:build: add a vfs_examples target.Michael Adam2011-06-301-0/+11
|
* 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