Jungi
12.11.05, 12:37
Hallo
Ich habe folgende Probleme:
Auf einem Debian-System läuft Samba 3 und fungiert als PDC für eine Windows-Domäne und als Speicherort für die Profile sowie die Home-Verzeichnisse. Ein Windows XP Professional-Client ist Mitglied der Domäne, auch die Benutzerauthentifikation funktioniert ohne Probleme. Sollen dann beim Anmelden die Profile geladen werden tritt ein komischer Effekt auf:
Manchmal wird das Benutzerprofil ohne Probleme vom Server geladen, es öffnet sich aber dann immer der Texteditor mit folgendem Inhalt:
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell 32.dll,-21787
Das ist noch zu verschmerzen, nur bekomme ich in unregelmäßigen Abständen und auch unaghängig vom verwendeten User diese Fehlermeldung:
Die Datei \\server\profiles\root\Anwendungsdaten\Microsoft\I nternet Explorer\Quick Launch\desktop.ini konnte nicht nach C:\Dokumente und Einstellungen\root\Anwendungsdaten\Microsoft\Inter net Explorer\Quick Launch\desktop.ini kopiert werden. Mögliche Fehlerursachen sind Netzwerkprobleme oder nicht ausreichende Sicherheitsrechte. Wenden Sie sich an den Netzwerkadministrator, wenn das Problem weiterhin besteht.
Details - Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.
Der Fehler ist nicht reproduzierbar, er tritt zufällig auf.
Mir fehlt jetzt der Ansatz. Ist das ein Problem von Samba oder von Windows XP? Auch die Datei die nicht kopiert werden kann ist unterschiedlich.
Hier zur Kontrolle noch mal meine smb.conf:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#
#======================= Global Settings =======================
[global]
workgroup = jung
server string = %h (Samba %v)
wins support = yes
log file = /var/log/samba/log.%m
max log size = 1000
security = user
encrypt passwords = true
passdb backend = tdbsam
os level = 65
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
logon path = \\%N\profiles\%U
logon script = logon.cmd
logon home = \\%N\%U\profiles
logon drive = U:
admin users = root pdcadmin
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
[profiles]
create mask = 0600
directory mask = 0700
browseable = no
valid users = Christian,Barbara,Debian-exim,Klaus,backup,bin,bind,cyrus,daemon,fetchmail, games,gnats,ipcop,irc,list,lp,mail,man,news,nobody ,proxy,root,service,sshd,sync,sys,uml-net,uucp,www-data
writeable = yes
path = /samba_shared/profiles
[homes]
read only = no
guest ok = yes
map archive = yes
hide dot files = yes
comment = Home Directories
browseable = no
[netlogon]
comment = Network Logon Service
path = /samba_shared/netlogon
writable = no
browsable = no
admin users = root pdcadmin
Bin für jeden Tip dankbar.
Grüße
Christian
Ich habe folgende Probleme:
Auf einem Debian-System läuft Samba 3 und fungiert als PDC für eine Windows-Domäne und als Speicherort für die Profile sowie die Home-Verzeichnisse. Ein Windows XP Professional-Client ist Mitglied der Domäne, auch die Benutzerauthentifikation funktioniert ohne Probleme. Sollen dann beim Anmelden die Profile geladen werden tritt ein komischer Effekt auf:
Manchmal wird das Benutzerprofil ohne Probleme vom Server geladen, es öffnet sich aber dann immer der Texteditor mit folgendem Inhalt:
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell 32.dll,-21787
Das ist noch zu verschmerzen, nur bekomme ich in unregelmäßigen Abständen und auch unaghängig vom verwendeten User diese Fehlermeldung:
Die Datei \\server\profiles\root\Anwendungsdaten\Microsoft\I nternet Explorer\Quick Launch\desktop.ini konnte nicht nach C:\Dokumente und Einstellungen\root\Anwendungsdaten\Microsoft\Inter net Explorer\Quick Launch\desktop.ini kopiert werden. Mögliche Fehlerursachen sind Netzwerkprobleme oder nicht ausreichende Sicherheitsrechte. Wenden Sie sich an den Netzwerkadministrator, wenn das Problem weiterhin besteht.
Details - Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.
Der Fehler ist nicht reproduzierbar, er tritt zufällig auf.
Mir fehlt jetzt der Ansatz. Ist das ein Problem von Samba oder von Windows XP? Auch die Datei die nicht kopiert werden kann ist unterschiedlich.
Hier zur Kontrolle noch mal meine smb.conf:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#
#======================= Global Settings =======================
[global]
workgroup = jung
server string = %h (Samba %v)
wins support = yes
log file = /var/log/samba/log.%m
max log size = 1000
security = user
encrypt passwords = true
passdb backend = tdbsam
os level = 65
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
logon path = \\%N\profiles\%U
logon script = logon.cmd
logon home = \\%N\%U\profiles
logon drive = U:
admin users = root pdcadmin
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
[profiles]
create mask = 0600
directory mask = 0700
browseable = no
valid users = Christian,Barbara,Debian-exim,Klaus,backup,bin,bind,cyrus,daemon,fetchmail, games,gnats,ipcop,irc,list,lp,mail,man,news,nobody ,proxy,root,service,sshd,sync,sys,uml-net,uucp,www-data
writeable = yes
path = /samba_shared/profiles
[homes]
read only = no
guest ok = yes
map archive = yes
hide dot files = yes
comment = Home Directories
browseable = no
[netlogon]
comment = Network Logon Service
path = /samba_shared/netlogon
writable = no
browsable = no
admin users = root pdcadmin
Bin für jeden Tip dankbar.
Grüße
Christian