Jeremy Allison
82fdad8a4c
Trying to track down the SMB2 error. Add an invariant test.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104
2011-04-16 02:15:38 +02:00
Jeremy Allison
e49893c68e
Use handle based xattr set if available.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Apr 15 22:11:12 CEST 2011 on sn-devel-104
2011-04-15 22:11:12 +02:00
Jeremy Allison
525ccd589e
Ensure vfs_chown_fsp() is safe against races.
2011-04-15 12:21:39 -07:00
Günther Deschner
e4c4dcf102
s3-waf: only LIBNMB needs to linked against -lresolv.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 15 17:02:16 CEST 2011 on sn-devel-104
2011-04-15 17:02:16 +02:00
Matthieu Patou
85e8c86302
s4-dsdb: Add more information on why we don't check the SD control
...
Signed-off-by: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Fri Apr 15 16:16:27 CEST 2011 on sn-devel-104
2011-04-15 16:16:27 +02:00
Matthieu Patou
cf4a3081cb
s4-dsdb: If current attribute list is empty use the one from the request
...
This will avoid overwritting attribute list made by upper modules.
Signed-off-by: Nadezhda Ivanova <nivanova@samba.org>
2011-04-15 16:28:08 +03:00
Günther Deschner
0e18a59ed0
s3-build: fix the --with-profiling-data build on mac os x.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 15 13:33:43 CEST 2011 on sn-devel-104
2011-04-15 13:33:42 +02:00
Günther Deschner
6768b65123
s3-waf: try to fix the non-ldap-but-krb5 build.
...
Guenther
2011-04-15 12:37:55 +02:00
Volker Lendecke
53f50c2268
s3: Fix bug 8066, wrong output in smbget
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
2011-04-15 09:32:55 +02:00
Andrew Bartlett
9c2aa5b18d
s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.h
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104
2011-04-15 01:22:51 +02:00
Jeremy Allison
4389bf4bc9
Ensure change_dir_owner_to_parent() can't be raced.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 14 23:39:55 CEST 2011 on sn-devel-104
2011-04-14 23:39:55 +02:00
Jeremy Allison
182eea9ae2
Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr or vfs_acl_tdb module.
...
If "inherit owner = yes", pass in the directory owner and group
owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions,
and also as the owner and primary group of the new security descriptor
being applied to the object.
Jeremy.
2011-04-14 13:20:08 -07:00
Jeremy Allison
9c2ba9436d
Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()
...
Don't do the chown if the owner is already correct.
2011-04-14 12:49:58 -07:00
Volker Lendecke
d9c1d1f709
s3: Fix Coverity ID 2471: UNINIT
...
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
2011-04-14 16:22:58 +02:00
Volker Lendecke
8b5d163d89
s3: Fix smbd with the async echo responder
...
We need to read from the echo socket, pass the socket to read
from down to the read routines
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Apr 14 15:34:36 CEST 2011 on sn-devel-104
2011-04-14 15:34:36 +02:00
Günther Deschner
7ece43b15e
s3-build: make sure we pick up system tdb and talloc via #include.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2011-04-14 12:56:27 +02:00
Günther Deschner
daea6a4b8c
s3-includes: move readahead prototype to its only user.
...
Guenther
2011-04-14 12:12:47 +02:00
Volker Lendecke
15d6c70707
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Apr 14 11:55:56 CEST 2011 on sn-devel-104
2011-04-14 11:55:56 +02:00
Andrew Bartlett
32c12cc279
libcli/auth Fix compile on hosts without krb5
...
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 11:08:49 CEST 2011 on sn-devel-104
2011-04-14 11:08:49 +02:00
Andrew Bartlett
e1078b87de
lib/util Move alpha_strcpy() from s3 into common code
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
2011-04-14 09:21:59 +02:00
Andrew Bartlett
bbeba18b1c
s3-auth Rename smb_krb5_open_keytab to avoid a conflict with s3
...
The s3 function doesn't use the keytab_container concept.
Andrew Bartlett
2011-04-14 16:38:27 +10:00
Andrew Bartlett
4ba1375526
libcli/auth Move krb5 wrapper functions from s3 into common
...
This requires a small rework of the build system to ensure that the
correct #define statements are made in both the s3 and top level
builds. We now define the various HAVE_ macros in config.h at all
times, using heimdal_build/wscript_configure when that is in use.
Andrew Bartlett
2011-04-14 16:38:26 +10:00
Andrew Bartlett
3d7998bce1
s3-lib Remove very unused (#if 0) strncpyn
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 06:27:31 CEST 2011 on sn-devel-104
2011-04-14 06:27:31 +02:00
Andrew Bartlett
b1873be59b
s3-lib Remove unused string_append
2011-04-14 12:47:45 +10:00
Andrew Bartlett
72dcf6d47c
s3-lib Move unix_strlower and unix_strupper to their only users.
2011-04-14 12:42:52 +10:00
Andrew Bartlett
aad2c19da7
s3-lib Remove unused str_ascii_charnum()
2011-04-14 12:34:51 +10:00
Andrew Bartlett
9d62ee2a81
s3-lib Move strisnormal to it's only user in mangle_hash.c
2011-04-14 12:31:18 +10:00
Andrew Bartlett
35fca85660
libcli/ldap Re-add ldap_ndr.h as a public header
...
as noticed by Brad Hards
Andrew Bartlett
2011-04-14 12:22:59 +10:00
Christian Ambach
29c0c37691
s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego
...
I have seen domain controllers rejecting NTLMv2 blobs presented to
NetrLogonSamLogonEx with LOGON_FAILURE when the MsvAvNbComputerName
was a FQDN or an IP address
I have not seen this field in NTLMv2 blobs send by Windows clients
when extended security was not available, so omitting the field
makes Samba similar to Windows.
This prevents errors with some smbtorture testcases that disable
spnego and when a target name is specified that is not a valid
netbios name.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 02:19:08 CEST 2011 on sn-devel-104
2011-04-14 02:19:08 +02:00
Christian Ambach
96a49d23a4
libcli: allow exclusion of netbios name in NTLMV2 blob
...
when no hostname is given, leave away the MsvAvNbComputerName part
of the ntlmv2 blob
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-14 01:32:22 +02:00
Christian Ambach
36f7f985c1
s4/libcli: do not announce NT error code support when it is disabled
...
when the support of NT error codes has been disabled in the options of a
CLI connection, support for them should not be announced during
protocol negotiation
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-14 01:32:22 +02:00
Günther Deschner
165521e20d
s3: only include smb profiling where needed.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-14 01:31:39 +02:00
Günther Deschner
1b4d27d45a
s3-waf: add --with-profiling-data configure option.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
bae2ce8054
s3: fix the build of --with-profiling-data.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
321587e44a
s3-includes: only include acl prototypes when needed.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
c4331f6fcf
s3-includes: absolutely no need to globally include debugparse.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
b4e4b60719
s3-includes: include lib/util/debug.h headers in includes.h not smb.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
76d4ede6db
s3-includes: remove unused schema_types enum.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
e7821116d1
s3-includes: move struct pipe_open_rec to srvsvc rpc server.
...
Guenther
2011-04-14 00:47:57 +02:00
Jeremy Allison
a21be2c3c8
Fix WAF build for sids2xids.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
2011-04-14 00:33:53 +02:00
Volker Lendecke
845d4d43c7
s3: Add a test for sid2xids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
32bd64359c
s3: Add some debug to winbindd_sids_to_xids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
ddfeccc6e4
s3: Use wbcSidsToUnixIds in create_local_token
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
b8dc235b08
nsswitch: Add wbinfo --sids-to-unix-ids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
a93c49d7e6
libwbclient: Add wbcSidsToUnixIds
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
44f7fc4fdf
s3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipe
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
a671885f49
s3: Add wbint_Sids2UnixIDs idl & implementation
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
80f873853f
s3: Make idmap_find_domain public
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
74ea52e351
s3: Add is_domain_online
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
69ba25948a
nsswitch: wbinfo --lookup-sids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00