James, Could you take a look at this bug please : https://bugzilla.samba.org/show_bug.cgi?id=5675 Tim Waugh from Red Hat has posted a bugfix which looks correct to me but the comment claims you know of a problem with it. More info gratefuly received :-). Thanks, Jeremy.