[389-users] AD LDIF help

John A. Sullivan III jsullivan at opensourcedevel.com
Sat Jul 25 20:58:25 UTC 2009


I would hope some googling or roaming around the 389 documentation would
reveal how others have done this as I'm sure they must.  Failing that,
you may need to work through the schema attribute by attribute, find the
mismatches, and fix them with some creating scripting.  Just an ignorant
guess - John

On Sat, 2009-07-25 at 23:48 +0300, melvin obiri wrote:
> thanks John, 
> Am trying to Migrate users from AD to FDS ;
> Its  a production Windows 2003 with AD ; Was given one time access so
> I exported most of the users using ldifde -f **.ldif ;
> Intention was to replicate a similar AD server then work on it off
> site, to realize migration.
> On the Overall is to get a SAMBA pdc , have mail users stored in FDS ;
> But priority is mail
> 
> 
> 
> On Sat, Jul 25, 2009 at 1:34 PM, John A. Sullivan III
> <jsullivan at opensourcedevel.com> wrote:
>         
>         On Sat, 2009-07-25 at 12:14 +0300, melvin obiri wrote:
>         > I'd like some help in importing this ldif to fds ;  how I
>         get errors,
>         > am not sure which ones are supported and required for me to
>         move users
>         > credentials from AD -> FDS;
>         > Anyone with an idea can point me here
>         >
>         >
>         > ************LDIF start******************************
>         > dn: CN=Legal D,OU=staff,DC=my,DC=co,DC=ke
>         > changetype: add
>         > objectClass: top
>         > objectClass: person
>         > objectClass: organizationalPerson
>         > objectClass: user
>         > cn: Legal D
>         > sn: D
>         > givenName: Legal
>         > distinguishedName: CN=Legal D,OU=staff,DC=my,DC=co,DC=ke
>         > instanceType: 4
>         > whenCreated: 20081031124920.0Z
>         > whenChanged: 20081031124931.0Z
>         > displayName: Legal D
>         > uSNCreated: 53994
>         > uSNChanged: 54001
>         > homeMTA:
>         >  CN=Microsoft MTA,CN=MYMSG002,CN=Servers,CN=First
>         Administrative
>         > Group,CN=Admi
>         >  nistrative Groups,CN=First Organization,CN=Microsoft
>         > Exchange,CN=Services,CN=C
>         >  onfiguration,DC=my,DC=co,DC=ke
>         > proxyAddresses: SMTP:legal at my.co.ke
>         > proxyAddresses: X400:c=US;a= ;p=First
>         > Organizati;o=Exchange;s=D;g=Legal;
>         > homeMDB:
>         >  CN=Mailbox Store (MYMSG002),CN=First Storage
>         > Group,CN=InformationStore,CN=MY
>         >  MSG002,CN=Servers,CN=First Administrative
>         Group,CN=Administrative
>         > Groups,CN=Fi
>         >  rst Organization,CN=Microsoft
>         > Exchange,CN=Services,CN=Configuration,DC=my,DC=
>         >  co,DC=ke
>         > mDBUseDefaults: TRUE
>         > mailNickname: legal
>         > name: Legal D
>         > objectGUID:: NXpu+vZD+kum0AMwrajanw==
>         > userAccountControl: 66048
>         > badPwdCount: 2
>         > codePage: 0
>         > countryCode: 0
>         > badPasswordTime: 128873658553906250
>         > lastLogoff: 0
>         > lastLogon: 128854531816093750
>         > pwdLastSet: 128699309609531250
>         > primaryGroupID: 513
>         > objectSid:: AQUAAAAAAAUVAAAATmEHg7SKj5EHC0sq0wUAAA==
>         > accountExpires: 9223372036854775807
>         > logonCount: 8
>         > sAMAccountName: legal
>         > sAMAccountType: 805306368
>         > showInAddressBook:
>         >  CN=Default Global Address List,CN=All Global Address
>         Lists,CN=Address
>         > Lists Co
>         >  ntainer,CN=First Organization,CN=Microsoft
>         > Exchange,CN=Services,CN=Configurati
>         >  on,DC=my,DC=co,DC=ke
>         > showInAddressBook:
>         >  CN=All Users,CN=All Address Lists,CN=Address Lists
>         Container,CN=First
>         > Organiza
>         >  tion,CN=Microsoft
>         > Exchange,CN=Services,CN=Configuration,DC=my,DC=co,DC=ke
>         > legacyExchangeDN:
>         >  /o=First Organization/ou=First Administrative
>         > Group/cn=Recipients/cn=legal
>         > userPrincipalName: legal at my.co.ke
>         > objectCategory:
>         CN=Person,CN=Schema,CN=Configuration,DC=my,DC=co,DC=ke
>         > textEncodedORAddress: c=US;a= ;p=First
>         > Organizati;o=Exchange;s=D;g=Legal;
>         > mail: legal at my.co.ke
>         > msExchHomeServerName:
>         >  /o=First Organization/ou=First Administrative
>         > Group/cn=Configuration/cn=Server
>         >  s/cn=MYAMSG002
>         > msExchALObjectVersion: 49
>         > msExchMailboxSecurityDescriptor::
>         >
>          AQAEgHgAAACUAAAAAAAAABQAAAAEAGQAAQAAAAACFAADAAIAAQEAAAAAAAUKAAAAAAAAAGkAcgBlAG
>         >
>          sAdQAsAE8AVQAAAQAAAAEAAAEAAAAgAAAAQwA9AG0AZgBhACwARABDAD0AZwBvACwARABDAD0AawBl
>         >
>          AAAAAQUAAAAAAAUVAAAATmEHg7SKj5EHC0sq9AEAAAEFAAAAAAAFFQAAAE5hB4O0io
>         > +RBwtLKvQBAA
>         >  A=
>         > msExchUserAccountControl: 0
>         > msExchMailboxGuid:: AkHm6pJ1Yk+sgMUAU8hb4g==
>         > msExchPoliciesIncluded:
>         >
>          {D3F64A3C-F3D9-4082-9687-C4F00135CABA},{26491CFC-9E50-4857-861B-0CB8DF22B5D7}
>         > ***************************end
>         >
>         ldif*************************************************************************
>         
>         <Snip>
>         This is not an area of expertise for me and you probably know
>         more than
>         I but may I ask what you are trying to do at a high level;
>         perhaps there
>         is an easier way.  Are you trying to migrate from AD to FDS
>         and thus
>         trying to move your users? Thanks - John
>         --
>         John A. Sullivan III
>         Open Source Development Corporation
>         +1 207-985-7880
>         jsullivan at opensourcedevel.com
>         
>         http://www.spiritualoutreach.com
>         Making Christianity intelligible to secular society
>         
>         --
>         389 users mailing list
>         389-users at redhat.com
>         https://www.redhat.com/mailman/listinfo/fedora-directory-users
> 
> --
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan at opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society




More information about the Fedora-directory-users mailing list