summaryrefslogtreecommitdiff
path: root/source3/lsaparse.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-30 01:05:13 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-30 01:05:13 +0000
commita275e5d4e16142a9924f8b97980f364a80df3b64 (patch)
tree037c7e130d66a1c9b34593b6aa2ad51294e02dad /source3/lsaparse.c
parentcbafcc4d03d960749fdeed111d0f78dadc399095 (diff)
downloadsamba-a275e5d4e16142a9924f8b97980f364a80df3b64.tar.gz
samba-a275e5d4e16142a9924f8b97980f364a80df3b64.tar.bz2
samba-a275e5d4e16142a9924f8b97980f364a80df3b64.zip
removed mechanism that created actual files NETLOGON, lsarpc and the like,
which are pipes on the IPC$ connection. created mechanism to record pipe names in a separate pipes_struct. it is planned to expand this, to return sensible things like interface structures, and policy handles (RPC_IFACE and LSA_POL_HND). and the like. (This used to be commit 33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75)
Diffstat (limited to 'source3/lsaparse.c')
-rw-r--r--source3/lsaparse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lsaparse.c b/source3/lsaparse.c
index 1da67da615..6da21ba5d2 100644
--- a/source3/lsaparse.c
+++ b/source3/lsaparse.c
@@ -35,6 +35,8 @@ void make_q_open_pol(LSA_Q_OPEN_POL *r_q, char *server_name,
DEBUG(5,("make_open_pol\n"));
+ r_q->ptr = 1; /* undocumented pointer */
+
make_unistr2 (&(r_q->uni_server_name), server_name, strlen(server_name));
make_obj_attr(&(r_q->attr ), attributes, sec_qos);
@@ -51,6 +53,8 @@ char* lsa_io_q_open_pol(BOOL io, LSA_Q_OPEN_POL *r_q, char *q, char *base, int a
DEBUG(5,("%s%04x lsa_io_q_open_pol\n", tab_depth(depth), PTR_DIFF(q, base)));
depth++;
+ DBG_RW_IVAL("ptr ", depth, base, io, q, r_q->ptr ); q += 4;
+
q = smb_io_unistr2 (io, &(r_q->uni_server_name), q, base, align, depth);
q = smb_io_obj_attr(io, &(r_q->attr ), q, base, align, depth);
@@ -69,6 +73,7 @@ char* lsa_io_r_open_pol(BOOL io, LSA_R_OPEN_POL *r_p, char *q, char *base, int a
DEBUG(5,("%s%04x lsa_io_r_open_pol\n", tab_depth(depth), PTR_DIFF(q, base)));
depth++;
+
q = smb_io_pol_hnd(io, &(r_p->pol), q, base, align, depth);
DBG_RW_IVAL("status", depth, base, io, q, r_p->status); q += 4;