Hello, I've got further on this but i don't think i'm getting everything. I've not got the add machine script working at all, and the add user to group script which i use pw for, adds the user to one group but if he's already in other groups it removes membership. If anyone has samba3 on a freebsd 5.x or 6.x box i'd love to hear from you. Thanks. Dave.