Skip navigation
This discussion is archived

Address Book LDAP Integration

670 Views 1 Reply Latest reply: Mar 14, 2007 10:21 AM by Mark2425 RSS
Mark2425 Calculating status...
Currently Being Moderated
Mar 12, 2007 5:34 PM
I'm trying to use a central LDAP server (openLDAP) for all the machines in my house. My problem is in the mapping of AB entries and the corresponding LDAP attributes.

It recognizes "telephoneNumber" in LDAP as "Work Phone" in Address Book. Also, "mobile" as "Mobile phone". But not "homePhone" as "Home Phone".

It does recognize "homePhone" on an LDIF import and populates the Home Phone in Address Book, so it does recognize the right thing to do in that case. (well, that's subjective)

There appears to be a mapping file within openLDAP. In /etc/openldap/schema/netinfo.schema I notice entries like:

attributemap /users lastname sn
attributemap /users firstname givenName
attributemap /users state stateOrProvinceName
attributemap /users zip postalCode
attributemap /users phonenumber telephoneNumber

<Wild Assumption>
So, I was thinking this maps Netinfo -> LDAP attributes. And defaults to some set of attributes where it doesn't provide a mapping. So mobile->Mobile is assumed, but phonenumber needs to be mapped to telephoneNumber and so it's provided here.

So my thinking is that if I can find the right Netinfo attribute to home phone number, I can provide the mapping in this file and problem solved...
</Wild Assumption>

Of course, that may have nothing to do with it at all.
Any info would be appreciated.




Powerbook, MacPro Mac OS X (10.4.8)

Powerbook, MacPro   Mac OS X (10.4.8)  

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.