Samba as PDC w/ Exchange

Chad Kitching kitchingc at
Wed Sep 22 04:40:44 GMT 1999

First thing, make sure you have an Administrator user, and Administrators
and BUILTIN\Administrators group defined for Samba, because Exchange doens't
much like it if there isn't.  To create mailboxes, it's usually easiest to
create a mailbox without a user assigned to it, export the directory, edit
the CSV file it creates, and then inport the directory.  The user name is
the 7th argument in the exported file.  Simply use the format DOMAIN\USER,
and it should work.  These are the user maps I use that seem to work:


adm="Domain Admins"
users="Authenticated Users"
mail="Mail Users"


It seems that since the Exchange administrator tool expects to see a NT
server admining the domain, and doesn't take any procautions against
anything other than valid data being returned.

----- Original Message -----
From: Tomas Gasper <TGasper at>
To: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at>
Sent: Tuesday, September 21, 1999 1:47 AM
Subject: Samba as PDC w/ Exchange

> Hello,
> I am trying to run Samba 2.0 on Linux kernel 2.0.36 as a PDC with
> Exchange running on a Windoze NT server in the domain.  All is well with
> respect to the machine being in the domain and logging in as a domain
> The problem I have is that whenever I try to map a  "Primary Windows NT"
> account to an Exchange mailbox, the Exchange Admin program GPFs in a bad
> immediately after the "Add user" window pops up and before any domain
> are shown in the window.  (I can, however, see domain users in NT's User
> Admin for Domains without problem)
> In some other utilities that use the seemingly general purpose "Add user
> group" window, there are always "predefined" users that NT seems to expect
> to find in the domain, but can't such as "The Operating System", "The
> of the file", etc-These users are shown as "Account Unknown" with a hex
> number shown such as "0000002", "0000004", etc. along with the description
> of the non-existent user.
> Basically, what I'm wondering is whether I should, somehow, have
> users in my domain (perhaps through /etc/smbpasswd) that NT is expecting -
> my guess is that Exchange can't gracefully handle the absence of some of
> these assumed accounts so it GPFs.
> Any ideas?
> Is anyone successfully running Samba as a PDC with Exchange?
> Thanks!
> Tomas Gasper
> tgasper at <mailto:tgasper at>

More information about the samba-ntdom mailing list