There's another, subtle bug in the LDAP backend that Andrew Bartlett of the SAMBA team discovered: storing HDBFlags as an integer is both compiler and byte-order dependent. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com