PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms..win.server.scripting > Re: Script to enable user access from Dial in tab in ADUC
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Script to enable user access from Dial in tab in ADUC

Réponse
 
LinkBack Outils de la discussion
Vieux 08/11/2007, 19h15   #1
Richard Mueller [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Script to enable user access from Dial in tab in ADUC


"Myinzu" <thuzarm@lfgloan.com> wrote in message
news:5138AA67-A26B-474B-9D7D-5470FE8BAA62@microsoft.com...
> Is there a script to enable the allow access option in Dial in tab??? Thx
> in
> advance.
> -- myinzu


From the Microsoft script center:

http://www.microsoft.com/technet/scr.../usmdvb24.mspx

To enable dialin you need only assign True to the msNPAllowDialin attribute
of the user. So:
=============
Set objUser = GetObject _
("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com" )

objUser.Put "msNPAllowDialin", TRUE
objUser.SetInfo

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


  Réponse avec citation
Vieux 09/11/2007, 00h08   #2
Myinzu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Script to enable user access from Dial in tab in ADUC

Richard, thx a lot. That would me a lot. I'm just so new to scripts in
AD.
In what type of scripting that i should use this?? ADSI..


--
Myinzu

"Richard Mueller [MVP]" wrote:

>
> "Myinzu" <thuzarm@lfgloan.com> wrote in message
> news:5138AA67-A26B-474B-9D7D-5470FE8BAA62@microsoft.com...
> > Is there a script to enable the allow access option in Dial in tab??? Thx
> > in
> > advance.
> > -- myinzu

>
> From the Microsoft script center:
>
> http://www.microsoft.com/technet/scr.../usmdvb24.mspx
>
> To enable dialin you need only assign True to the msNPAllowDialin attribute
> of the user. So:
> =============
> Set objUser = GetObject _
> ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com" )
>
> objUser.Put "msNPAllowDialin", TRUE
> objUser.SetInfo
>
> --
> Richard Mueller
> Microsoft MVP Scripting and ADSI
> Hilltop Lab - http://www.rlmueller.net
> --
>
>
>

  Réponse avec citation
Vieux 09/11/2007, 01h03   #3
Richard Mueller [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Script to enable user access from Dial in tab in ADUC

The scripts are VBScript programs. You can use either the Wscript or Cscript
hosts to run them. If the script is saved in a file called Dialin.vbs, it
can be run at a command prompt with the command:

cscript Dialin.vbs

If you are not in the directory where the file Dialin.vbs is saved, specify
the path. In most cases you can double click the *.vbs file to run it with
the default host (either wscript or cscript).

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--

"Myinzu" <thuzarm@lfgloan.com> wrote in message
news:F569EE13-8927-4E57-B1DB-4D18DD6009F4@microsoft.com...
> Richard, thx a lot. That would me a lot. I'm just so new to scripts
> in
> AD.
> In what type of scripting that i should use this?? ADSI..
>
>
> --
> Myinzu
>
> "Richard Mueller [MVP]" wrote:
>
>>
>> "Myinzu" <thuzarm@lfgloan.com> wrote in message
>> news:5138AA67-A26B-474B-9D7D-5470FE8BAA62@microsoft.com...
>> > Is there a script to enable the allow access option in Dial in tab???
>> > Thx
>> > in
>> > advance.
>> > -- myinzu

>>
>> From the Microsoft script center:
>>
>> http://www.microsoft.com/technet/scr.../usmdvb24.mspx
>>
>> To enable dialin you need only assign True to the msNPAllowDialin
>> attribute
>> of the user. So:
>> =============
>> Set objUser = GetObject _
>> ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com" )
>>
>> objUser.Put "msNPAllowDialin", TRUE
>> objUser.SetInfo
>>
>> --
>> Richard Mueller
>> Microsoft MVP Scripting and ADSI
>> Hilltop Lab - http://www.rlmueller.net
>> --
>>
>>
>>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h44.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10721 seconds with 11 queries