Re: LDAP directory structure
Kevin Williams <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.pdxlug |
|---|---|
| Organization | tarity |
| Message-ID | <1090363729.18677.59.camel@kwilliamsLinux> |
On Tue, 2004-07-20 at 14:10, Scott Burch wrote: > I use the script that came with Samba > > Here is one line of a script that I use to setup our users. > > $command="/usr/local/samba/smbldap-useradd.pl -a -C '\\\\$servername' -F > '\\\\$servername\\profiles\\$username' -N '$fullname' -c '$fullname' > $username"; > > This does everything for ya. > > This is the command line for our environment. > > > Scott > 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