summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-rpc_server: remove two uneeded include registry/reg_parse_prs.hGünther Deschner2011-03-242-2/+0
| | | | Guenther
* s3-ldapsam: fix ldapsam_create_user() with existing posix accounts.Günther Deschner2011-03-241-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
* s3-netapi: use cli_get_session_key() in netapi.Günther Deschner2011-03-242-6/+53
| | | | Guenther
* Fix bug 8021 - Incorrect string termination in volume/volume_name for ↵Volodymyr Khomenko2011-03-241-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
* Fix is_myname_or_ipaddr() to be robust against strange DNS setups.Jeremy Allison2011-03-241-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.
* s3-epmapper: fix vars init and return errorsSimo Sorce2011-03-241-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
* s3-epmapper: Fix allocation of data on the wrong contextSimo Sorce2011-03-241-1/+1
| | | | | p->mem_ctx is the short-lived per request context, while this data is long lived, allocate on p instead.
* s3-epmapper: Make sure we work on a description duplicate.Andreas Schneider2011-03-241-1/+5
|
* s3-epmapper: Refactor the cleanup of endpoints.Andreas Schneider2011-03-241-11/+11
|
* s3-epmapper: Use strcmp instead of strequal and check IPv6.Andreas Schneider2011-03-241-1/+2
|
* s3-epmapper: Increase debug levels.Andreas Schneider2011-03-241-8/+8
|
* s3: Fix some errno assignments in SMBC_opendir_ctxVolker Lendecke2011-03-241-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
* s3: Fix Coverity ID 2325: RESOURCE_LEAKVolker Lendecke2011-03-241-0/+4
|
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-2422-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
* s3-prototypes: remove protos of some dead functions.Günther Deschner2011-03-247-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
* librpc: bring more librpc prototypes in common.Günther Deschner2011-03-231-20/+0
| | | | Guenther
* s3-rpc_client: actually call lsa_open_policy2() in rpccli_lsa_open_policy2().Günther Deschner2011-03-231-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
* s3-smbta-util: fix some buildwarnings.Günther Deschner2011-03-231-2/+2
| | | | Guenther
* s3-globals: silence build warning in smbd_messaging_context().Günther Deschner2011-03-231-0/+1
| | | | Guenther
* s3-proto: remove some duplicate prototypes.Günther Deschner2011-03-231-11/+0
| | | | Guenther
* s3-includes: remove unused cmdline_lp_ctx.Günther Deschner2011-03-231-3/+0
| | | | Guenther
* s3-epmapper: Log error if we can't register the endpoint.Andreas Schneider2011-03-231-2/+3
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 23 18:06:54 CET 2011 on sn-devel-104
* s3-epmapper: Setup epm in smbd to forward np requests.Andreas Schneider2011-03-231-0/+4
|
* s3-epmapper: Remove unregister on shutdown.Andreas Schneider2011-03-231-313/+13
| | | | This is done automatically now.
* s3-epmd: Cleanup endpoints on service pipe disconnect.Andreas Schneider2011-03-231-1/+1
|
* s3-epmapper: Added function to delete endpoint entries.Andreas Schneider2011-03-233-0/+57
|
* s3-rpc_server: Added disconnect callback function.Andreas Schneider2011-03-234-15/+43
|
* s3-rpc_server: Rename req to subreq.Andreas Schneider2011-03-231-14/+14
|
* s3-rpc_server: Implement an endpoint monitor loop.Andreas Schneider2011-03-232-2/+114
|
* s3-rpc_server: Added a memory context to the ep regsiter state.Andreas Schneider2011-03-231-5/+17
|
* s3-librpc: Leave the epm registration connection open.Andreas Schneider2011-03-233-23/+77
|
* s3-epmd: Cleanup endpoint mapper correctly.Andreas Schneider2011-03-231-1/+15
|
* s3-epmapper: Shutdown the embedded epmapper cleanly.Andreas Schneider2011-03-231-1/+9
|
* s3-epmapper: Added a cleanup function.Andreas Schneider2011-03-232-0/+45
|
* s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc.Andreas Schneider2011-03-232-4/+1
|
* s3-rpc_server: Rename system_user to ncalrpc_as_system.Andreas Schneider2011-03-233-4/+4
|
* s3: Fix a shadowed declaration warningVolker Lendecke2011-03-231-3/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 17:19:01 CET 2011 on sn-devel-104
* s3: Include prctl where it is actually usedVolker Lendecke2011-03-231-0/+4
|
* s3: Attempt to fix the build on FreeBSDVolker Lendecke2011-03-231-0/+4
|
* s3: Fix Coverity ID 2201, NULL_RETURNSVolker Lendecke2011-03-231-0/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 13:06:20 CET 2011 on sn-devel-104
* s3: Fix Coverity ID 2202, NULL_RETURNSVolker Lendecke2011-03-231-0/+3
|
* s3: Fix Coverity ID 2203, NULL_RETURNSVolker Lendecke2011-03-231-0/+4
|
* s3: Fix a (invalid) uninitialized variable warningVolker Lendecke2011-03-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 11:13:14 CET 2011 on sn-devel-104
* lib/util: Merge basic string length and comparison functionsAndrew Bartlett2011-03-232-293/+1
| | | | | | | | | | These functions now use the codepoints for more accurate string handling and now form common code. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 08:21:54 CET 2011 on sn-devel-104
* s3-lib prepare Samba3 to use common codepoint based string functionsAndrew Bartlett2011-03-231-108/+82
| | | | | | | This patch changes the source3 util_str.c functions so that the next patch just contains the move into common code, without code changes. Andrew Bartlett
* s3-safe_string: Add checked_strlcpy()Andrew Bartlett2011-03-232-1/+13
| | | | | | | | | | This is strlcpy, just with an extra check of the parameters with sizeof(), use only where that works. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 03:39:35 CET 2011 on sn-devel-104
* s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett2011-03-234-71/+41
| | | | | | | | Now that we don't need to pass in the function name and string, another level of indirection can be safely removed, and the operation of these macros made much clearer. Andrew Bartlett
* s3-lib Remove the clobber_region() code.Andrew Bartlett2011-03-2312-316/+87
| | | | | | | | | | | | | | | | | | This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett
* s3-config: say which config file we failed to openAndrew Tridgell2011-03-233-3/+3
| | | | saves having to strace it to work that out
* fault: fixed smb_panic() prototypesAndrew Tridgell2011-03-231-1/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104