Package: phpldapadmin Version: 1.2.0.5-2 As reported on http://sourceforge.net/tracker/?func=detail&aid=3003782&group_id=61828&atid=498546, there's a bug in the samba group mapping template. This was fixed on sourceforge but it's still present on the current debian package.
This bug will cause phpldapadmin to show php code instead of the samba sid when creating a samba group mapping and you wont be able to create group mappings.