I think we will find we need this following 698d28ee8cf4ff8258f2e6fe9b88d81f842584aa, and it should be useful in general -- I have implemented an equivalent method at least once. It needs to go after Lumir's samba.compat.text_type patch. Douglas