Ok, here is my smb.conf-File.
If i use the [homes]-Section, I can mount my home-share only if I first connected to an other share. If I use the [Mario]-Section, I can mount it on the first run. [global] workgroup = example netbios name = mounteverest password server = 192.168.2.200 security = ads realm = EXAMPLE.LOCAL encrypt passwords = yes local master =no os level = 20 domain master = no preferred master = no time server = Yes keepalive = 30 create mask = 0740 directory mask = 0750 log file = /var/log/samba/log.%m log level = 3 passdb:5 auth:10 winbind:2 nt acl support = yes winbind separator = + idmap backend = idmap_rid:example=10000-19999 idmap gid = 10000-19999 idmap uid = 10000-19999 template shell = /bin/bash winbind use default domain = yes winbind enum users = yes winbind enum groups = yes # von mario hinzugefuegt um 18:42 am 19.09.09 winbind nested groups = yes wins server = 192.168.2.200 # von mario hinzugefuegt um 18:42 am 19.09.09 template homedir = /data/shares/home/%U template shell = /bin/bash #[homes] # comment = Home Directories # path = /data/shares/home/%U # force group = @EXAMPLE+dir_home # read only = No # create mask = 0600 # directory mask = 0700 # browseable = No [mario] path = /data/shares/home/mario valid users = EXAMPLE+mario force group = @EXAMPLE+dir_home read only = No create mask = 0600 force create mode = 0700 [nobackup] path = /data/shares/nobackup valid users = @EXAMPLE+dir_nobackup force group = @EXAMPLE+dir_nobackup read only = No create mask = 0750 force create mode = 0770 force directory mode = 0770 [public] path = /data/shares/public valid users = @EXAMPLE+dir_public force group = @EXAMPLE+dir_public read only = No create mask = 0750 force create mode = 0770 force directory mode = 0770 [security] path = /data/shares/security valid users = @EXAMPLE+dir_security force group = @EXAMPLE+dir_security read only = No create mask = 0750 force create mode = 0770 force directory mode = 0770 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba