[Samba] "CREATOR OWNER" with samba

Joris De Pooter joris.de.pooter at atempo.com
Mon Oct 17 12:32:02 GMT 2005


Gerald (Jerry) Carter a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Joris De Pooter wrote:
> 
> | It's me again,
> |
> | Today, I saw one of my user couldn't delete its own print job.
> | I think there's a problem with unix access rights, because
> | from my linux  box as root I was able to delete that job
> | with lprm command.
> |
> | Here's a truncated listing of my /var/spool/cups directory :
> |
> | -rw-------  1 root lp   630 Aug  1 17:26 c13354
> | -rw-r-----  1 root lp 38346 Aug  1 17:22 d13352-001
> |
> | As you can see, the job d13352-001 is owned by root:lp
> | although my user is logged (with winbind) as tartenpion.
> | Is this the reason why my user tartenpion can't delete his
> | own job ? I think this is strange, and moreover Cups is
> | setup to run as lp:lp
> |
> | What's the good way to fix this ?
> | Thanks for any help, cheers !
> 
> Newer versions of Samba should run the lprm command as root
> if you pass the print_access_check().  Have you tested
> the 3.0.14a release?  I don't remember when I fixed that bug.
> 
> 

Hi,

It seems I never pass the print_access_check() : I tweaked the 
lprm command to write some debug info (likely lprm command = echo 
pass >> /tmp/toto) but no luck, the lprm command is never executed.

Please can you help me ?


-- 
Joris De Pooter
Tél.: +33(0)164868319


More information about the samba mailing list