Bug 4087 - Valid users brokens in 3.0.23c
Summary: Valid users brokens in 3.0.23c
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.23b
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 09:26 UTC by sean o'malley
Modified: 2007-03-19 12:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sean o'malley 2006-09-07 09:26:00 UTC
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.
Comment 1 Björn Jacke 2006-10-30 13:07:58 UTC
does it work if you write

valid users = %D%wmlprint

?
Comment 2 Gerald (Jerry) Carter (dead mail address) 2007-03-19 12:47:33 UTC
closing.  no response.