[Samba] slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence

Gaiseric Vandal gaiseric.vandal at gmail.com
Wed Nov 30 21:35:47 UTC 2016

I think the issue may be related to the broken trusts.        First of 
all only two people had specifically reported issues which meant for 
most people it was acceptable.   Then I noticed that some directories 
seemed slower than others.

If I ssh'd into the server and checked permissions, listing permissions 
on most directories was quick (under 2 second.)  On directories that 
allowed access to trusted domain members (e.g. "Research") listing 
permissions might take 30 seconds.     The unix uid numbers   10157 and 
10172  shd resolve to users from the trusted domain but can't.

Solaris ZFS file systems supports ACL's  similar to windows in the sense 
that not limited to a single user and single group.

# ls -lvd /Pool1/Department/Sales
drwxrwx---+ 13 jsmith      sales            48 Nov 29 18:58 

# ls -lvd  /DataPool1/Dept/Research/
drwxr-xr-x+  4 jsmith  research       5 Jun  6 15:05 

Clearing the invalid users seems to help.     Although even problem 
directories, access on a 2nd try with in a minute would go faster.

Thanks for the help.

On 11/30/16 11:50, Jeremy Allison wrote:
> On Tue, Nov 29, 2016 at 08:28:45PM -0500, Gaiseric Vandal wrote:
>> There are definitely some files with some weird names-   in an ssh session they don't even have regular characters.
>> e.g
>> -rw-rw----   1 xxx   xxx     114985112 Oct 31 14:39 ▒^t
>> Not sure if that is related to problems though.
> Well that's the source of your debug messages. I'd fix
> those if I were you.

More information about the samba mailing list