msNPAllowDialin

msNPAllowDialin

Post by Nathan Craddoc » Thu, 26 Oct 2000 04:00:00



Hi,

I'm using win2k's IAS for RADIUS authentication.  I'm trying to use ASP to
do some management of the users and one of the very crucial properties I
need to be able to modify is the "User can dialup"
property...(msNPAllowDialin)... I finally found out that its not in FLAGS
and its not a property... its a parameter... When I finally found it on a
user it looked like this:
Parameters:     m: d
P    msNPAllowDialin??????????????&  msRADIUSServiceType??????????0  msRASSa
vedCallbackNumber????????

Anyone know how I would go about setting this value?

Thanks

Nathan Craddock
Wannabe Systems Administrator

 
 
 

msNPAllowDialin

Post by Nathan Craddoc » Thu, 26 Oct 2000 04:00:00


Anyone know how to set the "Allow user to dial in" property?
(msNPAllowDialin)

its in Parameters...

Parameters:     m: d
P    msNPAllowDialin??????????????&  msRADIUSServiceType??????????0  msRASSa
vedCallbackNumber????????

 
 
 

1. Why would MsnPAllowDialin not work - mix.mode

Native mode, W2K.
I run .asp script logged on as domain admin, and user
account is created just fine. However, I try to enable
msNPAllowDialin, the script runs, but it doesn't work. I
opened ADSIEdit and user account is set to "not set".
What's wrong ?
...

s = "LDAP://OU=WEBFORM,OU=MYACCOUNTS,OU=Other
Projects,DC=IT,DC=test,DC=org"

        'And get the object
        Set c = GetObject(s)

        On Error Resume Next
        Set u = c.Create("user", "CN=" & login)
        If Err.Number <> 0 Then
           Response.Write("!!! *** ERROR ")
        End If

        'Set the properties of the new user
        u.Put "givenName", firstname
        u.Put "sn", lastname 'sn
        u.Put "PhysicalDeliveryOfficeName", office
        u.Put "DisplayName", lastname & ", " & firstname
       u.Put "Initials", usrMiddleInitial  
        u.Put "sAMAccountName", login  'Sam Acct
        u.Put "Name", lastname & ", " & firstname
        u.Put "telephoneNumber", phone 'Phone
        u.Put "title", jobtitle
        u.Put "department", department
        u.Put "description", jobtitle & " - " & office

        u.SetInfo

        u.SetPassword password

        u.AccountDisabled = False

        u.Put msNPAllowDialin = True  'Script runs fine,
but In ADSIedit, msNPAllowDialin appears as "not set",
istead of "True".

        u.SetInfo
        Set u = Nothing
        Set c = Nothing

2. Sorting of stuffs

3. msNPAllowDialin

4. FTP securit on HP UX ?

5. msNPAllowDialin = True Problem!

6. Navigation Services in a 68K-only program

7. Delegation of rights - msNPAllowDialin

8. Network A1200 and PC?