Univention Bugzilla – Attachment 9696 Details for
Bug 47937
Always create link shortcuts in netlogon scripts even if they already exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove if condition in function that creates shortcuts to portal and umc on win desktops
netlogon-always-create-link-shortcuts.patch (text/plain), 1.43 KB, created by
Valentin Heidelberger
on 2018-10-09 17:24:54 CEST
(
hide
)
Description:
remove if condition in function that creates shortcuts to portal and umc on win desktops
Filename:
MIME Type:
Creator:
Valentin Heidelberger
Created:
2018-10-09 17:24:54 CEST
Size:
1.43 KB
patch
obsolete
>147,155c147,153 >< If Not objFSO.FileExists(strLinkPath) Then >< Set oUrlLink = WshShell.CreateShortcut(strLinkPath) >< oUrlLink.TargetPath = "{umc_link}" >< oUrlLink.Save >< set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) >< objFile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-management-console.ico") >< objFile.WriteLine("IconIndex=0") >< objFile.Close >< End If >--- >> Set oUrlLink = WshShell.CreateShortcut(strLinkPath) >> oUrlLink.TargetPath = "{umc_link}" >> oUrlLink.Save >> set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) >> objFile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-management-console.ico") >> objFile.WriteLine("IconIndex=0") >> objFile.Close >162,170c160,166 >< If Not objFSO.FileExists(strLinkPath) Then >< Set oUrlLink = WshShell.CreateShortcut(strLinkPath) >< oUrlLink.TargetPath = "{portal_link}" >< oUrlLink.Save >< set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) >< Objfile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-portal.ico") >< objFile.WriteLine("IconIndex=0") >< objFile.Close >< End If >--- >> Set oUrlLink = WshShell.CreateShortcut(strLinkPath) >> oUrlLink.TargetPath = "{portal_link}" >> oUrlLink.Save >> set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) >> Objfile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-portal.ico") >> objFile.WriteLine("IconIndex=0") >> objFile.Close
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47937
:
9696
|
9697