Stefan Metzmacher [Mon, 30 Aug 2010 08:12:41 +0000 (10:12 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:getrealfilename'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 07:29:46 +0000 (09:29 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:leases'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 07:01:21 +0000 (09:01 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:sharemodes'
metze
Kamen Mazdrashki [Sun, 29 Aug 2010 23:40:04 +0000 (02:40 +0300)]
s4-drs-test: Skip a check that may possibly fail
This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway
Kamen Mazdrashki [Sun, 29 Aug 2010 16:47:40 +0000 (19:47 +0300)]
s4-util: Print more informative error messages in 'net drs replicate'
Kamen Mazdrashki [Sun, 29 Aug 2010 14:17:47 +0000 (17:17 +0300)]
s4-drs-test: Use dns hostnames to run 'net drs replicate' command
Stefan Metzmacher [Wed, 25 Aug 2010 08:05:15 +0000 (10:05 +0200)]
librpc/ndr: correctly implement ndr_charset_length()
Before we ignored the charset type.
metze
Volker Lendecke [Sun, 29 Aug 2010 21:13:46 +0000 (23:13 +0200)]
s3: Fix an uninitialized variable
Volker Lendecke [Sun, 29 Aug 2010 21:13:34 +0000 (23:13 +0200)]
s3: Fix the build without cluster
Volker Lendecke [Sat, 28 Aug 2010 15:25:22 +0000 (17:25 +0200)]
s3: Remove smbd_server_fd()
This breaks the perfcol_onefs() build.
Tim, Steve, this use of smbd_server_fd is replacable by calls into
substitute.c. I don't have a onefs environment around to build a fix, so I've
decided to insert an #error, making it not compile. The fix should be pretty
obvious, you can get the socket data via "%I" and "%i" substitutions.
Volker Lendecke [Sat, 28 Aug 2010 15:21:07 +0000 (17:21 +0200)]
s3: Remove two uses of smbd_server_fd()
Actually, this is a bit cheating. But those two files depend on
smbd_server_conn anyway, it does not make things worse.
Volker Lendecke [Sat, 28 Aug 2010 15:19:42 +0000 (17:19 +0200)]
s3: Remove smbd_server_fd() from srv_netlog_nt
This is not actually used. If it was to be activated, we'd have to pass in a
pipes_struct.
Volker Lendecke [Sat, 28 Aug 2010 15:16:08 +0000 (17:16 +0200)]
s3: Remove smbd_server_fd() from smbd_register_ips
Volker Lendecke [Sat, 28 Aug 2010 15:12:43 +0000 (17:12 +0200)]
s3: Lift smbd_server_fd() from msg_release_ip()
Volker Lendecke [Sat, 28 Aug 2010 15:09:56 +0000 (17:09 +0200)]
s3: Lift smbd_server_fd() from release_ip()
Volker Lendecke [Sat, 28 Aug 2010 14:58:54 +0000 (16:58 +0200)]
s3: Remove a use of smbd_server_fd() in smbd main()
The effect this might have is that we set the socket options a bit later in
inetd mode.
Volker Lendecke [Sat, 28 Aug 2010 14:57:51 +0000 (16:57 +0200)]
s3: Pass sconn to check_reload
This removes a use of smbd_server_fd()
Volker Lendecke [Sat, 28 Aug 2010 14:56:47 +0000 (16:56 +0200)]
s3: Pass sconn instead of msg_ctx to housekeeping_fn
Volker Lendecke [Sat, 28 Aug 2010 14:33:00 +0000 (16:33 +0200)]
s3: Set the client_id in substitute.c once
This never changes during a client connection's life, so we can set it
once.
Volker Lendecke [Sat, 28 Aug 2010 14:19:31 +0000 (16:19 +0200)]
s3: Remove some uses of smbd_server_fd()
The change in behaviour is that we don't detect "socket option" changes anymore
when printers are added or removed.
Volker Lendecke [Sat, 28 Aug 2010 14:18:07 +0000 (16:18 +0200)]
s3: Remove a use of smbd_server_fd
This disables different socket options per user for ntlmssp authentiation, a
change in behaviour which is exotic enough I believe.
Kamen Mazdrashki [Sat, 28 Aug 2010 17:02:13 +0000 (20:02 +0300)]
s4-kcc: Notify dreplsrv that Topology has changed
Kamen Mazdrashki [Sat, 28 Aug 2010 17:00:39 +0000 (20:00 +0300)]
s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update internal cache
This IRPC calls is to be used whenever repsFrom/repsTo are
changed by administrative tool or KCC (i.e. Topology changes).
At present, only KCC may change topology.
Kamen Mazdrashki [Fri, 27 Aug 2010 23:26:00 +0000 (02:26 +0300)]
s4-dreplsrv: Move partition cache update before scheduling another set of replications
Kamen Mazdrashki [Fri, 27 Aug 2010 22:30:09 +0000 (01:30 +0300)]
s4-testenv: Synchronize DCs after 'net vampire'
During 'net vampire', vampired DC adds information in its own
database, se we need to force replicate vampired_dc to the
first DC to be sure everything is in sync prior starting tests
Kamen Mazdrashki [Fri, 27 Aug 2010 14:25:56 +0000 (17:25 +0300)]
s4-kcc: Assert when unexpected repsFromToBlob version is passed
At present we only support v1 structures (Win2k3 and earlier),
so it is good to make it obvious.
In case we start supporting v2 we will be able to notice this
function should be refactored right away
Volker Lendecke [Sat, 28 Aug 2010 13:11:53 +0000 (15:11 +0200)]
s3: Remove an unused macro
Volker Lendecke [Sat, 28 Aug 2010 10:41:27 +0000 (12:41 +0200)]
s3: Remove some references to smbd_server_fd()
Volker Lendecke [Sat, 28 Aug 2010 12:15:31 +0000 (14:15 +0200)]
s3: Fix a (highly unlikly) memleak in set_local_machine_name()
Volker Lendecke [Sat, 28 Aug 2010 12:13:54 +0000 (14:13 +0200)]
s3: Fix some DEBUGs
Volker Lendecke [Sat, 28 Aug 2010 12:05:20 +0000 (14:05 +0200)]
s3: Remove smbd_server_fd() from set_local_machine_name()
Volker Lendecke [Sat, 28 Aug 2010 11:10:30 +0000 (13:10 +0200)]
s3: Fix a typo
Volker Lendecke [Sun, 27 Jun 2010 13:36:38 +0000 (15:36 +0200)]
s3: Remove the dependency of g_lock on procid_self
procid_self() references global vars, don't depend on them unnecessarily
Volker Lendecke [Sat, 21 Aug 2010 12:59:14 +0000 (14:59 +0200)]
s3: Remove smbd_server_conn() from check_unix_security
Volker Lendecke [Sat, 21 Aug 2010 12:57:16 +0000 (14:57 +0200)]
s3: Lift smbd_server_fd() from pass_check()
Volker Lendecke [Sat, 21 Aug 2010 12:52:16 +0000 (14:52 +0200)]
s3: Lift smbd_server_fd() from password_check()
Volker Lendecke [Sat, 21 Aug 2010 12:42:24 +0000 (14:42 +0200)]
s3: Fix some nonempty blank lines
Volker Lendecke [Sat, 28 Aug 2010 11:04:09 +0000 (13:04 +0200)]
s3: Fix smb_pam_passcheck
Stefan Metzmacher [Wed, 25 Aug 2010 09:12:16 +0000 (11:12 +0200)]
pidl:Samba4/NDR/Client: support argument based stubs for [in,out,string]
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:02:52 +0000 (11:02 +0200)]
pidl:NDR: [in,out,string] doesn't need to pointers
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:07:29 +0000 (11:07 +0200)]
pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffers
If the conversion from CH_UTF16 to CH_UNIX uses multi-byte characters
in CH_UNIX, we should not silently truncate the string, but return
an error.
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:13:08 +0000 (11:13 +0200)]
pidl:Samba4/NDR/Client: fix skip reason for unsized arrays
metze
Stefan Metzmacher [Sat, 28 Aug 2010 07:42:10 +0000 (09:42 +0200)]
selftest/Subunit.pm: fix perl warnings
Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136
metze
Volker Lendecke [Sat, 28 Aug 2010 10:54:22 +0000 (12:54 +0200)]
s3: Those functions are no macros anymore :-)
Stefan Metzmacher [Sat, 28 Aug 2010 06:38:48 +0000 (08:38 +0200)]
lib/util: remove implicit discard_const_p() from SAFE_FREE()
This should fix a lot of warnings on IRIX.
If callers know what they're doing they can use discard_const_p()
on their own.
metze
Stefan Metzmacher [Sat, 28 Aug 2010 06:27:08 +0000 (08:27 +0200)]
s3:smbd: s/sa_len/sa_socklen , because sa_len is a macro on IRIX
metze
Stefan Metzmacher [Sat, 28 Aug 2010 06:25:19 +0000 (08:25 +0200)]
Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen"
This reverts commit
3d4fb698660381e650d7caeb5b7cff12847c0fb8.
This was wrong... The problem was in the caller, sa_len is a macro on irix
metze
Jeremy Allison [Fri, 27 Aug 2010 22:25:04 +0000 (15:25 -0700)]
Fix bug #7653 - When SMB2 is on, Windows 7 clients can not connect as guest to a share.
Fix "security = share" with SMB2 by mapping internally
to "security = user" and "map to guest = Bad User".
Jeremy.
Volker Lendecke [Sat, 21 Aug 2010 12:41:01 +0000 (14:41 +0200)]
s3: Lift smbd_server_fd() from smb_pam_passcheck
Volker Lendecke [Sat, 21 Aug 2010 12:38:11 +0000 (14:38 +0200)]
s3: Lift smbd_server_fd() from smb_pam_start
smb_pam_passcheck() is the only caller that fills in NULL, all other callers
now properly fill rhost
Volker Lendecke [Sat, 21 Aug 2010 12:48:28 +0000 (14:48 +0200)]
s3: Pass "private_data" through string_combinations()
Matthias Dieter Wallnöfer [Fri, 27 Aug 2010 17:02:49 +0000 (19:02 +0200)]
s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"
Hopefully this fixes the build on Solaris 8.
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 20:48:27 +0000 (22:48 +0200)]
s4:torture/spoolss_access.c - fix discarded const warning
"discard_const_p" seems the most appropriate here.
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 20:43:05 +0000 (22:43 +0200)]
s4:torture/raw/notify.c - freeable stuff shouldn't be "const"
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 20:35:09 +0000 (22:35 +0200)]
s4:ntvfs/posix/pvfs_*.c - quiet Solaris warnings
Fix the function argument of "pvfs_xattr_ndr_load/save".
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 20:30:04 +0000 (22:30 +0200)]
s4:credentials_krb5.c - quiet a Solaris warning
Volker Lendecke [Fri, 27 Aug 2010 12:44:16 +0000 (14:44 +0200)]
s3: Cache results of finding printer names
With hundreds of printers or on a slow machine, this can become expensive.
Problem reported and patch sponsored by DESY, Hamburg (www.desy.de)
Stefan Metzmacher [Fri, 27 Aug 2010 09:42:05 +0000 (11:42 +0200)]
lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen
metze
Volker Lendecke [Wed, 18 Aug 2010 17:51:45 +0000 (19:51 +0200)]
s3: Pass rhost through to smb_pam_passchange
Sumit Bose [Fri, 27 Aug 2010 09:29:08 +0000 (11:29 +0200)]
s3-waf: build samldap passdb backend
Signed-off-by: Günther Deschner <gd@samba.org>
Nadezhda Ivanova [Fri, 27 Aug 2010 09:34:27 +0000 (12:34 +0300)]
s4-dsdb: Fixed a compiler warning.
Volker Lendecke [Fri, 27 Aug 2010 08:29:26 +0000 (10:29 +0200)]
s3: source/ is long gone :-)
Andrew Tridgell [Fri, 27 Aug 2010 01:38:46 +0000 (03:38 +0200)]
s4-pynet: pynet depends on pyrpc_util
Jelmer Vernooij [Fri, 27 Aug 2010 00:17:26 +0000 (02:17 +0200)]
pyrpc: Add py_check_dcerpc_type().
This function checks whether the type of a PyObject matches a
DCE/RPC Python type.
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
Jeremy Allison [Thu, 26 Aug 2010 23:46:45 +0000 (16:46 -0700)]
Fix bug #7651 - mknod and mkfifo fails with "No such file or directory"
Ensure we check the correct stat struct once we've created the
special fix. Thanks to izh1979@gmail.com for pointing out the
bug.
Jeremy.
Günther Deschner [Thu, 26 Aug 2010 21:25:00 +0000 (23:25 +0200)]
s3-proto: remove obsolete prototypes.
Guenther
Volker Lendecke [Thu, 26 Aug 2010 20:01:01 +0000 (22:01 +0200)]
s3: Fix typos
Volker Lendecke [Wed, 18 Aug 2010 17:57:21 +0000 (19:57 +0200)]
s3: Remove smbd_server_fd from expand_msdfs_target
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 18:08:15 +0000 (20:08 +0200)]
libcli/auth/ntlm_check.c - fix parameter indentation
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 18:07:53 +0000 (20:07 +0200)]
s4:ntlm/auth.c - add a whitespace in a debug output
Matthias Dieter Wallnöfer [Thu, 26 Aug 2010 16:37:00 +0000 (18:37 +0200)]
s4:dsdb_module_find_dsheuristics - free the "DN" also on other exit cases
Günther Deschner [Thu, 26 Aug 2010 13:49:17 +0000 (15:49 +0200)]
s3-selftest: do not remove nsswrapper environment when running smbtorture4.
Guenther
Pierre Carrier [Sun, 22 Aug 2010 23:53:40 +0000 (00:53 +0100)]
winbindd: Add the client status in the clients list output
Hello list,
Considered relevant by a customer.
As I suppose one doesn't send SIGUSR2 very often, I didn't bother adding another DEBUGLEVEL.
--
Pierre
Pierre Carrier [Sun, 22 Aug 2010 23:53:39 +0000 (00:53 +0100)]
winbindd: useless function
Hello list,
Seems simple enough for my first patch :)
--
Pierre
Nadezhda Ivanova [Thu, 26 Aug 2010 14:37:49 +0000 (17:37 +0300)]
s4-dsdb: Removed an unnecessary space in dsdb_module_find_dsheuristics()
Nadezhda Ivanova [Thu, 26 Aug 2010 14:18:40 +0000 (17:18 +0300)]
s4-dsdb: Added utility functions for retrieving dSHeuristics from the module stack
Also a function to check dsHeuristics value to determine of anonymous access should be blocked
Nadezhda Ivanova [Thu, 26 Aug 2010 14:08:01 +0000 (17:08 +0300)]
Added values for the flags in dSHeuristics
These specify the character position, while the character value of that character
controls behavior
Andrew Tridgell [Thu, 26 Aug 2010 07:50:13 +0000 (17:50 +1000)]
pidl-python: ensure we allocate ref ptrs before use
this fixes a crash on samba4.samr.python in the build farm
Andrew Tridgell [Thu, 26 Aug 2010 07:41:30 +0000 (17:41 +1000)]
s4-devel: added enumprivs developer script
this enumerates all LSA privileges on a server
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 26 Aug 2010 07:32:48 +0000 (17:32 +1000)]
s4-net: fixed docstring on spn command
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 26 Aug 2010 06:37:24 +0000 (16:37 +1000)]
s4-net: added "net rodc preload" command
this command will preload the credentials for an account from the full
domain controller
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 26 Aug 2010 04:35:30 +0000 (14:35 +1000)]
s4-drs: split out drs utility python functions
these will be re-used by other net commands
Andrew Tridgell [Wed, 25 Aug 2010 23:45:16 +0000 (09:45 +1000)]
s4-pyrpc: convert rpc_talloc.py test to unittest framework
This fits in better with our test framework
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Andreas Schneider [Thu, 26 Aug 2010 09:41:05 +0000 (11:41 +0200)]
s3-build: Don't paste the summary.
The buildfarm outputs the summary if it is available and use the exit
status of the filter or subunit formatter as exit code.
Stefan Metzmacher [Wed, 25 Aug 2010 08:07:54 +0000 (10:07 +0200)]
pidl:Samba3/ClientNDR: remove unused ParseOutputArgument function
metze
Jelmer Vernooij [Thu, 26 Aug 2010 01:50:08 +0000 (03:50 +0200)]
subunit: Make sure "]" in failure reason ends up on its own line, so the
next subunit parser in the line parses it correctly.
Jelmer Vernooij [Thu, 26 Aug 2010 01:49:17 +0000 (03:49 +0200)]
manpages: Avoid using Samba-Team specific DTD, which requires net access
or modification of /etc/catalogs.
Jelmer Vernooij [Thu, 26 Aug 2010 00:25:44 +0000 (02:25 +0200)]
subunithelper: Pass along lines as normal output when ignoring them for not containing commands.
Günther Deschner [Fri, 20 Aug 2010 10:15:13 +0000 (12:15 +0200)]
s3-build: only include rpc_misc.h where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 17:05:59 +0000 (19:05 +0200)]
s3-build: use talloc_dict.h only where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:59:23 +0000 (18:59 +0200)]
s3-build: use dbwrap.h only where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:45:36 +0000 (18:45 +0200)]
s3-build: only include krb5 environment variables where required.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:36:18 +0000 (18:36 +0200)]
s3-build: only include libnscd.h where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:34:01 +0000 (18:34 +0200)]
s3-build: include mangle.h only where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:26:17 +0000 (18:26 +0200)]
s3-dcerpc: only include rpc_dce.h where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:25:54 +0000 (18:25 +0200)]
s3-build: remove unrequired ntlmssp forward declaration.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:13:42 +0000 (18:13 +0200)]
s3-idmap: only include idmap headers where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 14:51:06 +0000 (16:51 +0200)]
s3-build: no point in including doserr.h, noone uses them.
Guenther
Günther Deschner [Wed, 18 Aug 2010 14:44:47 +0000 (16:44 +0200)]
s3-build: only include "fake_file.h" where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 13:22:09 +0000 (15:22 +0200)]
s3-nmbd: move nmbd proto out of main proto.h
Guenther