summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-01-21don't free() auto variables; fixes segfault when looking up ↵Gerald Carter1-3/+5
RefusePasswordChange registry value (This used to be commit d89b0bff44fe31244b1835aee0c96c4900d90dc6)
2003-01-21don't free() auto variables; fixes segfault when looking up ↵Gerald Carter1-3/+5
RefusePasswordChange registry value (This used to be commit b3fc458e9e4b90deb971dd2495786e74c8b425bd)
2003-01-19strip any trailing \'s from reg key names in an openGerald Carter1-2/+10
(This used to be commit 03807cd56429e167ca8f3c003a4468461ecb854b)
2003-01-19strip any trailing \'s from reg key names in an openGerald Carter1-2/+10
(This used to be commit d13f727c4b442d2327d134a0944c15f4cdc82aa2)
2003-01-18Fix some debug levels (were set to 0 with RPC module patch), andJim McDonough1-4/+4
change one fprintf(stderr,...) to DEBUG. (This used to be commit 77f8913977343023f8ce123c305dcffc7463357b)
2003-01-18removing extra debug statementGerald Carter1-2/+0
(This used to be commit 657f8c25a585a02b86f4021e38641ee896f098d2)
2003-01-18removing extra debug statementGerald Carter1-2/+0
(This used to be commit 1244ef3dbec1b63eee48d3086661afe26e23e4c0)
2003-01-17Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough9-255/+422
for instructions. (This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
2003-01-17Fix reference count bug where smbd's would not terminate with noJeremy Allison1-17/+0
open resources. Jeremy. (This used to be commit 0173d6fe164568a73247fa542895443fad6c20c3)
2003-01-17Fix reference count bug where smbd's would not terminate with noJeremy Allison1-17/+0
open resources. Jeremy. (This used to be commit b7e5a2c5474e9edd8fa783462af8986b6bd426a5)
2003-01-17reverted this patch till I sort out the craziness with UNIHDRAndrew Tridgell4-21/+24
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
2003-01-17This removes the 3rd argument from init_unistr2(). There were 240Andrew Tridgell4-24/+21
calls to init_unistr2() in the code and every one of them got the 3rd argument incorrect, so I thought it best just to remove the argument. The incorrect usage was caused by callers using strlen() to determine the length of the string. The 3rd argument to init_unistr2() was supposed to be the character length, not the byte length of the string, so for non-english this could come out wrong. I also removed the bogus 'always allocate at least 256 bytes' hack. There may be some code that relies on this, but if there is then the code is broken and needs fixing. (This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)
2003-01-15*lots of small merges form HEADGerald Carter1-0/+1
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-15small merges from SAMBA_3_0; mostly typos, renames, etc...Gerald Carter1-1/+1
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
2003-01-15merging some rpcclient and net functionality from HEADGerald Carter1-0/+12
(This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
2003-01-14Merge from HEAD:Andrew Bartlett2-7/+7
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-14The last of the fstring/pstring mixups, and an extra 'static'.Andrew Bartlett1-2/+2
(This used to be commit b328b67fd8fd605636ed58ffd33cf5be3d480672)
2003-01-14A couple more pstcpy/fstrcpy mixups - doing an fstrcpy into a pstring isAndrew Bartlett1-3/+3
harmless, but breaks my automated check. (This used to be commit e5d2b1f6c3c0883054f4e0eab2cac958706a790d)
2003-01-11[merge] make sure to update print queue cache during timeout_processing() to ↵Gerald Carter1-9/+40
send notify events; CR 1491 (This used to be commit f8a915b14d63e4fdb99235053eeb896ef9492068)
2003-01-11typo from mergeGerald Carter1-1/+1
(This used to be commit 1f33b4acb32c5461b9249d3786ea5fc6898e5f18)
2003-01-11[merge] make sure to updatre print queue cache during timeout_processing() ↵Gerald Carter1-11/+42
to send notify events; CR 1491 (This used to be commit 142c5029c701e7a82074e301278846c02843f46f)
2003-01-09a 0 length printer data value is not a memory allocation error; fix CR601Gerald Carter1-2/+10
(This used to be commit 3442c270f1bc67890f4e2de3386fcfdec610170d)
2003-01-09a 0 length printer data value is not a memory allocation error; fix CR601Gerald Carter1-2/+10
(This used to be commit 47c1709425e0c8c1e57d95dd4441b1424a5b914c)
2003-01-04The last of the merge of idra's shutdown changes from head...Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3b24da8f9971e73b9cb4396e6a18c0694d279aa3)