CVS update: samba/source/lib

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


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

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

Modified Files:
      Tag: APPLIANCE_HEAD
	username.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:
username.c		1.31.2.23 => 1.31.2.24
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/username.c.diff?r1=1.31.2.23&r2=1.31.2.24



More information about the samba-cvs mailing list