Active Directory UDF - Help & Support
#441
Posted 22 March 2012 - 09:14 PM
#442
Posted 22 March 2012 - 10:33 PM
$iAD_Debug = 2
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#443
Posted 27 March 2012 - 01:42 PM
Greeting! How are you ? Hope you are doing good! today i got an opportunity to use the function _AD_IsAccountExpired(@UserName). when i use this function i always get the return value as 1 which says the user account expired. i tested this with my own user id which has Expire date as never in AD. could you please help me on this ?
#444
Posted 27 March 2012 - 02:41 PM
I'm fine, thanks. I hope you are well too.
What version of the UDF do you use?
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#445
Posted 27 March 2012 - 04:25 PM
ended with below error message
C:Program Files (x86)AutoIt3IncludeAD.au3 (3842) : ==> The requested action with this object has failed.: Local $sAD_AccountExpires = $oAD_Object.AccountExpirationDate Local $sAD_AccountExpires = $oAD_Object.AccountExpirationDate^ ERROR ->11:27:19 AutoIT3.exe ended.rc:1
Edited by Syed23, 27 March 2012 - 04:31 PM.
#446
Posted 28 March 2012 - 07:38 AM
$iAD_Debug = 2
Edited by water, 28 March 2012 - 07:39 AM.
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#447
Posted 28 March 2012 - 10:21 AM
C:Program Files (x86)AutoIt3IncludeAD.au3 (3842) : ==> The requested action with this object has failed.: Local $sAD_AccountExpires = $oAD_Object.AccountExpirationDate Local $sAD_AccountExpires = $oAD_Object.AccountExpirationDate^ ERROR
#448
Posted 28 March 2012 - 03:30 PM
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#449
Posted 28 March 2012 - 04:28 PM
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#451
Posted 28 March 2012 - 05:23 PM
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#452
Posted 28 March 2012 - 05:49 PM
So _AD_Open works fine and then the script still crashes?
you are perfect!
#453
Posted 28 March 2012 - 05:56 PM
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#454
Posted 28 March 2012 - 06:28 PM
#455
Posted 28 March 2012 - 07:06 PM
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#456
Posted 29 March 2012 - 10:14 AM
#457
Posted 29 March 2012 - 11:15 AM
- Is there anything special with your Active Directory environment (like ADAM etc.)?
- What version of the AD do you run (Windows 2000, Windows Server 2003, Windows Server 2008 ...)?
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#458
Posted 29 March 2012 - 11:32 AM
$iAD_Debug = 2
Could you please insert this line?
What I don't understand why sometimes you get a result and sometimes the script crashes
Do you have an explanation?
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#459
Posted 29 March 2012 - 11:37 AM
in our environment we uses Windows 2008 R2 Standar. Also when i used AD 1.2.1.0 version the script was crashing but when i was using AD 1.2.0 version the script does not crashes but i get the return value as 1. I used ]$iAD_Debug = 2 and got the below error message informations.With version 1.2.0
should work again.$iAD_Debug = 2
Could you please insert this line?
What I don't understand why sometimes you get a result and sometimes the script crashes
Do you have an explanation?
AD UDF Version : 1.2.0 Scriptline = 3873 NumberHex = 80020009 Number = -2147352567 WinDescription = Unspecified error Description = Source = Helpfile = Helpcontext = 0 LastDllError = 0
Edited by Syed23, 29 March 2012 - 11:39 AM.
#460
Posted 29 March 2012 - 11:48 AM
Is it possible that you are not allowed to read all properties?
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



This topic is locked
