Jerry, > is the current header file correct ? or just incomplete? You might like to look at security.idl in Samba4. I replaced all the access mask defines with ones that are consistent. Cheers, Tridge