I am trying to restrict the user of a print share with valid users. I am using samba 3.0.23c on suse linux 10.. In my smb.conf file i have: #Visitor Printing [vslp_1] comment = Visitor printer create mode = 0700 path = /var/spool/samba printable = Yes public = No valid users = mlprint force user = visitor writable = No I compiled with ./configure --prefix=/usr/local/samba --with-pam --with-included-popt --disable-cups --with-syslog I am using pam to authenticate. What happens is i get login denied if I try to use the mlprint user. The error in the logs is: 2006/09/07 10:19:05, 2] smbd/service.c:make_connection_snum(571) user 'mlprint' (from session setup) not permitted to access this share (vslp_1) It doesn't work from either WinXP or the smbclient program, if I take out the "valid users" option, it works fine. I checked for a space after the user mlprint and there was none. Anything else you need to know just ask. I am kind of stuck on this.
does it work if you write valid users = %D%wmlprint ?
closing. no response.