Fix Samba3 on OpenIndiana.