Using the following doesn't work:
path = /mnt/H44//%U
browseable = yes
writeable = yes
preserve case = yes
valid users = %D+%U
comment = Home Share
short preserve case = yes
But changing valid users to write list works, i.e.:
write list = %D+%U
It also fails with %S, etc.
Looking through level 10 logs shows smbd not expanding the macros:
[2003/09/02 15:11:33, 10] lib/username.c:user_in_list(504)
user_in_list: checking user MIXEDDOMAIN+dl in list
[2003/09/02 15:11:33, 10] lib/username.c:user_in_list(508)
user_in_list: checking user |MIXEDDOMAIN+dl| against |%s|
[2003/09/02 15:11:33, 2] smbd/service.c:make_connection_snum(384)
user 'MIXEDDOMAIN+dl' (from session setup) not permitted to access this share (dl)
[2003/09/02 15:11:33, 3] smbd/error.c:error_packet(109)
Logs available if necessary.
confirmed. This is a bug in user_ok(). Working on a fix.
Fixed in SAMBA_3_0 cvs tree. See checkins to
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.