[Samba] Samba4 UNIX password sync

Rob Mason rob.mason at acasta.co.uk
Fri Nov 14 09:49:02 MST 2014

Hi List,

I am trialling a small Samba4 AD server supporting 10 users (running
fine).  I also have exim smtp and dovecot imap running on the same
Debian Wheezy box.  Simplistically, what I would like to achieve is for
an AD user account to also authenticate to imap and smtp using the same
credentials. I previously used Samba3 'unix password sync' to ensure
that any domain users were automatically created a unix account.  This
doesn't seem supported any more?

I believe I now need winbind to support this?  If so, then
doesn't work on my Debian Wheezy box - I don't see libnss_winbind.so on
my system.   And 'apt-get install winbind' says I'm already on the
latest version...

Anyone any pointers on the best approach?


# Global parameters
        workgroup = ACASTA
        realm = ACASTA.INTRA
        netbios name = KEPLER
        server role = active directory domain controller
        dns forwarder =
        idmap_ldb:use rfc2307 = yes

        path = /var/lib/samba/sysvol/acasta.intra/scripts
        read only = No

        path = /var/lib/samba/sysvol
        read only = No

Rob Mason

The original of this email was scanned by the Acasta SMTP mail relay for known viruses at 16:48 on 14/11/2014 and was found to be virus free - ClamAV 0.98.4/19624/Thu Nov 13 17:39:52 2014.
Acasta Ltd. Registered in England 6619191. 42 Pitt Street, Barnsley, S70 1BB. VAT Registered 934 6797 75.

More information about the samba mailing list