opsi-deploy-preloginloader kann (zumindest bei Windows7-Clients) C$ nicht mounten. Dieser Patch behebt den Fehler:
Code: Alles auswählen
--- opsi-deploy-preloginloader 2010-03-30 12:28:45.000000000 +0200
+++ /tmp/foo.py 2010-03-30 12:28:54.000000000 +0200
@@ -278,10 +278,10 @@
logger.notice("Mounting client c$ share")
try:
if useNetbios:
- execute( "%s -t cifs -o'port=139,username=%s,password=%s' //%s/c$ %s" %
+ execute( "%s -t cifs -o'username=%s,password=%s' //%s/c$ %s" %
(which('mount'), username, password.replace("'", "'\"'\"'"), host, mountDir), logLevel=LOG_CONFIDENTIAL )
else:
- execute( "%s -t cifs -o'port=139,username=%s,password=%s' //%s/c$ %s" %
+ execute( "%s -t cifs -o'username=%s,password=%s' //%s/c$ %s" %
(which('mount'), username, password.replace("'", "'\"'\"'"), hostId, mountDir), logLevel=LOG_CONFIDENTIAL )
except Exception, e:
raise Exception("Failed to mount clients c$ share: %s\nPerhaps you have to disable the firewall or simple file sharing on the windows machine (folder options)?" % e)
Code: Alles auswählen
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"LocalAccountTokenFilterPolicy"=dword:00000001
Alexander