Volker Lendecke
fa47dbb57a
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"
...
This reverts commit f1c889a4e61d6d751cbabd8014b4345b8051b97c.
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 dff03b61fd5d923562711b38cc7dbe996dc07283.
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 1fbeae41655b8305834f2149b1268077eba8633d.
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
Volker Lendecke
7fe66e06c4
libcli/security: Convert some strtol calls to strtoul
...
This tightens the dom_sid_parse syntax check a bit: "--" would have been
allowed in sid string
2010-01-23 16:28:11 +01:00
Volker Lendecke
7c687665ea
libcli/security: Remove a call to strncasecmp
2010-01-23 16:28:11 +01:00
Volker Lendecke
a771c184b1
libreplace: Fix a C++ warning
2010-01-23 14:35:38 +01:00
Volker Lendecke
dbf9017a80
s3: Remove string_sid_talloc
...
All but one call were pointless, so I think this API should go
2010-01-23 14:35:37 +01:00
Volker Lendecke
2002b4e4c2
s3: Remove a call to string_sid_talloc
2010-01-23 14:35:37 +01:00
Volker Lendecke
c2c71b8e05
s3: Fix sending NULL sids to lookupsids3
2010-01-23 14:35:37 +01:00
Volker Lendecke
9fcbe3a65c
s3: Remove some pointless uses of string_sid_talloc
2010-01-23 14:35:37 +01:00
Volker Lendecke
3e1a1616ec
s3: Use global_sid_Builtin in net_groupmap_memberships
2010-01-23 14:35:37 +01:00
Volker Lendecke
8905b599b4
s3: Fix some nonempty blank lines
2010-01-23 14:35:37 +01:00
Simo Sorce
4c548048c5
s4:kdc Simplify header files
2010-01-22 11:16:24 -05:00
Volker Lendecke
9acbed13e8
s3: Fix some nonempty blank lines
2010-01-22 13:34:25 +01:00
Volker Lendecke
ee4a3606e6
s3: Fix a typo in a comment
2010-01-22 13:34:25 +01:00
Volker Lendecke
253465456a
s3:pdb_ldap: Fix large paged search.
...
Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359)
2010-01-21 15:33:42 +01:00
William Jojo
c531d00ab4
s3: Fix bug 7052: "DFS broken on AIX (maybe others)"
2010-01-21 14:21:26 +01:00