I ran configure as follows ./configure --prefix=/usr/samba --sbindir=/usr/samba/bin --mandir=/usr/share/catman --with-acl-support --with-quotas --with-smbwrapper and I get the following error ld32: ERROR 33 : Unresolved text symbol "nt_status_to_pam" -- 1st referenced by nsswitch/winbindd_pam.o.