home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / netapi.zip / NETLOG.FRM (.txt) < prev    next >
Visual Basic Form  |  1996-01-09  |  13KB  |  319 lines

  1.     NetLogfrm
  2. LAN Synchronization Utility
  3. Arial
  4. ppppp
  5. ppppppp
  6. ppppppppppppppp
  7. ppppppppppppp
  8. ppppppppppppppp
  9. Form15%
  10. ConnectionOption
  11. By Current Connections
  12. DomainOption
  13. By Domain List
  14.     Buttonbox
  15.     UpdateBut
  16. Update Passwords
  17. ExitBut
  18. DomainList
  19. OldPassword
  20. Verify
  21. NewPassword
  22. Label7
  23. Message
  24. UserName
  25.     user name
  26.     StatusTxt
  27. Ready...
  28. MS Sans Serif
  29.     VerifyCap
  30. Verify New Password
  31. Label2
  32. Domains
  33. UserIdCaption
  34. User ID
  35. NewCap
  36. New Password
  37. OldCap
  38. Old Password
  39. UserID
  40. FileMnu
  41. &File
  42. ExitMnu
  43. &Exit
  44. HelpMnu
  45. &Help
  46. ContentsMnu
  47.     &Contents
  48.     SearchMnu
  49. Search For Help On...
  50. Seperator1
  51. AboutMnu
  52.     &About...
  53. @    Form_Load&
  54. NetUserPasswordSet
  55. szServer
  56. szuserid
  57. szoldpassword
  58. sznewpassword
  59. Command1_Click{
  60. SzPassB
  61.     SzNewPassj
  62. pszServerName
  63.     pszUserId
  64. pszoldpassword
  65. psznewpassword
  66. StatmsgL
  67. Selct
  68.     Szservers
  69. nresult4
  70. NetGetDCName
  71. pszDomainnameV
  72. NsizeB
  73. SzDomainControllerk
  74. GetPrivateProfileString
  75. AppName
  76. KeyName
  77. Default
  78. ReturnedString
  79. MAXSIZE
  80. filename0
  81. sReadINI
  82. ReadFullSection
  83. DomainListN
  84. List1_Click
  85. sTemp
  86. sTablef
  87. nentries\
  88. nNull
  89. PrivGetString
  90. Fisrtval
  91. firstval
  92. list1
  93.     ListCount
  94.     NetLogFrmJ
  95. Domianlist
  96. grid1!
  97. DcList
  98. DomainList_Click
  99. firsval
  100. firtsval:
  101. Textm
  102. Style
  103. SendMessage<
  104. Disclosuretypeq
  105. hWnd[
  106. EM_SETREADONLYw
  107. Form_Activate
  108. UserID
  109. Caption
  110. NetWorkUserIdV
  111. ExitMnu_Click
  112. OldPassworde
  113. PasswordChar`
  114. Verify*
  115. NewPassword,
  116. ValidateEntryScreensH
  117. NetLogonFrm>
  118.     statustxt
  119. Status
  120. Command3_Click{
  121. NetUserGetInfo
  122. slevel
  123. szUserInfo<
  124. ntotalZ
  125. UserName
  126. Label6!
  127. lentrim
  128. namestr
  129. PrevDomainStr
  130. TabChar
  131. Screen
  132. MousePointer
  133. Command2_Click
  134.  Patrick Scheltgen        t
  135. nIndex
  136. nparse
  137. nStart+
  138. Server3
  139. relistdomains
  140. AboutMnu_Click
  141. ABoutfrm
  142. IDString$
  143. TITLE
  144. MB_ICONINFORMATION`
  145. OldPassWord_Change
  146. OldPassWord_GotFocus
  147. ActiveControl
  148. SelTextM
  149. Text1U
  150. SelStart
  151. Where
  152.     SelLength
  153. Search
  154. Selend=
  155. NewPassword_Change
  156. NewPassword_GotFocusM
  157. Verify_Change
  158. Verify_GotFocusp
  159. Label1_Click
  160. Label2_Click,    
  161. Label3_Click 
  162. Sep1_Clicke
  163. StatusTxt_Click
  164. UserID_Click
  165. ContentsMnu_Click
  166. MB_ICONEXCLAMATION
  167. MB_ICONEXCLMATIONJ
  168. ErrorNum
  169.     ForeColor
  170. combo1
  171. CB_SHOWDROPDOWNy
  172. Update_Click
  173. Exit_Clickl
  174. UpdateDefault(
  175.     UpdateBut
  176. Updatebut_ClickT
  177. ExitBut_Click
  178. ExitBut
  179. Verify_KeyPress
  180. KeyAscii
  181. EnabledF
  182. Verify_KeyDown|    
  183. KeyCode
  184. Shift
  185. TabStr
  186. Message
  187. NetUserValidate2
  188. pszuser:    
  189. NetWkstaGetInfo]
  190. Form_Paint
  191. Width
  192. Form_Resizem    
  193. Newstatustxt
  194. UserIdCaption
  195. OldCap_    
  196. Olpassword
  197. NewCap
  198.     VerifyCap
  199.     ButtonBox
  200. SearchMnu_Click4
  201. WinHelpN    
  202. form1
  203. HelpFile
  204. HELP_INDEX
  205. HELP_PARTIALKEY
  206. NetUseEnum
  207. NetServerGetInfo
  208. entries
  209. Firstslash@
  210. connections
  211. addconG
  212. spacepos
  213. SecSlash
  214. AsciiZChar
  215. conarray
  216. duparray
  217. prevaddcon
  218. connectarray
  219. DupFlag
  220. Option2_Click
  221. Option1_Click
  222. relistdomians
  223. Endchari
  224. DomainOption
  225. Visible
  226. ConnectionOption
  227. ConnectionOption_Click
  228. DomainOption_Click)
  229. SDDEV
  230. CS0694V
  231. RC14PP02
  232. ISD211
  233. RC14DP02
  234. CDROMS
  235. RC14DP01
  236. ISDWORKO
  237. EX069353
  238. errorin
  239. errorinstring
  240. strloc
  241. nextEnd
  242. coonections
  243. endall
  244. Chrxx
  245.     statusbar
  246. Height
  247. AboutMnu_Click
  248. ConnectionOption_Click
  249. start
  250. ContentsMnu_Click
  251. DomainOption_Click
  252. ExitBut_Click
  253. ExitMnu_Click
  254. Form_Load
  255.  if a 1 is passed on the command line use the domain controller name instead ofo
  256.  the default domain name
  257. Not Found
  258. Your Network INI file can not be found, you must have a non-standard DOS LAN Services Installation, please call the Help Desk
  259. No Logon
  260. In order for the syncronization utility to work you must be logged onto at least one LAN
  261. Use the Logon utility in your IBM DOS LAN Services group then try again
  262.  Here we start using some API calls to the Netapi.dll to return the user
  263.  comments associated with the currently logged on user
  264.  first we get the domain controller 
  265.  the we get the users infromatione
  266.  nresult = NetUseEnum("", 1, szServers, 260, nentries, ntotal)
  267. search for ASCIIZ null terminator
  268. Form_Resize
  269. ffffff
  270. 500 'statustxt.Heightt
  271. NewPassword_GotFocus
  272.  Set selection start.e
  273. OldPassWord_GotFocus
  274.  Set selection start.e
  275. Option1_Click
  276. Option2_Click
  277. SearchMnu_Click
  278. Updatebut_Click
  279.  this function does the actual pass word changinga
  280.  it needs to have the old password and new password
  281.  it cycles through all domains listed in the list box
  282.  trying to change each one
  283.  validate that all data is correct
  284.  passed back an error get out of the program
  285. Processing Password Change for 
  286.  here we goc
  287.  setting a passworda
  288. Password Succesfully Changed
  289. Request not permitted on this domain
  290. The Network Path can not be found
  291. The specified password is not valid
  292. The redirector has not been started
  293. Domain gone down or not found
  294. The requestor service has not been started
  295. An Internal error has occured
  296. The server is not configured for transactions
  297. Password changes are not permitted
  298. The specified password is not valid
  299. The username can not be found
  300. Password changes are not permitted
  301. Password changes are not permitted
  302. Password changes are not permitted
  303. Error in Accounts database
  304. The user account has expired
  305. This Password cannot be changed
  306. Password is too recent to use
  307. Password is shorter then required
  308. Password is too recent to change
  309. Error in Accounts database
  310. The specified domain is not valid
  311. Error in Accounts database
  312. Unknown Error Number 
  313.  Domains Had Errors when changing Passwords
  314. All Domain Passwords succesfully set
  315. Verify_Change
  316. Verify_GotFocus
  317.  Set selection start.e
  318. Verify_KeyPress
  319.