summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-winbind: always use samlogon cache for wbinfo -r, even when caching isGünther Deschner2011-06-081-4/+0
| | | | | | | | | disabled. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 17:45:56 CEST 2011 on sn-devel-104
* s3-winbindd: make sure we obey the -n switch also for samlogon cache access.Günther Deschner2011-06-085-3/+17
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 14:44:31 CEST 2011 on sn-devel-104
* s3-spoolss: fix -Wunused-but-set-variable build warning in ↵Günther Deschner2011-06-081-0/+4
| | | | | | | | _spoolss_EnumPrintProcDataTypes(). We were in fact ignoring the error code here. Guenther
* Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-081-17/+43
| | | | | | | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new file make sure we must have a valid stat struct before making the inheritance calls (as they may look at it), and if we make changes we must have a valid stat struct after them. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 8 03:07:04 CEST 2011 on sn-devel-104
* Part 2 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-071-0/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new file make sure we also change the returned stat struct to have the correct uid.
* Part 1 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-071-0/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new directory make sure we also change the returned stat struct to have the correct uid.
* Fix re-opened bug 8083 - "inherit owner = yes" doesn't interact correctly ↵Jeremy Allison2011-06-071-4/+17
| | | | | | | | | | | | | | | with vfs_acl_xattr or vfs_acl_tdb module. Fix incorrect interaction when all of "inherit permissions = yes" "inherit acls = yes" "inherit owner = yes" are set. Found by Björn Jacke. Thanks Björn ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jun 7 22:32:18 CEST 2011 on sn-devel-104
* s3:libsmb/cli_np_tstream: use larger buffers to avoid a bug NT4 servers (bug ↵Stefan Metzmacher2011-06-071-2/+17
| | | | | | | | | | | | | | | | | | | #8195) NT4 servers return NT_STATUS_PIPE_BUSY if we try a SMBtrans and the SMBwriteX before hasn't transmited the whole DCERPC fragment. W2K and above is happy with that. As a result we try to match the behavior of Windows and older Samba clients, they use write and read buffers of 4280 bytes instead of 1024 bytes. On Windows only the SMBtrans based read uses 1024 (while we also use 4280 there). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 7 20:25:32 CEST 2011 on sn-devel-104
* s3:idmap_autorid: fail initialization if the domain is not "*"Michael Adam2011-06-071-0/+8
| | | | | | | autorid can only be used as a backend for the default idmap configuration. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Jun 7 19:13:18 CEST 2011 on sn-devel-104
* s3:idmap_autorid: use "idmap config <DOMAIN> : rangesize" instead of ↵Michael Adam2011-06-071-1/+9
| | | | "autorid:rangesize"
* s3:idmap_autorid: add a talloc_stackframe() to idmap_autorid_initialize()Michael Adam2011-06-071-5/+6
|
* s3-auth Use loadparm_init_s3() to get an lp_ctx for auth_samba4Andrew Bartlett2011-06-071-15/+2
| | | | | | This avoids loading the smb.conf twice. Andrew Bartlett
* s3: Remove unused variablesVolker Lendecke2011-06-071-2/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jun 7 00:42:51 CEST 2011 on sn-devel-104
* s3-waf: Fix pthreadpool build which needs librt now.Andreas Schneider2011-06-061-1/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Jun 6 23:31:09 CEST 2011 on sn-devel-104
* s3: Remove a pointless if-statementVolker Lendecke2011-06-061-3/+1
| | | | | | | We are here only if we have more than one num_pending Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 6 18:21:17 CEST 2011 on sn-devel-104
* s3: Fix two debug messagesVolker Lendecke2011-06-061-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 6 14:11:06 CEST 2011 on sn-devel-104
* s3/pthreadpool: replace bad portable gettimeofday by clock_gettimeBjörn Jacke2011-06-061-4/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett2011-06-061-0/+26
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
* s3-passdb use new loadparm_init_s3 rather than reloading the smb.confAndrew Bartlett2011-06-061-14/+2
|
* lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett2011-06-066-47/+7
| | | | | | | | | | This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
* s3-lib Remove unused lib_path()Andrew Bartlett2011-06-062-14/+0
|
* s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett2011-06-064-4/+77
| | | | | | | | In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
* s3-param always allow the realm parameterAndrew Bartlett2011-06-061-2/+0
|
* s3: Make use of name_resolve_bcast in nmblookupVolker Lendecke2011-06-051-21/+3
|
* s3: Make name_resolve_bcast do parallel lookups to all interfacesVolker Lendecke2011-06-051-21/+19
|
* s3: Add name_queries_send/recvVolker Lendecke2011-06-051-0/+231
|
* s3: Fix a valgrind errorVolker Lendecke2011-06-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For me this fixes ==1950== Invalid read of size 4 ==1950== at 0x81EBED5: GUID_equal (uuid.c:239) ==1950== by 0x81E51AB: ndr_syntax_id_equal (ndr_misc.c:35) ==1950== by 0x82EB0D1: get_iface_from_syntax (rpc_common.c:160) ==1950== by 0x82EB25E: get_pipe_name_from_syntax (rpc_common.c:179) ==1950== by 0x8509E4F: close_policy_by_pipe (rpc_handles.c:322) ==1950== by 0x8507941: close_internal_rpc_pipe_hnd (rpc_ncacn_np.c:109) ==1950== by 0x468270: _talloc_free_internal (talloc.c:826) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x80E6487: sam_trusted_domains (winbindd_samr.c:406) ==1950== Address 0x687ea4 is 20 bytes inside a block of size 40 free'd ==1950== at 0x58CDC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-x86-freebsd.so) ==1950== by 0x8507812: free_pipe_rpc_context_internal (rpc_ncacn_np.c:74) ==1950== by 0x8507936: close_internal_rpc_pipe_hnd (rpc_ncacn_np.c:106) ==1950== by 0x468270: _talloc_free_internal (talloc.c:826) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x80E6487: sam_trusted_domains (winbindd_samr.c:406) ==1950== by 0x80C2F85: trusted_domains (winbindd_cache.c:2820) ==1950== by 0x80D5188: winbindd_dual_list_trusted_domains (winbindd_misc.c:162) ==1950== by 0x80E987F: wb_child_request_trigger (winbindd_dual.c:437) ==1950== Andreas, Guenther, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 5 13:19:39 CEST 2011 on sn-devel-104
* s3:winbind: Convert WINBINDD_WINS_BYIP to the async APIVolker Lendecke2011-06-056-73/+145
|
* s3: Fix the build on FreeBSD 8Volker Lendecke2011-06-041-0/+5
| | | | | This is probably not the last word on gss_mech_krb5, but for now it fixes the build on FreeBSD
* Add the same fix to the S3 event backend as the previous commit added to the ↵Jeremy Allison2011-06-041-1/+14
| | | | | | | | | tevent poll backend. Metze please check ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jun 4 00:27:37 CEST 2011 on sn-devel-104
* In samba_version.m4 the test to get the version now returns severalHerb Lewis2011-06-021-1/+1
| | | | | | | | lines instead of the one we really wanted which causes some spurious output when configure tries to print the samba version when it starts running. This is only a cosmetic problem but still looks ugly. Signed-off-by: Jeremy Allison <jra@samba.org>
* Remove another PATH_MAX.Jeremy Allison2011-06-021-12/+27
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 02:51:06 CEST 2011 on sn-devel-104
* Fix const warnings.Jeremy Allison2011-06-021-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 01:02:53 CEST 2011 on sn-devel-104
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* release_ip() is only used with CLUSTER_SUPPORT.Jeremy Allison2011-06-011-1/+1
|
* Fix bug where format arguments were reversed. Please compile with -Wall !Jeremy Allison2011-06-011-2/+2
|
* Move fd_close on error path to be identical to all other error paths.Jeremy Allison2011-06-011-2/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 22:30:03 CEST 2011 on sn-devel-104
* TALLOC_FREE already checks for null.Jeremy Allison2011-06-011-3/+1
|
* Fix bug #8175 - smbd deadlock.Jeremy Allison2011-06-011-27/+71
| | | | | | | | Force the open operation (which is the expensive one anyway) to acquire and release locks in a way compatible with the more common do_lock check. Jeremy.
* Revert "s3: Mark sockets in error state writable"Volker Lendecke2011-06-011-23/+0
| | | | | | | This reverts commit 5f6f71956460d6840c1433b59e20555268b622ac. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jun 1 14:56:25 CEST 2011 on sn-devel-104
* s3-epmapper: Register ports on IPv4 too.Andreas Schneider2011-06-012-2/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jun 1 13:14:53 CEST 2011 on sn-devel-104
* s3-rpc_server: Remove unused variable pipes_open.Andreas Schneider2011-06-011-4/+2
|
* s3-rpc_server: Remove syntax from pipes_struct.Andreas Schneider2011-06-013-3/+0
|
* s3-rpc_server: Fixed debug messages of srv_pipe_hnd.Andreas Schneider2011-06-011-5/+5
|
* s3-rpc_server: Fixed debug messages for rpc_handles.Andreas Schneider2011-06-011-6/+7
|
* s3-rpc_server: Fix debug messages.Andreas Schneider2011-06-011-46/+20
|
* s3-rpc_server: Don't segfault if there are not handles to free.Andreas Schneider2011-06-011-0/+4
|
* s3-rpc_server: Remove guessing of the syntax id.Andreas Schneider2011-06-015-51/+11
| | | | | This is only a wild guess. We don't know to which rpc service the client wants to talk until we read the the rpc bind packet.
* s3-rpc_server: Use the correct syntax id for debugging.Andreas Schneider2011-06-011-8/+11
|