Samba4 does not expand wildcard/variables in the path when looking up a share. For example "path = /srv/cifs/userdata/%u" does not resolve in the same manner as when using Samba3
This will get fixed once the s4 fileserver cuts over to the s3 fileserver codebase for file serving (which is needed for a final Samba4 release). Jeremy.