[KLUG Members] Pesky LDAP

Jim C members@kalamazoolinux.org
Tue, 10 Sep 2002 08:49:24 -0700


> 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?
As far as I can tell the input file and output file are identical.
Namely:

> dn: cn=MyTestUser Smith,mail=Dude@spudly.com
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> givenName: MyTestUser
> sn: Smith
> cn: MyTestUser Smith
> xmozillanickname: Dude McGnarly
> mail: Dude@spudly.com
> xmozillausehtmlmail: false
> modifytimestamp: 0Z
> telehoneNumber: 509-123-4567
> homePhone: 509-456-7890
> facsimileTelephoneNumber: 800-123-0987
> pager: 900-666-1234
> mobile: 700-333-4321
> homePostalAddress: 1313 Test St.
> postalAddress: 1234 fouth St. #7
> l: Atlanta
> st: GA
> postalCode: 48423
> c: USA
> title: Dr.
> ou: Wierdo Dept.
> o: Acme Widgets
> homeurl: http://www.spaxmo.com
> workurl: http://www.testme.com
> custom1: Custom 1
> custom2: Custom 2
> custom3: Custom 3
> custom4: Custom 4
> description: Notes Go here