summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17877: Make it explicit to the checker that we can never passJeremy Allison1-2/+1
in NULL as ctr to a void returning fn. Jeremy. (This used to be commit 397ab2b1ab72093ba0572493b2e97a93dfc75478)
2007-10-10r17454: Adding dfs_EnumEx for rpcclient (Samba4 IDL to follow).Günther Deschner1-1/+89
Guenther (This used to be commit 8c1198c1592e7c07904b448ed7a54b9b23c941df)
2007-10-10r17453: Fix msdfs RPC management (this broke with the autogenerated dfs rpcs).Günther Deschner1-19/+1
* Remove "unknown" from dfs_Enum (samba4 dfs IDL updates to follow). * When encountering an unsupported infolevel the rpc server must reply with a dfs_info_0 structure and WERR_OK (observed from w2k3 when talking to nt4). Guenther (This used to be commit f9bef1f08f7d2a4c95c28329ac73e8646f033998)
2007-10-10r17363: Some C++ warningsVolker Lendecke2-9/+10
(This used to be commit fd82f185a2e0f94bfb75f4eee072556ad94bf27d)
2007-10-10r17316: More C++ warnings -- 456 leftVolker Lendecke2-9/+12
(This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
2007-10-10r17136: Fix alignment on lsaquery. This broke in particular level 6, where ↵Volker Lendecke1-0/+3
the client tried to figure out which role we are. Needs to go into 23a. Thanks to Karolin for insisting and setting up the test case :-) Volker (This used to be commit 3482bb1ef57e60397df8dcf1b29999161359c42a)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison12-386/+585
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16601: Klocwork #2038. Fix memleak on error path.Jeremy Allison1-10/+10
Jeremy. (This used to be commit 934dddb2fa9fb60a87c0b0be81db97f2b59c7cb0)
2007-10-10r16378: Klocwork #1079. Allow BUFFER5 to cope with a NULLJeremy Allison1-34/+38
dependentfiles pointer. Jeremy. (This used to be commit 05c50d99a4b1d2bc11a83e07902082227d7c074a)
2007-10-10r16377: Klocwork #1077.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 72709a8465caf5b7d95911250234f203b0ff4675)
2007-10-10r16373: Fix Klocwork #1071.Jeremy Allison1-2/+8
Jeremy (This used to be commit 080464b93d965a583b2b5f248a2bb8a7fb516e6f)
2007-10-10r16371: Fix Klocwork #1048.Jeremy Allison1-2/+10
Jeremy. (This used to be commit 5057e90db32adf4395fc2a3fce26a7f64c780828)
2007-10-10r16369: Klocwork #1035.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 6924d1cd443e4f7eb7b634c97c92effd6373ff12)
2007-10-10r16365: Fix Klocwork #895, #898, #899, #915, #932, #938 and aJeremy Allison1-1/+2
few other problems Klocwork missed. Jeremy. (This used to be commit fe05769a1a85f924c67be7e5dcee4871a86948d7)
2007-10-10r16362: That's the best way to fix a Klocwork bug: Remove the (unused...;-) codeVolker Lendecke1-50/+0
altogether. This was essentially a second implementation if string_to_sid. Klocwork ID 1038 Volker (This used to be commit e35f901067b702f5e61733a6edabc610a7dd5aab)
2007-10-10r16299: Fix another "dereferencing type-punned pointer will breakJeremy Allison1-2/+7
strict-aliasing rules" gcc4 warning. Jeremy. (This used to be commit ee77dde9b6375423f95f31455d06cef7303400be)
2007-10-10r16126: Janitor for Volker..... This looks correct to me.Jeremy Allison1-20/+15
Jeremy. Fix a parsing error that became apparent in 'make test': If we have no group rids in the info3 we set the array buffer pointer to "1" but fail to actually ship the array. Volker. (This used to be commit ee1b9207d3119c2b3e7c1c4e59250dbd323eae6a)
2007-10-10r16060: This is one of the more dirty patches I've put in lately. Parse ↵Volker Lendecke1-1/+3
enough of SetUserInfo level 25 to survive the join method XP uses if the user did not exist before. For good taste this contains way too much cut&paste, but for a real fix there is just not enough time. Up to 3.0.22 we completely ignored that a full level 21 is being sent together with level 25, but we got away with that because on creation we did not set the "disabled" flag on the workstation account. Now we correctly follow W2k3 in this regard, and we end up with a disabled workstation after join. Man, I hate rpc_parse/. The correct fix would be to import PIDL generated samr parsing, but this is would probably be a bit too much for .23... Thanks to Tom Bork for finding this one. Volker (This used to be commit 5a37aba10551456042266443cc0a92f28f8c3d0d)
2007-10-10r15884: Fix bug #3803 from jason@ncac.gwu.edu - bad comparison.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1d9dbe3b662ea757224ca4d8c991ae73bb92ae8d)
2007-10-10r15453: Process all the supported info levels in the samr_query_domain_info2Günther Deschner1-0/+16
call. Guenther (This used to be commit 9b0731b2a9b45153356f9f7fad384a02028a8bd3)
2007-10-10r15452: Again purely cosmetic reformat of the samr query domain info calls.Günther Deschner1-22/+22
Guenther (This used to be commit 6ed7d7fa70e3f750f921192c0f75594d608875b7)
2007-10-10r15443: Purely cosmetic reformat, no functional changes.Günther Deschner1-174/+175
Guenther (This used to be commit ef40428d935831bdb19111c933d20e381647f6f8)
2007-10-10r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).Günther Deschner1-7/+118
Also return the hostname for the level 6 call (to be consistent with the server name in level 2). Guenther (This used to be commit 41b72e77ae70c96de4659af6b4b6bd842dd67981)
2007-10-10r15441: cleanup older unused padding.Günther Deschner1-2/+0
Guenther (This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f)
2007-10-10r15438: Fix samrQueryDomainInfo level 5 where we returned our netbiosGünther Deschner1-5/+5
name eversince instead of the domain name when we are a DC. Yes, there are applications relying on this call to be correct. Guenther (This used to be commit 26dd22c9af8caf3db236984e4683ba210376ca59)
2007-10-10r15041: Adding rpc client calls to manipulate auditing policies on remote CIFSGünther Deschner1-117/+317
servers. Also add a new "net rpc audit" tool. The lsa query infolevels were taken from samb4 IDL, the lsa policy flags and categories are partly documented on msdn. I need to cleanup the double lsa_query_info_policy{2}{_new} calls next. Guenther (This used to be commit 0fed66926f4b72444abfc8ffb8c46cca8d0600aa)
2007-10-10r14829: Fix reversed test in coverity fixes.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f1b4e870a52cbd7bb780b206e943987648523060)
2007-10-10r14778: Fix coverity null deref bugs #268 - #271.Jeremy Allison1-1/+24
Jeremy. (This used to be commit 0a1ccfefcf27c5970b82bf8a451bcdaa4fee1bd0)
2007-10-10r14776: Fix coverity #263 - #267. No one was checking tallocJeremy Allison1-7/+88
returns. Doh ! Jeremy. (This used to be commit 68097e0fbb8f232573a2f7eae3da3a0c9873fbc5)
2007-10-10r14774: Fix null deref coverity bugs #260, #261, #262.Jeremy Allison1-2/+13
Jeremy. (This used to be commit 46e575af17cefb0ce7a1fdfacf29f90ae36fa72e)
2007-10-10r14772: Fix coverity bug #258. Seems coverity has discovered talloc :-).Jeremy Allison1-0/+14
Jeremy. (This used to be commit 488b7725168971e6e59f3a2a7476ce82df43579b)
2007-10-10r14770: Fix coverity bug #257. Possible null deref.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 4c126ef65dd07352ab936fff774c7435723f5395)
2007-10-10r14646: Adding samr querygroup infolevels 2 & 5.Günther Deschner1-0/+67
Guenther (This used to be commit 6c4fe819c69f281915ad0f4c3bde4dfb194aa33a)
2007-10-10r14643: Merge dcerpc_errstr from Samba 4.Günther Deschner2-1/+32
Might need to rework prs_dcerpc_status(). Guenther (This used to be commit 38b18f428ba941f4d9a14fa2de45cb0cd793a754)
2007-10-10r14634: Many bug fixes thanks to train rides and overnight stays in airportsGerald Carter1-0/+29
* Finally fix parsing idmap uid/gid ranges not to break with spaces surrounding the '-' * Allow local groups to renamed by adding info level 2 to _samr_set_aliasinfo() * Fix parsing bug in _samr_del_dom_alias() reply * Prevent root from being deleted via Samba * Prevent builting groups from being renamed or deleted * Fix bug in pdb_tdb that broke renaming user accounts * Make sure winbindd is running when trying to create the Administrators and Users BUILTIN groups automatically from smbd (and not just check the winbind nexted groups parameter value). * Have the top level rid allocator verify that the RID it is about to grant is not already assigned in our own SAM (retries up to 250 times). This fixes passdb with existing SIDs assigned to users from the RID algorithm but not monotonically allocating the RIDs from passdb. (This used to be commit db1162241f79c2af8afb7d8c26e8ed1c4a4b476f)
2007-10-10r14387: Try and fix the coverity issues (#53, #54) with negativeJeremy Allison1-1/+1
sink by ensuring all uses of rpcstr_push are consistent with a size_t dest size arg. Jeremy. (This used to be commit f65d7afe1977d9d85046732842f9643716c15088)
2007-10-10r14298: The other half of Coverity # 217Volker Lendecke1-1/+1
(This used to be commit b9fb3fc0e3708b4721aaa1dcb7756d3774fb8db8)
2007-10-10r14232: Fix Coverity Bug # 218Volker Lendecke1-1/+1
(This used to be commit 932d769a32748695cfff4c761422feb2ef15acbb)
2007-10-10r14228: Fix Coverity bug # 217Volker Lendecke1-1/+1
(This used to be commit 680bd1b004f26b5a0449114911c85ca587038147)
2007-10-10r14219: Fix coverity #135. Don't deref a ptr if it can be NULL.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 666d427c6e10aa4194348e8acc3997682f090b48)
2007-10-10r14146: Just some typos.Günther Deschner1-2/+2
Guenther (This used to be commit ade86cc787e266850fee982b008a9caf2c8ed7e7)
2007-10-10r14134: Fix Coverity bug # 137Volker Lendecke1-1/+7
(This used to be commit 62e58d939bf3abf71bb19aade57d406e07403bc8)
2007-10-10r14115: Fix coverity bug #23. Don't deref a potentially null ptr.Jeremy Allison1-1/+5
Jeremy. (This used to be commit df32eb70a45150e459997c2ae92c865cd0e083f6)
2007-10-10r14092: Fix coverity bug #22. Ensure no possible nullJeremy Allison1-1/+5
deref. Jeremy. (This used to be commit 0026fb0b2843271c27e9dc02a32e88d580bebbc3)
2007-10-10r14090: Fix coverity bug #21, don't deref potential null.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 76c4d5212bcb5f54472c9ceac2368078ebad7a3b)
2007-10-10r14083: Fix coverity bug #19. Don't deref possible NULL.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fc8e1e5c02dd950ed1f8656a5d7ab47fa7ec1ea7)
2007-10-10r14080: Fix Coverity bug #18. Ensure non-null before ref.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 617c5805e59dd601b8841251032e3db4d6a64621)
2007-10-10r14061: Some debugging for the new LOGON/ACB-flags.Günther Deschner1-0/+9
Guenther (This used to be commit 7616317f9f45dfbc453a7687e8b8b6ff57ddb0a3)
2007-10-10r14047: Coverity fix #17. Ensure srv_name and info cannotJeremy Allison1-0/+4
be zero before deref. Jeremy. (This used to be commit fbf9db6624d9584a26ae302df3c76555bbd2bb1e)
2007-10-10r14045: Coverity fix #14. Ensure if len is set buf != NULL.Jeremy Allison1-0/+5
Jeremy. (This used to be commit fb1a6073321840fecf22f3e0f7541f5ad87f5e49)