samba shows 2 home direcory for samba user

I have the lasted sAmba insattlled onensuse 13.1. When my user logons, they have access to two home directory. Here is my code

robshal@linux-7y31:~> less /etc/samba/smb.conf

smb.conf is the main Samba configuration file. You find a full commented

version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the

samba-doc package is installed.

workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf

logon path = \\%L\profiles\.msprofile

logon home = \\%L\%U\.9xprofile

    logon drive = P:
    usershare allow guests = no
    unix password sync = yes
    passwd program = /usr/bin/passwd %u
    inherit permissions = yes
    bind interfaces only = yes
    browseable = yes

comment = Home Directories

path = /home/%u

valid users = %S, %D%w%S

    browseable = Yes
    read only = No
    inherit acls = Yes

comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700

comment = All Printers

path = /var/tmp

printable = Yes

create mask = 0600

browseable = No


comment = Printer Drivers

path = /var/lib/samba/drivers

write list = @ntadmin root

force group = ntadmin

create mask = 0664

directory mask = 0775

[share folder]
path = /home/shares/
writable = yes
browseable = yes
guest ok = no
guest only = only
directory mode = 0770
/etc/samba/smb.conf lines 20-55/55 (END)

[QUOTE=toebertgg;21090]I have the lasted sAmba insattlled onensuse 13.1.
You want the openSUSE forums which are at
When posting the contents of a file it is good to wrap it in CODE tags (look for the # button in the toolbar when composing) as it helps a lot with readability.

I fixed it. The PAM module has a auto home function that interacts with samba. To disable this function you have to set browseable = no in the global parameter. Set browseable = yes in the homes section.

If you set browseable = yes in the global section, it will display the username as the name of the folder.