summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2001-03-15Final ! Fix.Jeremy Allison1-2/+8
Jeremy. (This used to be commit 58dd295882a944934014a31c61eed35bf04fc2bd)
2001-03-15Last attempt at fix...Jeremy Allison1-1/+1
Jeremy. (This used to be commit f2680842d755aa77bc70e1c4329fd513c00fece6)
2001-03-15Return correct error message if we can't get the SID secret.Jeremy Allison1-2/+8
Jeremy. (This used to be commit c202ebe3b6aa413fa7b00ec6d1b3f123f1e1a55b)
2001-03-15Fixed a Dr. Watson when viewing permissions - we were missing the "standaloneJeremy Allison1-0/+2
server" case. Jeremy. (This used to be commit b318a754e7d8504072e8d968ee5fe581d105392f)
2001-03-15AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison6-16/+16
Jeremy. (This used to be commit 28a0bc5f5710aa732db662caa38f9da2138b5db2)
2001-03-13Move to a handle database per pipe name, not per pipe.Jeremy Allison3-40/+115
Jeremy. (This used to be commit a24b248a77ccac364832ff7d4df083d437caf9ed)
2001-03-13rpc_parse/parse_samr.c: Removed unneeded deubg.Jeremy Allison1-15/+10
rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly to a w2k client. Jeremy. (This used to be commit 500c7bc0fed16713401643bdede67cc0c8044d52)
2001-03-13AS/U does setuserinfo2, level 0x12 when joining a domain - identical to ↵Jeremy Allison1-0/+5
setuserinfo level 0x12. Jeremy. (This used to be commit d4ad197f711d5c5f2f60083b396f6dd7e6eca8c0)
2001-03-13Fixed reading of strings from big-endian RPC clients.Jeremy Allison6-18/+18
Jeremy. (This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-13Ensure we never return passwords from a user query.Jeremy Allison1-13/+62
Jeremy. (This used to be commit 37248e99e8b8d8a7e247d968b93a7d0cf5f63c8e)
2001-03-13Ensure we return the correct names/sids on query info. AS/U showed us whatJeremy Allison1-3/+20
we should return here. Jeremy. (This used to be commit d22c6067032e167d4558f4954c58d87404de6d9d)
2001-03-12Ok - we're now sending back policy handles to bigendian AS/U correctly.Jeremy Allison1-1/+10
Jeremy. (This used to be commit 67e09aea47b73e5a72aae638a58b56f2ef67f8af)
2001-03-12Looks like AS/U doesn't set the FIRST flag in a BIND packet.Jeremy Allison1-1/+5
Jeremy. (This used to be commit a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f)
2001-03-11Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison1-38/+48
now in pipe struct (where used) rather than user_struct. Secured machine account password changing in srv_netlog_nt.c - ensure that only the given machine can change its own password. May need to free this up later for NT admin tools, but this is a fail-safe secure position for now. Jeremy. (This used to be commit 46b12f2275dcd4b3114085160cd456441f9e921e)
2001-03-11Ensure we're checking for the "FIRST" flag in other types of PDU than "REQUEST"Jeremy Allison1-4/+6
(ie. BIND, BINDRESP and ALTERCONTEXT) - if we don't do this then we don't set the endianness flag correctly for these PDU's. Herb - this should fix the bug you reported to me today. Jeremy. (This used to be commit dde795154cdc33cb8d6f0dfe9ae2712f7f8be3a7)
2001-03-11Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2-4/+4
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison18-3708/+1465
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-10Notused.Jeremy Allison1-708/+0
Jeremy. (This used to be commit 635c4cd8e6d29a1fe5043838ae1cb3028e66d060)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2-19/+55
We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
2001-03-08Fix for AS/U not liking it's own assoc_gid.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 81fe571daf62ff3f53d7137dcd30312b6874b786)
2001-03-07Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison5-43/+32
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
2001-03-03Fixed up overrun read when marshelling SYSTEMTIME struct. This was a subtle ↵Jeremy Allison1-2/+4
one... Jeremy. (This used to be commit 65275e73ee7c58352ee20175cbbb43378e16f417)
2001-03-03Roll back to using malloc/realloc on some of spoolss in head.Jeremy Allison3-59/+62
I'm having problems with talloc_realloc in the 2.2 branch and I want a stable reference. The only problem is this breaks the clean auto-generated code in *one* call in srv_spoolss.c (the rfnpcnex call). Jeremy. (This used to be commit 57a9340cbafa40f3a41e6c676c6f2477855fd799)
2001-03-02Arrgggh. Returning the SPOOL_INFO stuff requires that the reallocedJeremy Allison1-23/+36
data be realloced between different functions. This took a *long* time to track down (even with insure :-). Jeremy. (This used to be commit e61899f490e0d4109a5fc2faa04eefb934e8448c)
2001-03-02Move to talloc controlled NT forms.Jeremy Allison1-26/+9
Jeremy. (This used to be commit 3e190e693375c6032dd64bf8dd3c90f90dc4e3b4)
2001-03-01Don't return stack structures...Jeremy Allison1-12/+18
Jeremy. (This used to be commit 94b72c19fe435d31e14e69a3fc9808e75638726a)
2001-03-01Fix memory leaks introduced in restructure.Jeremy Allison1-15/+13
Jeremy. (This used to be commit a355e11201e4dcb495b65b86e79de40d94c52a5b)
2001-03-01When opening a printserver use a global snum of -1.Jeremy Allison1-2/+2
Jeremy (This used to be commit 3f44cb6103fe8df9182fbbca7dc7888171b4352a)
2001-03-01rpc_parse/parse_spoolss.c: Fixed memory leak introduced by restructuring.Jeremy Allison1-4/+7
rpc_server/srv_spoolss_nt.c: Fixed problem with printer snum being read uninitialised. Jeremy. (This used to be commit 1552db715da576b41060f0d31d2c4cdec790c1d4)
2001-03-01Remove unused code.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 3495d5cc3ba0f380fc78389b9ba17235ccd97ae4)
2001-03-01Ensure that SPOOL_NOTIFY_OPTION structs are safely copied out of the tallocJeremy Allison1-14/+62
area into the Printer_entry struct - these are used for changenotification. Jeremy. (This used to be commit 4c2a49168e53b5ed96d61c6bae908086c3852f64)
2001-02-28Finished converion of spoolss code to canonical format. Now to work on theJeremy Allison2-114/+200
PRINT_XX struct alloc/free issues. Jeremy. (This used to be commit db98d4b020032b2a934b21bfdf9082765692fc5a)
2001-02-28Fix for stack return from "Jim McDonough" <jmcdough@hotmail.com>.Jeremy Allison1-3/+8
Jeremy. (This used to be commit 7f45836c85df9cb04d062b71afa5e55014841859)
2001-02-28More converted to canonical format. Home now - do the rest tomorrow...Jeremy Allison2-75/+113
Jeremy. (This used to be commit 9d5979f51ec7b2a62fb9b290eb0393594cfa6224)
2001-02-28Converted more to canonical format... save as I go.,Jeremy Allison2-26/+40
Jeremy. (This used to be commit 1d4ff7a81bccce0e5701102314af4f9c64c55cd6)
2001-02-28Ooops - forgot to check the rpcclient and smbcacls compile with the newJeremy Allison2-9/+17
code :-(. Jeremy. (This used to be commit 70beabf73bdaad7b6a60e24b7a11798a411bed02)
2001-02-28Partial conversion of SPOOLSS code to canonical format. More to follow.Jeremy Allison2-54/+98
Once complete then the PRINTER_XX functions and structures will be converted to talloc control. Jeremy. (This used to be commit 8171cc56428920d8b765d077198893201f68766e)
2001-02-28Move to talloc control of SPOOL_XXX structs. Move to talloc control ofJeremy Allison2-145/+27
security descriptors and pointers. Syncup with 2.2 tree. Jeremy. (This used to be commit 14d5997dc841e78a619e865288486d50c245896d)
2001-02-27Don't marshal data from a stack frame.....Jeremy Allison1-8/+14
Jeremy. (This used to be commit 86ee091b3b5814813fbabd20f6de77ed94049ca3)
2001-02-27Added total memory allocated counter to talloc, so we can tell if a tallocJeremy Allison1-12/+24
pool is getting bloated. Also added a talloc_zero function to return zeroed memory. Added debug in rpc_server/srv_pipe_hnd.c so we know when a talloc pool is being freed. Syncup with srv_pipe_hnd.c from 2.2 so we are freeing memory at the same time. Jeremy. (This used to be commit d3a56c6042acf037bbd53de88d7636a5803ead20)
2001-02-27Hmmm. I thought I'd added these files to CVS head.....Jeremy Allison3-0/+3673
Jeremy. (This used to be commit d573700a9218bce8efd21f0be70afec6b460f8b9)
2001-02-27Separated dfs pipe into implementation and interface modules.Jeremy Allison1-337/+60
rpc_parse/parse_dfs.c: Had to add buffer overrun checking ! HOW DID THIS GET IN HERE ! rpc_parse/parse_prs.c: Ensure prs_alloc_mem does a memset of zero before returning. Jeremy. (This used to be commit c9a6a17025f4a6850cd2b9a9ddb48bdeec8b3ffe)
2001-02-27Implementation module for netlog pipe. Can't be easily integrated intoJeremy Allison1-0/+663
HEAD right now due to passdb changes - placeholder added. Jeremy. (This used to be commit eb88512cff67200f95213db5c1340ceb448af57c)
2001-02-26Split srvsvc pipe into interface and implementation modules.Jeremy Allison1-978/+95
Jeremy. (This used to be commit e14c88ddf466f17a710724fb4fc273d37a244d77)
2001-02-26Split wks pipe into interface and implementation modules.Jeremy Allison2-53/+88
Jeremy. (This used to be commit 6a16b3850fdc4d6750ef2046f1db934f1ef92f17)
2001-02-26Separated lsa code into interface and implementation.Jeremy Allison2-515/+60
Jeremy. (This used to be commit 1cc96e0340b9e3ac343d6a28211bf0cc5bc6573b)
2001-02-26Added implementation file for lsa.Jeremy Allison1-0/+475
Jeremy. (This used to be commit 72e7c261e85b9cad19b93fb160168531290a5404)
2001-02-26Started conversion of lsa server code to canonical format (as srv_reg andJeremy Allison1-58/+93
srv_samr have been). Jeremy. (This used to be commit f434cda9774b4864321b37b0f8f42e6e8dee8d5b)
2001-02-25Separated reg code into interface & implementation.Jeremy Allison2-171/+207
libsmb/namequery.c: Removed ununsed variables. Jeremy. (This used to be commit b857113f400551c57ac400a9cdc3c752085d107d)
2001-02-23include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison1-5/+31
include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We need these to be different as we're storing LPQ_xx enums in the tdb already. rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now returning status codes. smbd/lanman.c: Change the RAP status codes to have "RAP" in the name. printing/printing.c: Keep track of the status of a job. Allow a job to be deleted from one smbd when being submitted by another. Made logic in mutex clearer. Jeremy. (This used to be commit 71029da7dd74eb91dd6953752bdf238f319d985d)