script0019   [plain text]


//
// script0019
//
//		KCAddAppleSharePassword
// 
// Create an Apple Share Password item with its data length > 8
//
3 KCMakeKCRefFromFSSpec
   Input Arguments : 1
     KeychainFile : test0019.001
   Results : 2
      OSStatus 0
      KeychainIndex : 0
14 KCCreateKeychain
   Input Arguments : 2
      KeychainIndex : 0
      Password : Apple
   Results : 2
      OSStatus 0
      KeychainIndex : 0
8 KCUnlock
   Input Arguments : 2
     KeychainIndex : 0
     Password : Apple
   Results : 1
     OSStatus 0
13 KCSetDefaultKeychain
   Input Arguments : 1
     KeychainIndex : 0
   Results : 1
     OSStatus 0
//%%%why does it expect -25302? (dataTooLarge) - we CANT impose the 8 char limit on our hi level call
27 KCAddAppleSharePassword
   Input Arguments : 7
     ServerSignature : My Signature....    
     ServerAddress : This is my Server Address
     ServerName : This is my Server Name
     VolumeName : This is my Volume Name
     AccountName : This is my Account Name
     Password : /14/apple computer
   Results : 2
     OSStatus -25302
     ItemIndex : 0
27 KCAddAppleSharePassword
   Input Arguments : 7
     ServerSignature : My Signature....    
     ServerAddress : This is my Server Address
     ServerName : This is my Server Name
     VolumeName : This is my Volume Name
     AccountName : This is my Account Name
     Password : /5/apple
   Results : 2
     OSStatus 0
     ItemIndex : 1
38 KCSetData
   Input Arguments : 2
     ItemIndex : 1
     Data : /14/apple computer
   Results : 1
     OSStatus 0