diff options
author | Tim Potter <tpot@samba.org> | 2001-09-13 00:30:16 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-09-13 00:30:16 +0000 |
commit | 544d0cf82988e270dbf91e0d3ee18efcbb452567 (patch) | |
tree | bdade136645bfc15f2f7716afa2e49ad9775de33 | |
parent | 31e8101ea2073fa65437d79c6f4bf722831d09c1 (diff) | |
download | samba-544d0cf82988e270dbf91e0d3ee18efcbb452567.tar.gz samba-544d0cf82988e270dbf91e0d3ee18efcbb452567.tar.bz2 samba-544d0cf82988e270dbf91e0d3ee18efcbb452567.zip |
Terminate dfs referral alternate path string. DFS now works again in head
- hooray!
(This used to be commit 95df7ede465d835eb8ca1d1466c5153caf1a0d71)
-rw-r--r-- | source3/msdfs/msdfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c index 8417474ed2..51d60608a2 100644 --- a/source3/msdfs/msdfs.c +++ b/source3/msdfs/msdfs.c @@ -515,7 +515,7 @@ static int setup_ver3_dfs_referral(char* pathname, char** ppdata, /* copy referred path into current offset */ unilen = rpcstr_push(pdata+uni_curroffset, ref->alternate_path, - -1, STR_UNICODE); + -1, STR_UNICODE|STR_TERMINATE); SSVAL(pdata,offset+16,uni_curroffset-offset); /* copy 0x10 bytes of 00's in the ServiceSite GUID */ memset(pdata+offset+18,'\0',16); |