Re: LDAP directory structure
Joshua Schmidlkofer <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.pdxlug |
|---|---|
| Message-ID | <[email protected]> |
> Thanks for the information Scott. > > Looking at the command in detail, it looks like it adds a domain user > that allows the user to log into the windows machine. I think this is a > great start, but what about details for an address book? I'm still > learning here, but don't most companies use the same ldap directory for > their Outlook address book? > > Looking at one of OpenLDAP's FAQs, it looks like I need to add the > following attributes (these are the fields specific to Outlook) as well > as the ones added from smbldap-useradd: > cn,mail, homePhone, officePager, mobile, telephoneNumber, officeFAX, > title, ou, physicalDeliveryOfficeName, o, URL, givenName, initials, sn, > cn, homePostallAddreess, homePhone, officeFacsimileTelephoneNumber, > postalAddress, l, st, postalCode, countryName, department, > physicalDeliveryOfficeName, and comment. > > Does this seem like the correct setup? I have found documentation > listing these mappings but not much regarding scripts to create a user > (I can create one myself, but it seems like there should be one out > there--the lack of finding one has me questioning whether I am going > down the correct path). Has anyone created a custom script or know of > one, or am I going down the wrong path with this design? > > Thanks, > > Kevin Williams > hmmm... Kevin, please checkout phpLdapAdmin - that is a good start for laying this stuff out. I am writing some python stuff to assist me on all this in the future. Next, you can just generate an LDIF and use ldapadd, or ldapmodify to import / export. It is pretty simple. js