1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source3/rpcclient
Luke Leighton 0ce128e355 delineation between smb and msrpc more marked. smbd now constructs
pdus, and then feeds them over either a "local" function call or a "remote"
function call to an msrpc service.  the "remote" msrpc daemon, on the
other side of a unix socket, then calls the same "local" function that
smbd would, if the msrpc service were being run from inside smbd.

this allows a transition from local msrpc services (inside the same smbd
process) to remote (over a unix socket).

removed reference to pipes_struct in msrpc services.  all msrpc processing
functions take rpcsrv_struct which is a structure containing state info
for the msrpc functions to decode and create pdus.

created become_vuser() which does everything not related to connection_struct
that become_user() does.

removed, as best i could, connection_struct dependencies from the nt spoolss
printing code.

todo: remove dcinfo from rpcsrv_struct because this stores NETLOGON-specific
info on a per-connection basis, and if the connection dies then so does
the info, and that's a fairly serious problem.

had to put pretty much everything that is in user_struct into parse_creds.c
to feed unix user info over to the msrpc daemons.  why?  because it's
expensive to do unix password/group database lookups, and it's definitely
expensive to do nt user profile lookups, not to mention pretty difficult
and if you did either of these it would introduce a complication /
unnecessary interdependency.  so, send uid/gid/num_groups/gid_t* +
SID+num_rids+domain_group_rids* + unix username + nt username + nt domain
+ user session key etc.  this is the MINIMUM info identified so far that's
actually implemented.  missing bits include the called and calling
netbios names etc.  (basically, anything that can be loaded into
standard_sub() and standard_sub_basic()...)
(This used to be commit aa3c659a8d)
1999-12-12 01:25:49 +00:00
..
cmd_atsvc.c moved at command over to new abstract connection system. matthew, you 1999-11-27 22:58:11 +00:00
cmd_brs.c moved browser command brsinfo over to new abstracted connection 1999-11-27 22:53:28 +00:00
cmd_eventlog.c this one's a handle-based one (missed in the first round). 1999-11-27 22:47:17 +00:00
cmd_lsarpc.c remove use of client_info lsa_info_pol. 1999-11-27 20:34:32 +00:00
cmd_netlogon.c ABOUT TIME!!!!!!!! 1999-12-08 21:43:03 +00:00
cmd_reg.c bug-fixing registry commands and the rpcclient "rpcclient" command. 1999-11-27 00:02:03 +00:00
cmd_samr.c delineation between smb and msrpc more marked. smbd now constructs 1999-12-12 01:25:49 +00:00
cmd_spoolss.c ABOUT TIME!!!!!!!! 1999-12-08 21:43:03 +00:00
cmd_srvsvc.c removed do_ prefix from srvsvc API 1999-11-27 22:35:58 +00:00
cmd_svcctl.c whoa. _major_ restructure of rpcclient. fixed some buuugs, created a few. 1999-11-26 23:04:19 +00:00
cmd_wkssvc.c updated \PIPE\wkssvc commands to use new abstracted connection system. 1999-11-27 22:34:12 +00:00
display_at.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_event.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_reg.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_sam.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_sec.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_spool.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_srv.c sys_select added one more argument (read, write selectors). 1999-12-01 02:15:14 +00:00
display_svc.c split display.c into modules. 1999-12-01 00:52:22 +00:00
display_sync.c split display.c into modules. 1999-12-01 00:52:22 +00:00
rpcclient.c ABOUT TIME!!!!!!!! 1999-12-08 21:43:03 +00:00