Hat dir diese Antwort geholfen?
Hallo,
ich hab jetzt das Ganze bei mir Zuhause durchgespielt und alles nach deiner Anleitung gemacht. Klappt aber nicht so ganz wie ich es mir vorgestellt habe. Das Homverzeichnis ist zwar aus dem Arbeitsplatz verschwunden das Laufwerk Z: ist leider auch nicht da. Hier ist noch mal die smb.conf und weiter unter das logon Script
# 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.
# Date: 2008-04-23
[global]
workgroup = heimnetz
netbios name = sles10
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:
logon script = /var/lib/samba/netlogon/logon.cmd
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
idmap backend = ldap:ldap://localhost
ldap admin dn = cn=Administrator,dc=home,dc=de
ldap delete dn = No
ldap group suffix = ou=group
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Machines
ldap passwd sync = Yes
ldap replication sleep = 1000
ldap ssl = Start_tls
ldap suffix = dc=home,dc=de
ldap timeout = 5
ldap user suffix = ou=people
local master = Yes
os level = 65
passdb backend = ldapsam:ldap://localhost smbpasswd
preferred master = Yes
security = user
wins support = Yes
netbios name = sles10
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
----------------------------------------------
script
NET USE P: /DELETE
NET USE Z: \\sles10\home\files