Bug 11590 - api_rpcTNP(?) parse error while using Spotlight with Samba 4.3.1
Summary: api_rpcTNP(?) parse error while using Spotlight with Samba 4.3.1
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.3.1
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-04 03:00 UTC by Hsiao Chien Sung
Modified: 2015-11-04 03:20 UTC (History)
1 user (show)

See Also:


Attachments
screenshot, pcapng, smbd level 10 debug log, and shell script (77 bytes, text/plain)
2015-11-04 03:00 UTC, Hsiao Chien Sung
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hsiao Chien Sung 2015-11-04 03:00:56 UTC
Created attachment 11574 [details]
screenshot, pcapng, smbd level 10 debug log, and  shell script

Hi, all

I recently built Samba 4.3.1 on Ubuntu Server 14.04.3 (x64) with Spotlight enabled, but it doesn't seem to work properly. I can only retrieve the target's file name from Spotlight but no further information(thumbnail, date...etc.) about it.

The only error that I got from Samba debug log is:
api_rpcTNP: called mdssvc successfully
api_rpcTNP: rpc input buffer underflow (parse error?)

You can reproduce my situation by following the steps below:

# Platform Setup

1. VirtualBox: 1G memory, 8G disk (dynamic allocation)
2. install ubuntu-14.04.3-server-amd64 with all default settings
3. hostname: ubuntu, username: user, passwd: user
4. don't encrypt the home folder
5. use entire disk and setup LVM
6. no automatic update
7. install OpenSSH server

# Ubuntu Setup

1. login as "user" and change the root password to "root"
2. su root -> apt-get update -> apt-get upgrade
3. run spotlight.sh with root privilege

Is this a bug or anything wrong with my configuration?