summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove an unused prototypeVolker Lendecke2010-11-041-17/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 4 17:44:09 UTC 2010 on sn-devel-104
* s3-waf: add check for httpConnect and httpConnectEncrypt.Günther Deschner2010-11-041-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Nov 4 14:10:40 UTC 2010 on sn-devel-104
* s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting ↵Michael Adam2010-11-032-0/+11
| | | | terminator
* s3:lib/util_str: add strlen_m_ext() that takes input and output charsetMichael Adam2010-11-032-13/+57
| | | | | | | The function calculates the number of units (8 or 16-bit, depending on the destination charset), that would be needed to convert the input string which is expected to be in in src_charset encoding to the dst_charset (which should be a unicode charset).
* s3:lib/util_str: clarify the comment header for strlen_m().Michael Adam2010-11-031-4/+6
|
* s3:lib/charcnv: clarify comments in next_codepoint_ext()Michael Adam2010-11-031-2/+2
| | | | | (giving the unicod U+<hexnumber> notation of the codepoints referred to in the comments)
* s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()Michael Adam2010-11-032-6/+6
|
* s3:lib/charcnv: reformat comments in next_codepoint_ext()Michael Adam2010-11-031-12/+18
|
* s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.Michael Adam2010-11-032-11/+34
| | | | | | | | | | next_codepoint() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_ext() function adds the encoding of the input string as a parameter. next_codepoint() now only calls next_codepoint_ext() with CH_UNIX als src_charset argument.
* s3: Align nttrans replies the same way Windows does itVolker Lendecke2010-11-031-1/+1
| | | | | | | | | | | | If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3 shows this difference in the querysecdesc nttrans reply. This patch is necessary to enable viewing previous versions via the shadow copy modules from Windows 2008. The other client versions seem not to care, but W2k8 does. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 17:04:28 UTC 2010 on sn-devel-104
* s3: Fix a getgrent crash with many groupsVolker Lendecke2010-11-031-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104
* s3: Add "net registry getvaluesraw"Volker Lendecke2010-11-021-0/+51
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 15:42:22 UTC 2010 on sn-devel-104
* s3: Do not connect to ctdb if it is blocked for some reasonVolker Lendecke2010-11-021-0/+58
|
* cluster_fatal() exit code should not indicate success.Martin Schwenke2010-11-021-1/+1
| | | | | | | | | | cluster_fatal() logs a fatal event and then exits with 0. This seems wrong. Sometimes command like "net" use this code and return incorrect empty output but then exit with 0. This simply changes the exit code to 1. Signed-off-by: Martin Schwenke <martin@meltin.net>
* s3: Fix a typo in a DEBUG msgVolker Lendecke2010-11-021-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 13:13:39 UTC 2010 on sn-devel-104
* s3-param Fix up lp_set_cmdline() not to re-store cmdline options on each reloadAndrew Bartlett2010-11-021-4/+9
| | | | | | | | | | | The previous code was buggy in that it did not honour the 'store' argument to lp_set_cmdline_helper(), and would use the stored parameter after freeing it when handling overwritten values. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 05:19:17 UTC 2010 on sn-devel-104
* s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient contextAndrew Bartlett2010-11-023-17/+10
| | | | | | | | Following the review of this patch series by Derrell Lipman, remove the seperate storage of the debug_stderr variable from the libsmbclient SMBC_internal_data context. Andrew Bartlett
* s3-libsmbclient Add comments to describe the behaviour of DEBUG()Andrew Bartlett2010-11-024-5/+21
| | | | | | | | | | | | | This isn't quite what you would expect from this interface, but actually avoids some really nasty situations if you ever have more than one libsmbclient context in a process. In the real world, if you have asked for DEBUG() to stderr in one part of the code, you will want it globally, even in a different thread (which in the past would have rest everything to stdout again, at least while starting up). Andrew Bartlett
* debug Explain the behaviour of setup_logging() more clearlyAndrew Bartlett2010-11-022-2/+11
|
* s3-debug Clarify the handling of invalid state.fd values in debug.cAndrew Bartlett2010-11-021-9/+10
| | | | | | | This makes it clear that -1 and 0 are both invalid file descriptor values for DEBUG output. Andrew Bartlett
* s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt callsAndrew Bartlett2010-11-026-10/+11
| | | | | | | | | | The problem here is that we cannot run lp_set_cmdline() (directly or indirectly via the popt helpers) until load_case_tables() has been run. However, load_case_tables does not have auto-initialisation, so we must init it once, and once only. Andrew Bartlett
* s3-debug Convert from x_file to real file descriptors.Andrew Bartlett2010-11-022-49/+31
| | | | | | | | | | X_FILE does not gain us anything in this use case, we want our log messages on disk, not in a buffer, and we don't gain anything from the X_FILE api. I discussed the matter with tridge, who feels that to use FILE in the first place was a mistake, and that X_FILE isn't any better, but was a stop-gap to avoid issues on solaris. Andrew Bartlett
* s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett2010-11-026-6/+8
| | | | | | | | All future assignments of the debug level should go via lp_set_cmdline("log level", "x") because this will ensure the value is not overwritten in an smb.conf load. Andrew Bartlett
* s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett2010-11-0216-73/+15
| | | | | | | | | By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-0239-159/+159
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* s3:winbindd: fix query_user for users with NULL full name.Michael Adam2010-11-011-1/+3
| | | | | | | | | Not sure whether query_user ever sends a NULL full name. Query Display Info does, and it does not harm to add the check here, too. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Nov 1 13:03:33 UTC 2010 on sn-devel-104
* s3:winbindd: fix query_user_list for users with NULL full_nameMichael Adam2010-11-011-1/+3
|
* idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID valuesKamen Mazdrashki2010-10-311-8/+8
| | | | | Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes.
* zlib: use the real library name 'z' instead of ZLIBAndrew Tridgell2010-10-301-6/+4
| | | | | using subsystem aliases has a lot of potential for confusion. Better to use the real name of the library.
* Fix bug #7700 - Improvement of return code of smbclientJeremy Allison2010-10-2911-136/+229
| | | | | | | | | | Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
* s3-waf: add vfs_time_audit to the build.Günther Deschner2010-10-282-1/+10
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 28 15:14:27 UTC 2010 on sn-devel-104
* s3-waf: use LZXPRESS subsystem.Günther Deschner2010-10-281-2/+2
| | | | Guenther
* s3-selftest: add vfs_modulesdir variable for both test systems.Günther Deschner2010-10-281-1/+2
| | | | Guenther
* s3: Streamline regdb_normalize_keynames_fn a bitVolker Lendecke2010-10-281-4/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 28 14:32:11 UTC 2010 on sn-devel-104
* s3: Fix the registry upgrade codeVolker Lendecke2010-10-281-1/+1
| | | | | The strings have the 0-terminator as part of the keys. The rest of the registry code would not cope well without.
* s3: FILE_WRITE_DATA & friends have gone from includes.hVolker Lendecke2010-10-281-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 28 13:37:06 UTC 2010 on sn-devel-104
* s3: Add a vfs_time_audit moduleAbhidnya P Chirmule2010-10-283-0/+2313
| | | | | | | This warns if a file system is slow Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 28 08:56:44 UTC 2010 on sn-devel-104
* s3: Fix bug 7759Volodymyr Khomenko2010-10-281-16/+18
|
* Fix for bug 7755 - SMBC_getdents_ctx() ignores struct alignment rulesJeremy Allison2010-10-271-6/+13
| | | | | | | Based on a fix from Sven Neumann <s.neumann@raumfeld.com>. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 27 22:02:11 UTC 2010 on sn-devel-104
* Fix bug 7754 - samba uses index(), marked as legacy.Sven Neumann2010-10-271-3/+3
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 27 19:25:16 UTC 2010 on sn-devel-104
* s3: Make gpfs winattrs work againVolker Lendecke2010-10-271-7/+31
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 27 15:32:00 UTC 2010 on sn-devel-104
* s3-smbd Remove manual override of DEBUGELVEL during exitAndrew Bartlett2010-10-271-5/+0
| | | | | | | | This code, originally added at the dawn of time (the import into CVS) does not seem to be required any more, as all the DEBUG() statements in the intermediate functions are at level 0. Andrew Bartlett
* s3-waf: fixed the s3 waf buildAndrew Tridgell2010-10-271-9/+8
| | | | | | | | Jelmer, this undoes some of your library renaming, as it conflicted with existing binary and subsystem names Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 27 00:22:34 UTC 2010 on sn-devel-104
* waf: Don't auto-lowercase library names.Jelmer Vernooij2010-10-261-1/+1
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-262-19/+19
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s3: Fix some DEBUG msgsVolker Lendecke2010-10-261-5/+5
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Oct 26 15:20:01 UTC 2010 on sn-devel-104
* s3: Pass tdb_flags to ctdbd when attaching to a dbVolker Lendecke2010-10-261-1/+1
| | | | This is required to make ctdb create databases with INCOMPATIBLE_HASH
* s3-waf: implement LIBMSRPC_GEN as tiny wrapper of 'NDR_STANDARD NDR_DSSETUP ↵Stefan Metzmacher2010-10-251-23/+2
| | | | | | | | | NDR_SPOOLSS' metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 25 08:58:49 UTC 2010 on sn-devel-104
* s3-waf: use NDR_NETLOGON for ntlm_authStefan Metzmacher2010-10-251-3/+2
| | | | metze