1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/source3/smbd
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
..
.cvsignore get away with dummy and .dummy files 1998-09-29 04:52:17 +00:00
blocking.c Small update to clitar.c to omit warnings about servers not 1998-09-26 00:41:20 +00:00
challenge.c the first independent msrpc daemon - lsarpcd. 1999-12-06 00:44:32 +00:00
chgpasswd.c modified domain_client_validate to take trust account name / type. this 1999-11-20 20:54:29 +00:00
close.c delineation between smb and msrpc more marked. smbd now constructs 1999-12-12 01:25:49 +00:00
conn.c some cleanups to use ZERO_STRUCT() and friends 1998-09-05 13:24:20 +00:00
connection.c Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls. 1998-11-17 20:50:07 +00:00
dfree.c converted smbclient to use clientgen.c rather than clientutil.c 1998-11-09 03:45:49 +00:00
dfs.c more dfs stuff. this looks like it's going to be more appropriate to use 1999-07-15 20:44:24 +00:00
dir.c Forgot about closedir() function for VFS. Hoo embarassing. 1999-04-08 03:01:18 +00:00
dosmode.c Use VFS operations for file I/O. 1999-04-04 06:25:13 +00:00
error.c move soem variables from server.c that don't belong there. 1998-08-17 13:44:05 +00:00
fileio.c Changed arguments to fsync() function to break dependency on 1999-04-20 03:29:05 +00:00
filename.c more dfs stuff. this looks like it's going to be more appropriate to use 1999-07-15 20:44:24 +00:00
files.c spelling mistake. 1999-08-13 21:11:38 +00:00
groupname.c "retired" two modules to preserve their cvs history. 1998-11-29 20:06:52 +00:00
ipc.c delineation between smb and msrpc more marked. smbd now constructs 1999-12-12 01:25:49 +00:00
mangle.c removed comment line at end of file 1998-11-02 16:20:25 +00:00
message.c Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls. 1998-11-17 20:50:07 +00:00
negprot.c reading in smb server domain name from SMBnegprot response 1999-09-16 22:46:45 +00:00
noquotas.c lib/charcnv.c: Improved debug comment. 1998-11-06 18:40:51 +00:00
nttrans.c - bug in nmbd registering DOMAIN_NAME<1c> to WINS server; recursion 1999-11-19 01:01:07 +00:00
open.c Fix incorrect conversion of fd_attempt_open() calls to vfs_ops.open(). 1999-04-05 05:19:34 +00:00
oplock.c sys_select added one more argument (read, write selectors). 1999-12-01 02:15:14 +00:00
password.c delineation between smb and msrpc more marked. smbd now constructs 1999-12-12 01:25:49 +00:00
pipes.c - added DCE/RPC "fault" PDU support. 1999-11-15 22:11:10 +00:00
predict.c Use VFS operations for file I/O. 1999-04-04 05:46:40 +00:00
process.c sys_select added one more argument (read, write selectors). 1999-12-01 02:15:14 +00:00
quotas.c Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls. 1998-11-17 20:50:07 +00:00
reply.c the first independent msrpc daemon - lsarpcd. 1999-12-06 00:44:32 +00:00
server.c ABOUT TIME!!!!!!!! 1999-12-08 21:43:03 +00:00
service.c Copy service name into vfs_connection_struct. 1999-07-22 04:47:14 +00:00
ssl.c Putting back the -p flag in smbclient. 1999-01-25 01:46:14 +00:00
trans2.c more dfs stuff. this looks like it's going to be more appropriate to use 1999-07-15 20:44:24 +00:00
uid.c delineation between smb and msrpc more marked. smbd now constructs 1999-12-12 01:25:49 +00:00
vfs-wrap.c Fix compiler warning. 1999-05-06 23:52:00 +00:00
vfs.c Pass VFS options defined in smb.conf to vfs_init() function. 1999-07-22 04:43:59 +00:00