I did not experienced any problem after the migration. The only thing that I
needed to change was the default authentication domain in the IIS.
In the attachment you will find an old mail from Michael Linster, who wrote a
script to manage the user roles ; and there are two scripts which used to export
and import the subscriptions.
(I needed to take these steps). Please feel free to contact me/us with any
problem.
export :
' Option Explicit
' on error resume next
const adModeRead = 1
Const adModeReadWrite = 3
Const adFailIfNotExists = -1
Const adCreateNonCollection = 0
dim nsp
dim insp
dim pg
dim txtAnimalID
dim cboKeepers
Dim konnektion
Dim rst
Dim strSQL
Dim urlqueryfld,url,osub,ofs,c,l,of,strname,v,emil,name,surl,okada,desck
urlqueryfld="http://nissps.nis.westel900.hu/oper" target="_blank" rel="nofollow">http://nissps.nis.westel900.hu/oper"
'
Set konnektion = CreateObject("ADODB.Connection")
konnektion.Provider = "MSDAIPP.DSO"
konnektion.Open urlQueryFld
Set oSub = CreateObject("CDO.KnowledgeDocument")
strsql="SELECT * "
'strsql=strsql & AddQuotes("urn:attributes:SubscriptionOwner")
strsql=strsql & " FROM SCOPE('SHALLOW TRAVERSAL OF "&
AddQuotes("http://nissps.nis.westel900.hu/oper" target="_blank" rel="nofollow">http://nissps.nis.westel900.hu/oper/system/subscriptions") & "')"'
WHERE " & AddQuotes("urn:attributes:SubscriptionOwner") & " = 'NIS\deakt'"
'wscript.echo strsql
Set rst = CreateObject("ADODB.Recordset")
rst.Open strSQL, konnektion
if not rst.eof then
while not rst.EOF
url=rst.Fields("DAV:href")
'wscript.echo url
oSub.DataSource.Open url, , adModeReadWrite
emil=oSub.Property("urn:schemas:mailheader:to")
name=oSub.Property("DAV:displayname")
desck=oSub.Property("urn:schemas-microsoft-com:office:office#Description")
desck=Ltrim(Rtrim(desck))
desck=Replace(desck," ","_")
desck=Replace(desck,",","_")
surl=oSub.Fields("urn:schemas-microsoft-com:publishing:subscribedto")
surl=Replace(surl,"//./","//nissps.nis.westel900.hu/")
surl=Ltrim(Rtrim(surl))
emil=Ltrim(Rtrim(emil))
wscript.echo surl & "," & desck & "," & name & "," & emil
rst.MoveNext
wend
rst.Close
Set rst = Nothing
else
wscript.echo "kib. ms gyik van"
end if
konnektion.Close
Set konnektion = Nothing
Public Function AddQuotes(strValue)
Const QUOTE = """"
AddQuotes = QUOTE & Replace(strValue, QUOTE, QUOTE & QUOTE) & QUOTE
End Function
import :
option explicit
on error resume next
Const ACTION_ALL = &HFFFF ' Recommended value for all subscription
types.
Dim oSubMgr
Dim strWorkspace,url,emil,juzer,substitl,content
Dim strSubscriptionUrl,objfile,objfilesystem,sor,okada
strWorkspace = "oper"
set oKaDa = CreateObject("CDO.KnowledgeDocument")
oKaDa.DataSource.Open "http://nissps/oper/Documents/Test_here", ,
adModeReadWrite
Set objFileSystem = CreateObject("Scripting.FileSystemObject")
Set objFile = objFileSystem.OpenTextFile("exp.txt", 1)
do while objfile.atendofstream<>True
Set oSubMgr = CreateObject("PKM.SubscriptionManager")
content = objFile.ReadLine
sor=Split(content,",")
url=sor(0)
emil=sor(3)
juzer="NIS\" & sor(3)
juzer=Replace(juzer,"@westel900.hu","")
juzer=Replace(juzer,"@westel.hu","")
substitl=sor(1)
wscript.echo juzer & " " & substitl & " " & url & " " & emil
strSubscriptionUrl = oSubMgr.CreateSubscription(strWorkspace, url, 3,
1,emil,substitl, ACTION_ALL, "", "http://nissps.nis.westel900.hu",32767 , juzer
)
Set oResMgr= oSubMgr.GetResultManager(strWorkspace)
if len(strsubscriptionurl)<1 then
wscript.echo "Sikertelen"
end if
wscript.echo strsubscriptionurl
set oSubMgr=nothing
loop
objfile.close