CVS update: samba/source/rpc_server

Jeremy Allison jra at au2.samba.org
Thu Mar 8 17:08:29 EST 2001


Date:	Thursday March 8, 2001 @ 17:08
Author:	jra

Update of /data/cvs/samba/source/rpc_server
In directory samba:/tmp/cvs-serv25160/rpc_server

Modified Files:
      Tag: SAMBA_2_2
	srv_lsa_hnd.c srv_lsa_nt.c srv_pipe_hnd.c srv_reg_nt.c 
	srv_samr_nt.c srv_spoolss_nt.c 
Log Message:
Fairly big (but needed) change. Move to per-pipe POLICY handles.
All policy handles will be destroyed on pipe close. No bitmap
used, and all handles allocated/deleted in the same way.
The ugly, handle specific code in srv_lsa_hnd.c has been removed,
now each handle type can store a private data field along with
a function that will free the private data on handle close.
This means the linked list of printer handles has been removed,
as all the info has been added into the pipes_struct.
The only issue was enumerating all printers across all open
pipes on a change message receipt. This was acheived by adding
an enumerate pipes function. This will be a little difficult to
move to HEAD due to the samr changes, and probably needs a little
more testing with insure.
However, even if it turns out that handles are persistent between
NT pipes in the same smbd I can fix this by transferring the handle
linked list to another pipe of the same type on handle close if this
turns out to be the case.
Jeremy.





More information about the samba-cvs mailing list