Date: Wed Jun 18 06:39:36 2003 Author: jerry Update of /data/cvs/samba/source/printing In directory dp.samba.org:/tmp/cvs-serv4352/printing
Modified Files: Tag: APPLIANCE_HEAD nt_printing.c Log Message: another fix fro CR 2179. I think this is the last one 1) orders print_access_check() by: a) root can do anything (easy check) b) check security descriptor (bit comparisons in memory) c) "printer admins" (may result in numerous calls to winbind) 2) cache the groups for the last user we looked up in user_in_winbindd_group_list(). Might need a timeout here, but since the user token is created at session setup time, i don't really think this is a problem. 3) removes the 1/2 delay in open_printer_ex() since I don't believe it is helpful in the general sense (see the comments as to why it was there in the first place). 4) use the IP address fdrom the original socket when establishing the change notify session to a client instead of resolving the name from scratch. (backport from 3.0) Revisions: nt_printing.c 1.83.2.124 => 1.83.2.125 http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/nt_printing.c.diff?r1=1.83.2.124&r2=1.83.2.125