summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2003-03-24Fix two typosJelmer Vernooij1-1/+1
(This used to be commit 898a246c1650326cbd9b8ca49fb93963e589ea1f)
2003-03-24Give error message when module doesn't seem to containJelmer Vernooij1-0/+5
pipe functions (This used to be commit 4dd16790436d18f5ac5868538309128e3f8ad1cc)
2003-03-21(merge from HEAD)Andrew Bartlett1-7/+33
Give volker a hand, and let domain joins with existing user accounts work a bit better. This just sets the minimum possible attributes - if we are 'upgrading' an LDAP based user account, the attributes will be there anyway. This matches NT pretty well to. This also fixes some use of unitialised values in the desired_access checking. (found by valgrind). Andrew Bartlett (This used to be commit 536e24ee5b83eaa77be81dd50e3e1a5010b5abf4)
2003-03-21Give volker a hand, and let domain joins with existing user accounts workAndrew Bartlett1-12/+38
a bit better. This just sets the minimum possible attributes - if we are 'upgrading' an LDAP based user account, the attributes will be there anyway. This matches NT pretty well to. This also fixes some use of unitialised values in the desired_access checking. (found by valgrind). Andrew Bartlett (This used to be commit 929213ff2a5829ba8435ba1be0de317bca1e0da0)
2003-03-20lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison1-6/+0
Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit bf795b684e608f82db822e0759e7b69afd451b65)
2003-03-20lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison1-6/+0
Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)
2003-03-19Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij9-107/+2
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-18Ensure dev in make_connection is const.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e8155fade61e9dc308a82f442453803160c36806)
2003-03-18Ensure dev in make_connection is const.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1c6ea31b8f48b93606f4c5b6a0472571dc8a471e)
2003-03-16Make sure we mark the assumption of a fstring parameter for 'devicetype'Andrew Bartlett1-2/+7
in the function prototype, and change callers to respect this. Andrew Bartlett (This used to be commit 9f3d3c380120f16d76d68f346799282d61eec892)
2003-03-13Merge of Andrew Bartlett's SID limit fix from HEAD.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 98ed7e0cbbc693b486bb91855cb3331e51daef6c)
2003-03-07Limit the number of SIDs that may be looked up, in line with existing codeAndrew Bartlett1-0/+5
for name->sid. (This used to be commit 0ebccc0dbeecc10d423529909a2563fbc3bf9857)
2003-03-03Fix const warning.Jeremy Allison1-1/+1
Jeremy. (This used to be commit dedc18212a5174b6abac60ede9828f9b726a6c2d)
2003-03-03* always report ourselves as a Windows 2000 print server (evenGerald Carter1-8/+29
without ADS support) * add "MinorVersion" print server data key and comment on "OSVersion" (This used to be commit 342734e3de71c7dc8e3d24fd66dae58cf647a569)
2003-03-03* always report ourselves as a Windows 2000 print server (evenGerald Carter1-8/+29
without ADS support) * add "MinorVersion" print server data key and comment on "OSVersion" (This used to be commit e1383368169faa50b9e612c9f71f92f790698b48)
2003-03-03* CR1868: only send a change notify message if we have somethingGerald Carter1-1/+13
that changed that the client is monitoring. * couple of comments abnout how we need to validate driver names on SetPrinter() and AddPrinter() * up the debug level on some overly verbose dev mode parsing messages (This used to be commit 7377d671e8a95ac2ab0452f564b18b2a098699cb)
2003-03-03* CR1868: only send a change notify message if we have somethingGerald Carter1-3/+15
that changed that the client is monitoring. * couple of comments abnout how we need to validate driver names on SetPrinter() and AddPrinter() * up the debug level on some overly verbose dev mode parsing messages (This used to be commit e8939165b77c9e2ea8b3cef2e85885b9812c7184)
2003-03-01Added limit to number of jobs enumerated. Set to 0 (means no limit).Jeremy Allison1-0/+6
Yes I will add the docs.... Jeremy. (This used to be commit 4a739d914bb87a3c8d071dfd0f275a9aab1cf90a)
2003-03-01Added limit to number of jobs enumerated. Set to 0 (means no limit).Jeremy Allison1-0/+6
Yes I will add the docs.... Jeremy. (This used to be commit e1b0001c8df9e9823b42a372ca675188570b252a)
2003-02-27additional fix for CR 601Gerald Carter1-0/+6
* distinguish WinXP from Win2k * add a 1/3 of a second delay in OpenPrinter in order to trigger a LAN/WAN optimization in 2k clients. (This used to be commit c7712fa054d21b4884a78b7ea6c0fb8b3d637c6b)
2003-02-27additional fix for CR 601Gerald Carter1-0/+6
* distinguish WinXP from Win2k * add a 1/3 of a second delay in OpenPrinter in order to trigger a LAN/WAN optimization in 2k clients. (This used to be commit 96570699d1b715f47c35aa211da6ec18f6fc4109)
2003-02-25Progress on CR 601Gerald Carter1-155/+122
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok. (This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
2003-02-25Progress on CR 601Gerald Carter1-155/+122
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok. (This used to be commit 33c7b7522504fb15989f32add8e9a087c8d9d0fa)
2003-02-24Merge of server-side authentication changes to 3.0:Andrew Bartlett3-14/+14
- user_ok() and user_in_group() now take a list of groups, instead of looking for the user in the members of all groups. - The 'server_info' returned from the authentication is now kept around - in future we won't copy the sesion key, username etc, we will just referece them directly. - rhosts upgraded to use the SAM if possible, otherwise fake up based on getpwnam(). - auth_util code to deal with groups upgraded to deal with non-winbind domain members again. Andrew Bartlett (This used to be commit 74b5436c75114170ce7c780c19226103d0df9060)
2003-02-21i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/Gerald Carter1-1/+1
(This used to be commit 513fb2ddd85a74de7684a6cb09d57011af69161f)
2003-02-21s/unistr2_to_dos/unistr2_to_ascii/ to fix compileGerald Carter1-1/+1
(This used to be commit de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff)
2003-02-21couple of merges from APP_HEADGerald Carter1-3/+24
* performance optimization in enumprinterdataex() when keyname is empty * fix a few typos in comments * reload services after addprinter_command() dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ (This used to be commit fde6ef7cc62c58d512dc8053b214f0a3c59a78ab)
2003-02-21couple of merges from APP_HEADGerald Carter1-4/+25
* performance optimization in enumprinterdataex() when keyname is empty * fix a few typos in comments * reload services after addprinter_command() dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ (This used to be commit 3fc90ea1d9b11186f26484516a4dd8502b6d7323)
2003-02-21Fixed compiler warning.Tim Potter1-1/+1
(This used to be commit b3f9cf8c1c293e905a536dfa5bb6a827627b7024)
2003-02-20Make init_module() and thus smb_load_module() return an int.Jelmer Vernooij1-4/+4
modules/developer.c: init_module() should return an int (This used to be commit 7f59703550378ff2333e3c851bf1a77037510abd)
2003-02-18Use the new modules stuff to load dynrpc modules. Basically this means:Jelmer Vernooij9-33/+14
- calling the initialization function in the module init_module() instead of rpc_pipe_init() - calling smb_load_module() to do the dlopen(), dlsym() and init_module() calls I'll merge this to 3.0, together with the smb_load_module() function. Discussed with Anthony. (This used to be commit 3757ed8df06ca2b306bef336bdb9c7671f5e6a65)
2003-02-18set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985Gerald Carter1-10/+57
(This used to be commit 9a4b7a86fdaab04328b5017c1dd42480753a9a10)
2003-02-18set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985Gerald Carter1-10/+57
(This used to be commit 9efaef4a96a14bd1ffabf12326ff6f6903f663b2)
2003-02-17This patch fixes one of my longest-standing pet hates with Samba :-).Andrew Bartlett2-12/+12
When we look see if a user is in a list, and we try to 'expand' an @group, we should lookup the user's own list of groups, rather than looking for all the members of a group. I'm sure this will fix some nasty performance issues, particularly on large domains etc. In particular, this avoids contacting winbind at all, if the group is not a winbind group. (This caused a deadlock on my winbind-on-PDC setup). The groups list always includes the user's primary group, as per the getgrouplist manpage, and my recent changes to our implementation. Andrew Bartlett (This used to be commit 9be21976f7662ebe6eb92fff7cecbdb352eca334)
2003-02-15* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter1-1/+1
* never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504 (This used to be commit 043b9dff22e909fc290c34d879cad8b4c980fc13)
2003-02-15* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter1-1/+1
* never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504 (This used to be commit ffda9e2480414c7ed6156958f516e0d1f3c61350)
2003-02-14Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison3-28/+18
Needed to move to disk based i/o later. Jeremy. (This used to be commit 4c3ee228fcdb089eaeead95e79532a9cf6cb0de6)
2003-02-14Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison3-28/+18
Needed to move to disk based i/o later. Jeremy. (This used to be commit a823fee5b41a5b6cd4ef05aa1f85f7725bd272a5)
2003-02-14merge from HEAD - enable dynamic RPC modulesJim McDonough9-234/+400
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2003-02-13Removed unused variable.Jeremy Allison1-1/+0
Jeremy. (This used to be commit a29f1aa85f23fa82795a06ad81b26895b025954b)
2003-02-13Removed unused variable.Jeremy Allison1-1/+0
Jeremy. (This used to be commit c9654c8ec71903c59ff5f66c3fd6ea1baa599133)
2003-02-13Merge JohnR's patch.Jeremy Allison1-3/+1
Removed extra copy of server name in the printername field (it was mangling the the name to be \\server\\\server\printer ... yes, there were 3 backslashes) reported by get & enum jobs level 2. Jeremy. (This used to be commit d079edf7327acba7f00b5868e7e6ce91ddc1eb14)
2003-02-13Merge JohnR's patch.Jeremy Allison1-3/+1
Removed extra copy of server name in the printername field (it was mangling the the name to be \\server\\\server\printer ... yes, there were 3 backslashes) reported by get & enum jobs level 2. Jeremy. (This used to be commit 2d63f3a13d2cea794eb413023b83c4a1071eaea0)
2003-02-12initial server side privileges implementation, using a tdb. This needs to be ↵Andrew Tridgell1-5/+32
hooked into pdb, and we need some access control on changing privileges. That's next (This used to be commit f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e)
2003-02-11added server stubs for lsa_enum_acct_with_rightAndrew Tridgell2-0/+61
(This used to be commit aa2abacaf48924797b6803786c14c9f303185e4a)
2003-02-06added the LSA privileges server backend stubs. Right now they just logAndrew Tridgell2-1/+179
what was requested. (This used to be commit 64ac6c2bcb729c4658de48e929cc792681903ecc)
2003-02-05Fixed type.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ae635bb6ec05ded8a36d7876be8f3e1b8475e35b)
2003-02-05Fixed type.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 76c3ccf6ed258b43d7cf1222524d8e5d2bdc8c82)
2003-02-02Merge from HEAD: Send the session key to the client, allowing it to perform SMBAndrew Bartlett1-1/+10
signing. Andrew Bartlett (This used to be commit 9bcdb869e53ee8048dd69053b804bdaf55db7b91)
2003-02-02Send the user's session key in the SAMLOGON reply, so that a member server canAndrew Bartlett1-2/+11
use smb signing. Andrew Bartlett (This used to be commit 574e8a8ab7c94ecd9113df42e395e83632980675)