Jeremy Allison
1e2e92f54d
Correct fix for unused variable return from ndr_decode. Use it :-).
...
Jeremy.
2010-01-25 17:38:55 -08:00
Jeremy Allison
2fff1e13f1
Revert "s3: remove unused Variable"
...
This reverts commit 9536d94d54
.
Bjorn, your change removed the ndr_decoding of the dos attribute.
Not a good idea :-).
Jeremy.
2010-01-25 17:06:54 -08:00
Björn Jacke
e87adf523b
Revert "libreplace: fix unused varibale warning on IRIX"
...
this one was broken
2010-01-26 01:16:37 +01:00
Björn Jacke
5439e1a03f
s3: fix detection and flags for using pthread
...
I hope this fixes the build on Tru64, IRIX and maybe bug #6983
2010-01-26 00:19:10 +01:00
Björn Jacke
60a3086d78
s3: remove unused variable
2010-01-26 00:19:10 +01:00
Björn Jacke
38be40f63c
s3:async_smb: remove unused variable
2010-01-26 00:19:10 +01:00
Björn Jacke
b6839e1bfd
libreplace: fix unused varibale warning on IRIX
2010-01-26 00:19:10 +01:00
Björn Jacke
9536d94d54
s3: remove unused Variable
...
Jeremy, please check!
2010-01-26 00:19:10 +01:00
Björn Jacke
55d448254a
s3:netapi: remove unused variable
2010-01-26 00:19:09 +01:00
Karolin Seeger
463aa06442
lib/popt: Fix typo in README.
...
Karolin
2010-01-25 19:54:24 +01:00
Karolin Seeger
a3420bf7a5
s3/docs: Fix typo.
...
Karolin
2010-01-25 19:53:42 +01:00
Karolin Seeger
9ce9fdd9f4
s3/registry: Fix typo in comment.
...
Karolin
2010-01-25 19:50:21 +01:00
Volker Lendecke
005bbd0826
Revert "libcli/security: Remove a call to strncasecmp"
...
This reverts commit 7c687665ea
.
2010-01-25 16:45:32 +01:00
Volker Lendecke
d86d5be636
Revert "libcli/security: Convert some strtol calls to strtoul"
...
This reverts commit 7fe66e06c4
.
2010-01-25 16:45:32 +01:00
Volker Lendecke
fa47dbb57a
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"
...
This reverts commit f1c889a4e6
.
2010-01-25 16:45:31 +01:00
Jelmer Vernooij
4291e28a93
s4-python: Fix formatting.
2010-01-25 15:18:02 +01:00
Jelmer Vernooij
0b7910b8bf
upgrade_from_s3: Remove unused imports.
2010-01-25 15:18:01 +01:00
Jelmer Vernooij
8562bbdce5
pyxattr: Move to the same directory as the xattr code.
2010-01-25 15:18:01 +01:00
Kai Blin
b35dcd7a18
s4 includes: Include system/locale.h to get access to <ctype.h>
2010-01-25 14:31:33 +01:00
Volker Lendecke
2024d4fb27
Revert "s3: Make string_to_sid a wrapper around dom_sid_parse"
...
This reverts commit dff03b61fd
.
2010-01-25 12:41:48 +01:00
Volker Lendecke
a53a8ec452
Revert "libcli/security: Prohibit SID formats like S-1-5-32-+545"
...
This reverts commit 1fbeae4165
.
Apparently this breaks the build of Samba4
2010-01-25 12:40:51 +01:00
Günther Deschner
b5d4726316
s4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT testsuite.
...
Guenther
2010-01-25 11:20:06 +01:00
Günther Deschner
e16e75a4f0
s4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.
...
Volker, please check, you know best how this interface is designed :-)
Guenther
2010-01-25 11:20:06 +01:00
Günther Deschner
5dfec4f36b
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.
...
Guenther
2010-01-25 11:20:06 +01:00
Günther Deschner
818fb00381
testprogs: print all driver info levels in spoolss testsuite.
...
Guenther
2010-01-25 11:20:06 +01:00
Volker Lendecke
4eb1523d87
s3-libsmbclient: Add smbc_setOptionUseCCache()
...
Can we enable this by default? This would be a change in behaviour, but this
feature is just too cool for everyone to catch up in the apps.
The patch would be
2010-01-24 20:32:17 +01:00
Volker Lendecke
dc1bcec73c
s3: Add --use-ccache to net
2010-01-24 20:32:17 +01:00
Volker Lendecke
aa837d4aee
s3: add libnetapi_set_use_ccache()
2010-01-24 20:32:17 +01:00
Volker Lendecke
bff48738a8
s3: Fix a bug in net's use of popt
...
In order to add --use-ccache to net, I added another "bool opt_ccache;" to
struct net_context. popt did not like this, it took a while to figure out why.
Popt has the lines
/* XXX Check alignment, may fail on funky platforms. */
if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1)))
return POPT_ERROR_NULLARG;
The "bool opt_ccache;" was not aligned anymore...
2010-01-24 20:32:17 +01:00
Volker Lendecke
b8996baba6
s3: Enable -C in rpcclient
2010-01-24 20:32:17 +01:00
Volker Lendecke
ca48d6ab77
s3: Add CLI_FULL_CONNECTION_USE_CCACHE
2010-01-24 20:32:17 +01:00
Volker Lendecke
d016bdb72c
s3: Use -C in smbclient
...
$ bin/wbinfo --ccache-save=w2k3ad\\vl%Password
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \>
$ bin/wbinfo --ccache-save=w2k3ad\\vl%WrongPassword
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
Anonymous login successful
Domain=[W2K3AD] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
tree connect failed: NT_STATUS_ACCESS_DENIED
$
2010-01-24 20:32:17 +01:00
Volker Lendecke
21ec6a6cbd
s3: Add -C (--use-ccache) to popt_common_credentials
2010-01-24 20:32:17 +01:00
Volker Lendecke
a03a83ad26
s3: Add ccache use to cli_session_setup_ntlmssp
2010-01-24 20:32:17 +01:00
Volker Lendecke
ff0274c519
s3: Add NTLMSSP_FEATURE_CCACHE
...
Uses the winbind ccache to do authentication if asked to do so
2010-01-24 20:32:17 +01:00
Volker Lendecke
e879b50b32
libwbclient: Actually implement wbcCredentialCache()
2010-01-24 20:32:16 +01:00
Volker Lendecke
6ba9bf004f
s3: Add the session key to the ccache_ntlm_auth response
2010-01-24 20:32:16 +01:00
Volker Lendecke
7d18d058a1
s3: Add wbinfo --ccache-save
...
With this command you can give winbind your password for later use by
the automatic ntlm_auth
2010-01-24 20:32:16 +01:00
Volker Lendecke
185815a647
s3: Remove some calls to memset -- reduces text size by some bytes for me
2010-01-24 14:52:33 +01:00
Volker Lendecke
96b12e0d59
libwbclient: Use winbindd_free_response()
2010-01-24 14:52:33 +01:00
Volker Lendecke
5a313731f3
libwbclient: Remove a pointless talloc_strdup
2010-01-24 14:52:33 +01:00
Endi S. Dewata
d69d07ce62
s4-provision: Added msDS-NcType into samba4Top object class
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23 22:41:28 +01:00
Endi S. Dewata
5cdd30011c
s4-provision: Fixed typos and redundant code
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23 22:41:10 +01:00
Endi S. Dewata
ce709389e6
s4-provision: Disable populating FDS during instance creation.
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23 22:40:51 +01:00
Volker Lendecke
756444566f
nsswitch: Move nss_err_str to its only caller
2010-01-23 19:14:50 +01:00
Volker Lendecke
c821be415b
nsswitch: Make some functions static
2010-01-23 19:14:50 +01:00
Volker Lendecke
dff03b61fd
s3: Make string_to_sid a wrapper around dom_sid_parse
2010-01-23 16:28:12 +01:00
Volker Lendecke
397a6faed9
s3: Add a little torture test for dom_sid_parse
2010-01-23 16:28:11 +01:00
Volker Lendecke
1fbeae4165
libcli/security: Prohibit SID formats like S-1-5-32-+545
2010-01-23 16:28:11 +01:00
Volker Lendecke
f1c889a4e6
libcli/security: Fix a valgrind error in dom_sid_parse
2010-01-23 16:28:11 +01:00