Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-25 | s3-string: removed the conv_silent global | Andrew Tridgell | 1 | -29/+17 | |
use convert_string_error() instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | s3-string: removed last use of conv_silent | Andrew Tridgell | 1 | -31/+11 | |
This replaces the push_ascii_nstring() implementation with a call to convert_string_error() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | s3-charcnv Add convert_string_error() | Andrew Bartlett | 2 | -18/+75 | |
This function returns errors rather than printing them. Andrew Bartlett | |||||
2011-03-25 | s3-includes: fixed CONST_DISCARD() to actually discard const | Andrew Tridgell | 1 | -1/+1 | |
a cast is not enough Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | unistr: moved some UCS2 macros into util_unistr | Andrew Tridgell | 1 | -0/+9 | |
we need to move towards eliminating smb_ucs2_t. This moves a couple of the related macros into the only file they are used in Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | libcli: created smb_constants.h | Andrew Tridgell | 1 | -15/+2 | |
this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS) | |||||
2011-03-25 | s3-libsmb: work our correct length for EA strings | Andrew Tridgell | 1 | -1/+1 | |
2011-03-25 | s3-string: sec_len==-1 support is no longer needed | Andrew Tridgell | 1 | -41/+20 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | s3-dfs: removed the last user of sec_len==-1 in pull_*_base_talloc() | Andrew Tridgell | 1 | -1/+2 | |
hopefully there aren't any others lurking in the code | |||||
2011-03-25 | s3-lib: make pull_ucs2_base_talloc static | Andrew Tridgell | 2 | -12/+6 | |
it is local to charcnv.c | |||||
2011-03-25 | lib: remove unused pieces of string_wrappers.h | Andrew Tridgell | 2 | -8/+8 | |
2011-03-25 | lib: move the string wrappers from source3/include to common lib/util | Andrew Tridgell | 1 | -105/+1 | |
this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | s3-string: moved fstring functions into their own file | Andrew Tridgell | 4 | -107/+133 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | s3:dbwrap_ctdb: fix non-locked fetch on persistent db's causing corruption | Michael Adam | 1 | -2/+34 | |
When doing a non-locking fetch on a record of a persistent db when no transaction is running, the old behaviour was to fetch locally and do a ctdb call when the record was not found in the local db. The call is useless for persistent dbs anyway since they are only written to using transactions and hence kept in sync, but it is also harmful, because a ctdb call will bump the record RSN when it does actually migrate the record from one node to another. Recently, ctdb has been changed to make all calls do a migration. This uncovered the client misbehaviour for persistent dbs, because now _each_ non-locking fetch will render the persistent db inconsistent: A subsequent transaction which touches the record in question will fail because the RSNs are out of sync. This patch fixes this old bug. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 25 01:26:32 CET 2011 on sn-devel-104 | |||||
2011-03-24 | s3-charcnv: remove unused labels. | Günther Deschner | 1 | -6/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 24 23:54:25 CET 2011 on sn-devel-104 | |||||
2011-03-24 | s3-rpc_server: remove two uneeded include registry/reg_parse_prs.h | Günther Deschner | 2 | -2/+0 | |
Guenther | |||||
2011-03-24 | s3-ldapsam: fix ldapsam_create_user() with existing posix accounts. | Günther Deschner | 1 | -1/+1 | |
We were not taking into account the existing posix attributes and thus failed while trying to add a 2nd uid attribute. Found by Sumit. Guenther | |||||
2011-03-24 | s3-netapi: use cli_get_session_key() in netapi. | Günther Deschner | 2 | -6/+53 | |
Guenther | |||||
2011-03-24 | Fix bug 8021 - Incorrect string termination in volume/volume_name for ↵ | Volodymyr Khomenko | 1 | -1/+1 | |
TRANS2-QUERY_FS_INFO/Info Volume. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 24 23:07:09 CET 2011 on sn-devel-104 | |||||
2011-03-24 | Fix is_myname_or_ipaddr() to be robust against strange DNS setups. | Jeremy Allison | 1 | -30/+56 | |
If IPv6 DNS names are turned on, but Samba isn't configured to listen on an IPv6 interface, then is_myname_or_ipaddr() can return false on a valid DNS name that it should detect is our own. If the IPv6 addr is returned by preference, then looking at the first addr only causes is_myname_or_ipaddr() to fail. We need to look at all the addresses returned by the DNS lookup and check all of them against our interface list. This is an order N^2 lookup, but there shouldn't be enough addresses to make this a practical problem. Jeremy. | |||||
2011-03-24 | s3-epmapper: fix vars init and return errors | Simo Sorce | 1 | -11/+18 | |
Properly initialize variables at each cycle. Convert to the right error when returning EPMAPPER ones. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 24 20:43:49 CET 2011 on sn-devel-104 | |||||
2011-03-24 | s3-epmapper: Fix allocation of data on the wrong context | Simo Sorce | 1 | -1/+1 | |
p->mem_ctx is the short-lived per request context, while this data is long lived, allocate on p instead. | |||||
2011-03-24 | s3-epmapper: Make sure we work on a description duplicate. | Andreas Schneider | 1 | -1/+5 | |
2011-03-24 | s3-epmapper: Refactor the cleanup of endpoints. | Andreas Schneider | 1 | -11/+11 | |
2011-03-24 | s3-epmapper: Use strcmp instead of strequal and check IPv6. | Andreas Schneider | 1 | -1/+2 | |
2011-03-24 | s3-epmapper: Increase debug levels. | Andreas Schneider | 1 | -8/+8 | |
2011-03-24 | s3: Fix some errno assignments in SMBC_opendir_ctx | Volker Lendecke | 1 | -13/+13 | |
Do the assignment as the last action to make sure it's not overwritten Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 24 17:31:57 CET 2011 on sn-devel-104 | |||||
2011-03-24 | s3: Fix Coverity ID 2325: RESOURCE_LEAK | Volker Lendecke | 1 | -0/+4 | |
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 22 | -241/+60 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2011-03-24 | s3-prototypes: remove protos of some dead functions. | Günther Deschner | 7 | -35/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 24 00:52:01 CET 2011 on sn-devel-104 | |||||
2011-03-23 | librpc: bring more librpc prototypes in common. | Günther Deschner | 1 | -20/+0 | |
Guenther | |||||
2011-03-23 | s3-rpc_client: actually call lsa_open_policy2() in rpccli_lsa_open_policy2(). | Günther Deschner | 1 | -6/+7 | |
Found by Sumit Bose <sbose@redhat.com>, thanks! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 23 20:12:38 CET 2011 on sn-devel-104 | |||||
2011-03-23 | s3-smbta-util: fix some buildwarnings. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2011-03-23 | s3-globals: silence build warning in smbd_messaging_context(). | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-23 | s3-proto: remove some duplicate prototypes. | Günther Deschner | 1 | -11/+0 | |
Guenther | |||||
2011-03-23 | s3-includes: remove unused cmdline_lp_ctx. | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2011-03-23 | s3-epmapper: Log error if we can't register the endpoint. | Andreas Schneider | 1 | -2/+3 | |
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 23 18:06:54 CET 2011 on sn-devel-104 | |||||
2011-03-23 | s3-epmapper: Setup epm in smbd to forward np requests. | Andreas Schneider | 1 | -0/+4 | |
2011-03-23 | s3-epmapper: Remove unregister on shutdown. | Andreas Schneider | 1 | -313/+13 | |
This is done automatically now. | |||||
2011-03-23 | s3-epmd: Cleanup endpoints on service pipe disconnect. | Andreas Schneider | 1 | -1/+1 | |
2011-03-23 | s3-epmapper: Added function to delete endpoint entries. | Andreas Schneider | 3 | -0/+57 | |
2011-03-23 | s3-rpc_server: Added disconnect callback function. | Andreas Schneider | 4 | -15/+43 | |
2011-03-23 | s3-rpc_server: Rename req to subreq. | Andreas Schneider | 1 | -14/+14 | |
2011-03-23 | s3-rpc_server: Implement an endpoint monitor loop. | Andreas Schneider | 2 | -2/+114 | |
2011-03-23 | s3-rpc_server: Added a memory context to the ep regsiter state. | Andreas Schneider | 1 | -5/+17 | |
2011-03-23 | s3-librpc: Leave the epm registration connection open. | Andreas Schneider | 3 | -23/+77 | |
2011-03-23 | s3-epmd: Cleanup endpoint mapper correctly. | Andreas Schneider | 1 | -1/+15 | |
2011-03-23 | s3-epmapper: Shutdown the embedded epmapper cleanly. | Andreas Schneider | 1 | -1/+9 | |
2011-03-23 | s3-epmapper: Added a cleanup function. | Andreas Schneider | 2 | -0/+45 | |
2011-03-23 | s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc. | Andreas Schneider | 2 | -4/+1 | |