owncloud/core — pull request #6321 by sevoku (2013-12-11 16:24:06+00:00)
Title: fix smbclient directory listing parser

As reported in https://github.com/owncloud/core/issues/3441 this patch fixes the appending of "N" to filenames with newer(?) smbclient versions.

Smbclient shows an "N" for some files in the directory listing. So I solved that by adding the "N" to the the pattern in line 162 of smb.php. I've tested file removal and renaming using the web interface and the owncloud client for Linux (1.4.2). No Idea if it could really break other smbclient versions, but I think it shouldn't.

Owncloud version: 5.0.13
Smbclient version: 4.1.3
System: Ubuntu 12.04

Since I can't find out in which version of smbclient the behaviour changed or what the "N" means, more investigation and testing for regressions could be necessary.