summaryrefslogtreecommitdiffstats
path: root/docs/htmldocs/using_samba
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-08 06:08:30 +0000
committerJeremy Allison <jra@samba.org>2001-03-08 06:08:30 +0000
commit9384180af5873ce83710f5ec36b389d6e4134398 (patch)
tree647de10cc1f8ef2397a59694c32877f11d359296 /docs/htmldocs/using_samba
parentec49e660f2d51813d07e3103e2284e5bd6659a6f (diff)
downloadsamba-9384180af5873ce83710f5ec36b389d6e4134398.tar.gz
samba-9384180af5873ce83710f5ec36b389d6e4134398.tar.xz
samba-9384180af5873ce83710f5ec36b389d6e4134398.zip
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.
Diffstat (limited to 'docs/htmldocs/using_samba')
0 files changed, 0 insertions, 0 deletions