Re: adam:set the password for the users in the ldif file

From: Eric Fleischman [MSFT] (efleis_at_online.microsoft.com)
Date: 03/16/04


Date: Tue, 16 Mar 2004 08:53:36 -0600

It's been a while, but let's see if I remember this:
1) you need to base64 encode your password
2) You need to load it over a secure channel for ADAM users (unless you've
disabled the requirement to do password mod's over a secure channel)

I think if you cover those two bases that'll do it, but let me know (you too
Dmitri! ;)) if I forgot anything. I don't do this often.

~Eric

-- 
Eric Fleischman [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Eric" <anonymous@discussions.microsoft.com> wrote in message
news:de5e01c40b60$37a654b0$a501280a@phx.gbl...
> Hi
> I have generated an ldif file to be imported to the ADAM
> instance but I can't set the password for the users in the
> ldif file. Is there any other way to do that?
> Here is a sample user from my ldif file:
> dn: CN=CAAAAA, OU=orgunit0, O=userstore
>
> name: CAAAAA
>
> instanceType: 4
>
> objectClass: top
>
> objectClass: person
>
> objectClass: organizationalPerson
>
> objectClass: user
>
> distinguishedName: CN=CAAAAA,OU=orgunit0,O=userstore
>
> objectCategory: CN=Person,CN=Schema,CN=Configuration,CN=
> {235583FA-6DD0-429D-A80B-2F7467A15D96}
>
> cn: CAAAAA
>
>
>
> If I add "userPassword: xyz", it does not load the ldif
> file.
> I was wondering if you could give me some clue..
>
> Thanks,
>
> Eric
>


Relevant Pages

  • adam:set the password for the users in the ldif file
    ... I have generated an ldif file to be imported to the ADAM ... name: CAAAAA ... objectClass: person ...
    (microsoft.public.windows.server.active_directory)
  • Re: adam:set the password for the users in the ldif file
    ... If you use userPassword, then all you need is a secure channel, SSL that is ... You can disable secure channel requirement for pwd operations. ... >> I have generated an ldif file to be imported to the ADAM ... >> objectClass: person ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Error: "A referral was returned..."
    ... changetype: add ... objectclass: organizationalUnit ... > find the naming context being referenced in the ldif file ...
    (microsoft.public.windows.server.active_directory)
  • Taking out data from a file.
    ... What I have is a large LDIF file which has blocks DNs of cable ... objectClass: jrTop ... jrDeviceType: docsiscm ... jrSubID: m200195160 ...
    (SunManagers)
  • Re: Best way to extend a stuctural objectclass?
    ... You probably want to give more technical detail such as the aux class definition, whether you are using it statically or dynamically, and the ldif file for the user creation. ... would be better to add a stuctural objectclass or an auxiliary objectclass? ...
    (microsoft.public.windows.server.active_directory)