[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2299-ga159ec5
Günther Deschner
gd at samba.org
Tue May 6 07:48:40 GMT 2008
The branch, v3-3-test has been updated
via a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1 (commit)
from b261f063125f8454d8f4e8f6b6f8aa5bc393ea34 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1
Author: Günther Deschner <gd at samba.org>
Date: Tue May 6 09:48:16 2008 +0200
build: fix the build w/o ldap.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/cliconnect.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c
index 671f0e7..751f10b 100644
--- a/source/libsmb/cliconnect.c
+++ b/source/libsmb/cliconnect.c
@@ -928,7 +928,9 @@ ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
ntlmssp:
account = talloc_strdup(talloc_tos(), user);
- ADS_ERROR_HAVE_NO_MEMORY(account);
+ if (!account) {
+ return ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
+ }
/* when falling back to ntlmssp while authenticating with a machine
* account strip off the realm - gd */
--
Samba Shared Repository
More information about the samba-cvs
mailing list