As stated in http://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#HOMESECT: "When the connection request is made, the existing sections are scanned. If a match is found, it is used. If no match is found, the requested section name is treated as a username and looked up in the local password file. If the name exists and the correct password has been given, a share is created by cloning the [homes] section." If set a share like: [homes] read only = No valid users = %S browseable = No ... when browsing the server from a windows machine there is no 'username' share, but a 'homes' share. If try to access the share the log shows: [2014/01/16 15:15:44.812051, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.816750, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.829645, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.831100, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.832963, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.837756, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.840274, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.841920, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] [2014/01/16 15:15:44.852534, 0] ../source4/ntvfs/posix/vfs_posix.c:236(pvfs_connect) pvfs_connect: '' is not a directory, when connecting to [HOMES] ... when try to access \\server\marcio.merlone: [2014/01/16 15:16:29.254298, 0] ../source4/smb_server/smb/service.c:127(make_connection) make_connection: couldn't find service MARCIO.MERLONE: NT_STATUS_OBJECT_NAME_NOT_FOUND [2014/01/16 15:16:29.257436, 0] ../source4/smb_server/smb/service.c:127(make_connection) make_connection: couldn't find service MARCIO.MERLONE: NT_STATUS_OBJECT_NAME_NOT_FOUND Tested on a Ubuntu 12.04 with Sernet packages.
Created attachment 9600 [details] Windows screenshot The share 'homes' should be 'marcio.merlone'.
This is with the ntvfs file server, which is a developer-only feature and not expected to support all smbd features. Closing as WONTFIX, sorry. Modern Samba versions do not include this unless you are a developer. See https://wiki.samba.org/index.php/Migrating_the_ntvfs_File_Server_Back_End_to_s3fs