Re: adam:set the password for the users in the ldif file
From: Dmitri Gavrilov [MSFT] (dmitrig_at_online.microsoft.com)
Date: 03/16/04
- Next message: Shannon Lapekas: "Exchange and AD over a WAN"
- Previous message: Dmitri Gavrilov [MSFT]: "Re: Attribute indexing"
- In reply to: Eric Fleischman [MSFT]: "Re: adam:set the password for the users in the ldif file"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Mar 2004 12:34:11 -0800
You only need to base64-encode the value if you use unicodePwd attribute.
There's a KB on that.
If you use userPassword, then all you need is a secure channel, SSL that is
(easier said than done though).
You can disable secure channel requirement for pwd operations. See ADAM.CHM
for details.
-- Dmitri Gavrilov SDE, Active Directory Core 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 Fleischman [MSFT]" <efleis@online.microsoft.com> wrote in message news:uavJNa2CEHA.3256@TK2MSFTNGP09.phx.gbl... > 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 > > > >
- Next message: Shannon Lapekas: "Exchange and AD over a WAN"
- Previous message: Dmitri Gavrilov [MSFT]: "Re: Attribute indexing"
- In reply to: Eric Fleischman [MSFT]: "Re: adam:set the password for the users in the ldif file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|