[KLUG Members] Pesky LDAP
members@kalamazoolinux.org
members@kalamazoolinux.org
Tue, 10 Sep 2002 12:14:18 -0400
>>sed "s/xxmozillaanyphone/telephoneNumber/g" address.mozilla | sed
>>"s/pagerPhone/pager/g" | sed "s/cellPhone/mobile/g" > address.ldif
>Uh... What was supposed to happen here?
It renamed some of the attributes.... theoretically.
>As far as I can tell the input file and output file are identical.
>Namely:
>>dn: cn=MyTestUser Smith,mail=Dude@spudly.com
still a nasty dn, but you probably know that,
>>objectclass: top
>>objectclass: person
>>objectclass: organizationalPerson
>>objectclass: inetOrgPerson
>>givenName: MyTestUser
>>sn: Smith
>>cn: MyTestUser Smith
What was his mother thinking!
>>xmozillanickname: Dude McGnarly
This should be "displayName", xmozillanickname is a mozilla-ism.
>>mail: Dude@spudly.com
>>xmozillausehtmlmail: false
Just drop xmozillausehtmlmail
>>modifytimestamp: 0Z
Eh? You should toss the modify timestampts before loading the LDIF. That isn't
a valid ISO time anyway.
>>telehoneNumber: 509-123-4567
>>homePhone: 509-456-7890
>>facsimileTelephoneNumber: 800-123-0987
>>pager: 900-666-1234
>>mobile: 700-333-4321
You were making changes to the schema to alias these attreibute names before,
now they look OK. So unless they were right in the first place my sed-ing worked.
>>homePostalAddress: 1313 Test St.
>>postalAddress: 1234 fouth St. #7
You might need to escape the #, ie \#
>>l: Atlanta
>>st: GA
>>postalCode: 48423
>>c: USA
>>title: Dr.
>>ou: Wierdo Dept.
>>o: Acme Widgets
Looks OK.
>>homeurl: http://www.spaxmo.com
>>workurl: http://www.testme.com
>>custom1: Custom 1
>>custom2: Custom 2
>>custom3: Custom 3
>>custom4: Custom 4
I don't hink any schema provied the above, certainly not "custom". More
mozilla-isms.
>>description: Notes Go here
"description" should be OK.