>So you need to initialize the berval structure to this: > >> + struct berval authzid = { 0, "" }; Indeed, that's what I meant :-) -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com