summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc.c
AgeCommit message (Collapse)AuthorFilesLines
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-329/+311
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-12delineation between smb and msrpc more marked. smbd now constructsLuke Leighton1-7/+7
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 aa3c659a8dba0437c17c60055a6ed30fdfecdb6d)
1999-08-18patch from michael glauche to add session enum code into smbd.Luke Leighton1-6/+36
(This used to be commit e90e38c66d51dc1808f716c016299b1604636ce9)
1999-08-17patch from Michael Glauche to list connections from STATUS..LCK.Luke Leighton1-7/+40
(This used to be commit 91a66dd5c3a551691fbf91e782cb6ff16dfea37b)
1999-05-03last part of RPC api change.Jean-François Micouleau1-6/+6
and of rpcclient eventlog funtion Jean Francois (This used to be commit 7fc8659e83bf0269df297016beac6793ff0bdf32)
1999-02-02server type announcements modified to include the "role" of the server:Luke Leighton1-6/+11
domain member, pdc, bdc. (This used to be commit d95bb252f838b3612f5eba5d2b61d7b38b01f5ef)
1998-09-29Got very strict about the differences and uses ofJeremy Allison1-6/+6
uid_t, gid_t and vuid. Added sys_getgroups() to get around the int * return problem. Set correct datatypes for all uid, gid and vuid variables. Jeremy. (This used to be commit e570db46fc3a78e499523fd342e9a34cebb18998)
1998-09-04Fixed uppercasing of share name (pointed out by Jean-Francois).Jeremy Allison1-1/+0
Jeremy. (This used to be commit dcce6b98d847d02148fb2ab15f8430b870e106bd)
1998-05-21jean-francois calling the right function for the "net t.o.d" dce/rpc supportLuke Leighton1-1/+1
does gmtime() not LocalTime() now. (This used to be commit 64559e72f3028917059dbcafd0b3425266f7d567)
1998-05-20dce/rpc net time command from jean-francois. does not support timezonesLuke Leighton1-0/+54
(This used to be commit 8e11d542eebe076d74ab264e22b87f7aed9bbe8f)
1998-04-25This looks like a big change but really isn't.Jeremy Allison1-4/+3
It is changing the global variables "myname" and "myworkgroup" to "global_myname" and "global_myworkgroup" respectively. This is to make it very explicit when we are messing with a global (don't ask - it makes the domain client code much clearer :-). Jeremy. (This used to be commit 866406bfe399cf757c8275093dacd5ce4843afa0)
1998-04-22Fixed bug found by Gerald Carter <cartegw@Eng.Auburn.EDU> whereJeremy Allison1-1/+0
global myname was being overwritten incorrectly. Jeremy. (This used to be commit a3e7cf1b8a2fc950d41f5f2d5318cf88874165cd)
1998-03-11"For I have laboured mightily on Luke's code, and hath brokenJeremy Allison1-0/+1015
all I saw" - the book of Jeremy, chapter 1 :-). So here is the mega-merge of the NTDOM branch server code. It doesn't include the new client side pieces, we'll look at that later. This should give the same functionality, server wise, as the NTDOM branch does, only merged into the main branch. Any fixes to domain controler functionality should be added to the main branch, not the NTDOM branch. This code compiles without warnings on gcc2.8, but will need further testing before we are sure all the working functionality of the NTDOM server branch has been correctly carried over. I hereby declare the server side of the NTDOM branch dead (and all who sail in her :-). Jeremy. (This used to be commit 118ba4d77a33248e762a2cf843fb7cbc906ee6e7)