You might be better off using %U, since that is the name of the user, not the name that samba finally assigns to him (in case you have guest accounts). Joel