[SCM] Samba Shared Repository - branch master updated -
c7dcf7da55224bc2b704d8c86ba4867c251e9eac
Günther Deschner
gd at samba.org
Wed Oct 29 20:08:00 GMT 2008
The branch, master has been updated
via c7dcf7da55224bc2b704d8c86ba4867c251e9eac (commit)
from d1f980444d22e41659af0d3681f81162b914aa61 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c7dcf7da55224bc2b704d8c86ba4867c251e9eac
Author: Günther Deschner <gd at samba.org>
Date: Wed Oct 29 14:49:41 2008 +0100
s4-srvsvc-server: fix obvious level mismatch in dcesrv_srvsvc_NetShareAdd().
Guenther
-----------------------------------------------------------------------
Summary of changes:
source4/rpc_server/srvsvc/dcesrv_srvsvc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
index 8dc42bf..58eed57 100644
--- a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
+++ b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
@@ -503,7 +503,7 @@ static WERROR dcesrv_srvsvc_NetShareAdd(struct dcesrv_call_state *dce_call, TALL
if (r->in.info.info2->password && r->in.info.info2->password[0]) {
info[i].name = SHARE_PASSWORD;
info[i].type = SHARE_INFO_STRING;
- info[i].value = talloc_strdup(info, r->in.info.info502->password);
+ info[i].value = talloc_strdup(info, r->in.info.info2->password);
W_ERROR_HAVE_NO_MEMORY(info[i].value);
i++;
@@ -577,7 +577,7 @@ static WERROR dcesrv_srvsvc_NetShareAdd(struct dcesrv_call_state *dce_call, TALL
info[i].type = SHARE_INFO_STRING;
/* Windows will send a path in a form of C:\example\path */
- if (r->in.info.info2->path[1] == ':') {
+ if (r->in.info.info502->path[1] == ':') {
info[i].value = talloc_strdup(info, &r->in.info.info502->path[2]);
} else {
/* very strange let's try to set as is */
--
Samba Shared Repository
More information about the samba-cvs
mailing list