CVS update: samba/source/rpc_server

jerry at samba.org jerry at samba.org
Wed Jun 18 16:39:37 EST 2003


Date:	Wed Jun 18 06:39:37 2003
Author:	jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv4352/rpc_server

Modified Files:
      Tag: APPLIANCE_HEAD
	srv_spoolss_nt.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:
srv_spoolss_nt.c		1.95.2.255 => 1.95.2.256
	http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c.diff?r1=1.95.2.255&r2=1.95.2.256



More information about the samba-cvs mailing list