Tiago Batista posted a patch to fix the build:
authorTiago Batista <tiagosbatista@gmail.com>
Mon, 5 May 2008 22:12:03 +0000 (08:12 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 May 2008 22:12:03 +0000 (08:12 +1000)
commit674d089beac8a5808a4537b8021e466c4c14f656
treec2a57652efcfeda4c723c0596de04df2ca654cc7
parent714b3a87d2ac21d4d6b7b64d32332487308c6002
Tiago Batista posted a patch to fix the build:

Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.

Andrew Bartlett
(This used to be commit 95831a015ae076b52256961f771f50dd9b278e33)
source4/auth/ntlm/auth_unix.c
source4/torture/winbind/struct_based.c
source4/winbind/wb_samba3_cmd.c