Setingt msNPAllowDialin alue using ldifde.exe fails

  • Thread starter =?ISO-8859-1?Q?Ra=FAl_Santisteban?=
  • Start date
?

=?ISO-8859-1?Q?Ra=FAl_Santisteban?=

Hi I'm trying to create users with ldif command but I can set
msNPAllowDialin value to true.

Command:
ldifde -s MYSERVER -i -f "user.ldf"

Content of "user.ldf":
--------------- begin of file user.ldf ----------------------
dn: CN=newuser,CN=Users,DC=mydomain,DC=com
changetype: add
accountExpires: 9223372036854775807
cn: newuser
codePage: 0
countryCode: 0
displayName: newuser
distinguishedName: CN=newuser,CN=Users,DC=mydomain,DC=com
givenName: newuser
instanceType: 4
msNPAllowDialin: TRUE
name: newuser
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=mydomain,DC=com
objectClass: user
sAMAccountName: newuser
userAccountControl: 66048
userPrincipalName: (e-mail address removed)
uSNChanged: 136795
uSNCreated: 136779
whenChanged: 20030313161518.0Z
whenCreated: 20030313161412.0Z

dn: CN=Usuarios RAS,CN=Users,DC=mydomain,DC=com
changetype: modify
add: member
member: CN=newuser,CN=Users,DC=mydomain,DC=com
-

dn: CN=newuser,CN=Users,DC=mydomain,DC=com
changetype: modify
replace: userPassword
userPassword::nuevo_password
-

------ end of file user.ldf--------------------------------------

I also tried to modify that value after creating the user:

dn: CN=newuser,CN=Users,DC=mydomain,DC=com
changetype: modify
replace: msNPAllowDialin
msNPAllowDialin: TRUE
-

but this neither works.

Any idea?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top