NowSMS + VBScript + Active Directory - Is it possible?

NowSMS + VBScript + Active Directory - Is it possible? SearchSearch
Author Message
Ahmed ElSerafy
New member
Username: Ahmedelserafy

Post Number: 1
Registered: 10-2009
Posted on Wednesday, October 14, 2009 - 08:53 pm:   

I am wondering if NowSMS can be integrated with Active Directory?

Here is what we need to do:

We have 3000+ user accounts, resetting passwords is a daily task, so for example, there is a user on AD, test.test who has a mobile on active directory, Is it possible to create like a VBScript that will ask me for a username and I just type test.test and it retrieves the user’s mobile and send the password to his mobile via NowSMS cmd?

Thanks,

Regards,

Ahmed
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1356
Registered: 08-2008
Posted on Thursday, October 15, 2009 - 04:36 pm:   

Hi Ahmed,

That's an interesting idea.

I would think that your VBScript would need to ask for a username and a new password to assign to the account. (Or your script would need to include an algorithm to randomly generate a new password, because you could not retrieve a password from Active Directory.)

I don't see why this wouldn't be possible. I have very little knowledge of Active Directory, so to me the hard part would be resetting the user password in Active Directory. I would also assume that you would have the user's mobile number also configured in Active Directory, and your script would also need to retrieve this mobile number.

The easy part is then having your script trigger sending an SMS message via NowSMS as that is a simple HTTP request, with the recipient phone number and text to send as URL parameters.

It's a good idea ... I wish I knew more about the Active Directory part in order to help you with that.

--
Des
NowSMS Support