FreeBSD to authenticate against Active Directory

Posted on 2007-10-02
Last Modified: 2013-12-19

Is there any up-to-date definitive resource which explains how to get FreeBSD (6.2) to authenticate against Active Directory (in my case Windows 2003 R2 which includes SFU).  There are a few informative articles floating around, but most date back to 2004/2005 and most involve the use of Samba and Winbind (I'd like to avoid this if possible).

I don't really know what is possible here, I'm coming from only a basic understanding of how things like pam work.  Would I have to configure every service separately to use Active Directory or could I tell FreeBSD to blindly rely on AD for user authentication?

I read about pam_mkhomedir, so users could have homedirs created automatically when they logged in.  Is this possible in FreeBSD?  Would I be able to map this automatically to their existing "My Documents" folder which is redirected to the network by group policy?

Please feel free to tell me what can/can't be done and if doing so is a good/bad thing.  I can explain bits in more detail if needed.

Kind regards,
Question by:sda100
    LVL 70

    Accepted Solution

    This is about all I could find
    LVL 7

    Assisted Solution

    I am not familiar with FreeBSD enough to be able to convert the information included in this link to this system, however, it is designed for two systems - Solaris and Linux, and should give you the basic hard-core guidelines for the task at hand.
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now