creating and using some pdb_init_(sam/smb) routines. putting ldap headers