> This was the clue I needed, and attached is my proposed patches. > > Nadya: Is there a testsuite I should add this too, and as this is your > code, can you look over the patch? I can confirm that after applying both patches, samba no longer segfaults and I can bind the MacOS client without problem. Many thanks, Adam