Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.
From: "Espen H. Koht" <ehk20@cus.cam.ac.uk> Date: Wed, 28 Feb 2001 16:08:07 +0000 (GMT) Subject: PPR: User names and Samba problem in 1.42 David, With the second change you sent me, ppad ppdopts now works as expected. However, I have another problem, which I'm starting to think might be a bug: Old and new box both run the exact same versions of Linux and samba (2.0.7-3 debian package). Old box runs PPR-1.40 New box runs PPR-1.42 With minor differences (path to includes being the main one) both machines have the same smb.conf file. I'm running 'security = share' and 'public = yes' so I don't need users to exist on the print server. On the old box I get entries like these in /var/spool/ppr/log/printlog: 20010227163254,admin1:SC-4050-36.0(admin1),SC-4050,"ehk20",nobody,"scp24@samba" ... On the new box however, I get: 20010227153743,ppr:SC-4050-60.0(ppr),SC-4050,"nobody",nobody,"scp24@samba" ... (ehk20 being the person who logged into the machine which submitted the job, and not a user local to either admin1 or ppr). I can't see any problem with my samba configuration (although that's what I suspected in the first place and have been staring at until my head hurts!), but in debugging the problem I changed the bit where ppr gets invoked in /usr/lib/ppr/lib/smb-protos.conf that goes: print command ... %m@samba -f %U .... to print command ... %U@samba -f %U .... simply to find out what samba thinks %U is (very primitive debugging technique I know, but my brain was a bit fried at the time). In any case, from my printlog I now know that samba does provide the expected value for %U, so the question is now why it doesn't end up in field 4 of printlog like before. Has something changed? What can I do about it? Espen