summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
2002-06-10Merge of Jerry's fix from 2.2.Jeremy Allison1-5/+8
Jeremy. (This used to be commit 64af68924b8fc36caac3f978dc0f9deccc41e059)
2002-06-03Add user name to netsessenum RPC to stop 1783 messages. Also fix where ↵Jim McDonough1-5/+13
username was sent as machine name. (This used to be commit 2b4a5b56664cf3c99682b64c0fc5e2ebebb749b7)
2002-06-03Fixed bogus alignment in unmarshalling of SAMR_GET_DOM_PWINFO reply.Tim Potter1-4/+0
(This used to be commit 2e25b5c3099e48869e83a1e03943d3cc2a875f24)
2002-06-01Add rpc for file close, expand file enum to take usernameJim McDonough1-4/+67
(This used to be commit 4b18a94590a25882f06f88c3c7dd1a08bf990044)
2002-05-31Add fns for netshareadd and netsharedel rpcsJim McDonough1-4/+46
(This used to be commit 4e317163858d8a7f65984a8a8507a459ac1515cc)
2002-05-31Update netfileenum on both client and server sides to do an arbitrary numberJim McDonough1-65/+43
of files. This was done to better enable net rpc file. Perhaps we can start giving back real info this way, too. (This used to be commit b3fea72ee9abd2441a49c35442c54819e4ba16ba)
2002-05-31netfileenum was missing the username filter.Jim McDonough1-1/+8
(This used to be commit 8fc3dba8bd99c55bef9ac137976dd35134a49342)
2002-05-29Added netremotetod to try and figure out which srvsvc commands are deniedTim Potter1-0/+11
when using restrictanonymous. (This used to be commit 0c65978ed07903af808da5f32cc29531aef23225)
2002-05-28When marshalling a netshareenum request the share ctr has to be initialisedTim Potter1-1/+3
to an empty value instead of a null pointer otherwise the server service crashes on NT. (This used to be commit c7214baa0540a0c7d23d3023b2c2ff4cde0f9f7f)
2002-05-24merge from SAMBA_2_2.Gerald Carter2-3/+45
Tim, please check the prs_align() removed from sec_io_desc() and make sure it doesn't break anything else. I know it is right for the printing needs and I have tested some other general things like viewing acls on directories, but I would feel more comfortable if you would have a look as well. jerry (This used to be commit 83f109c940f30d9b35176540d8bdccbb22ffa3a1)
2002-05-20OK that last commit was incorrect - this call is parsed properly. I onlyTim Potter1-4/+0
imagined it wasn't! (This used to be commit bbad6c6678c89a33fb233091f5965ccd1aa589f6)
2002-05-20There's probably a pointer to a buffer at the end of a enumprinterdrivers()Tim Potter1-0/+4
rpc call which we currently don't parse - just added a comment about it for the moment as not parsing it is harmless. (This used to be commit 2429c4cc796576aa2d816a14b10fdd932b672a02)
2002-05-20No need to pass a fstring in make_spoolss_q_enumprinters()Tim Potter1-1/+1
(This used to be commit 1fb8e2b3a07fdc0bb302f02a451ed32a275f0c10)
2002-05-18A few things in this commit:Andrew Bartlett1-3/+20
cleanup some of the code in net_rpc_join re const warnings and fstrings. Passdb: Make the %u and %U substituions in passdb work. This is done by declaring these paramters to be 'const' and doing the substitution manually. I'm told this is us going full circle, but I can't really see a better way. Finally these things actually seem to work properly... Make the lanman code use the pdb's recorded values for homedir etc rather than the values from lp_*() Add code to set the plaintext password in the passdb, where it can decide how to store/set it. For use with a future 'ldap password change' option, or somthing like that... Add pdb_unix, so as to remove the 'not in passdb' special cases from the local_lookup_*() code. Quite small, as it uses the new 'struct passwd -> SAM_ACCOUNT' code that is now in just one place. (also used by pdb_smbpasswd) Other: Fix up the adding of [homes] at session setup time to actually pass the right string, that is the unix homedir, not the UNC path. Fix up [homes] so that for winbind users is picks the correct name. (bad interactions with the default domain code previously) Change the rpc_server/srv_lsa_nt.c code to match NT when for the SATUS_NONE_MAPPED reply: This was only being triggered on no queries, now it is on the 'no mappings' (ie all mappings failed). Checked against Win2k. Policy Question: Should SID -> unix_user.234/unix_group.364 be considered a mapping or not? Currently it isn't. Andrew Bartlett (This used to be commit c28668068b5a3b3cf3c4317e5fb32ec9957f3e34)
2002-05-17Make non-static for some later work (pushing the info3 across the winbindAndrew Bartlett1-2/+3
pipe for smbd to decode), and fix up the debug. (At least I assume it is wrong, can an expert care to comment?) (This used to be commit e5b4331ffa99d769b062053d6afc4772355fa5b2)
2002-05-17Add a touch of constAndrew Bartlett1-1/+1
(This used to be commit 3e93b216ddba14592a0193664c5d6bcbef898f1a)
2002-05-17A few more trusted domains updates from mimir.Andrew Bartlett1-18/+7
I think we may still need to look at our server enumeration code, but other than that, its much better in the tree than out. Andrew Bartlett (This used to be commit d57a1b4629d12a0374cc6d74dfc6f5d4793fcef8)
2002-05-14Added deleteprinterdata client rpc.Tim Potter1-1/+13
(This used to be commit 217ae50acd8cf088e268e7d2a6a7c192aca9e2f1)
2002-05-14Added writeprinter rpc command.Tim Potter1-0/+14
(This used to be commit a1934a7a8eda592e283a01014280ddb373564927)
2002-05-14Change make_spoolss_q_{get,set}printerdata() take a char* and length ratherTim Potter1-11/+31
than a unistr2. Printer data isn't necessarily in unistr format. Tallocate memory to hold returned data when unmarshalling getprinterdata and enumprinterdata replies. (This used to be commit 89633a1d87d2a437dc1ceab9439f415ee1ec606d)
2002-05-13compile fix merge from SAMBA_2_2Gerald Carter1-11/+21
(This used to be commit 2676be4e419878fbf74b619949e1d84c6186691c)
2002-05-13Support for client side startdocprinter.Tim Potter1-3/+63
Set useless_ptr = 1 for marshalling smb_io_doc_info() so it actually works. (This used to be commit 8e09e9454685f4638375247fdb4a1e7c6de91704)
2002-05-10misc merge from SAMBA_2_2Gerald Carter1-0/+4
(This used to be commit 0420098c47555224d2425845137e4159698e02c2)
2002-05-10devmode parsing merge from SAMBA_2_2Gerald Carter1-29/+74
(This used to be commit 59e49a79b485f5ba26dedff8a7d7fe1c8c77f16a)
2002-05-08Added client side spoolss rpc commands for startpageprinter,Tim Potter1-0/+60
endpageprinter, setjob and getjob. (This used to be commit d091a9d300c70b708218067d355c8282a6f14ab6)
2002-05-07Grr - the removal of the nnecessary prs_align() from relative unicodeTim Potter1-2/+0
strings didn't make it across into HEAD. (This used to be commit 4d715cb6829795b0fc0fe035ccb70ce0d1920c31)
2002-04-29don't set the owner and group sid offset is there are no owner or groupJean-François Micouleau1-4/+5
owner. J.F. (This used to be commit 68e9211f5df0480cb88d7d21140c4954da47e7ae)
2002-04-22merge from SAMBA_2_2Gerald Carter1-42/+19
(This used to be commit 5e381abbbfaa15f3ebd89cba3cd9bb6de8e4ff4e)
2002-04-14Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett3-27/+96
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett (This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
2002-04-11HP2500C driver writes devmode with private data that endsJeremy Allison1-0/+9
on a 2 byte boundary. We then miss-parse the desired_access. Also added other fixes to ensure we align after private data (discussed with Gerry). Jeremy. (This used to be commit 4369a58765f382e118e5393c805336484671cbf9)
2002-04-11specversion merge from SAMBA_2_2Gerald Carter1-0/+27
(This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)
2002-04-10Fixed missing alignment in spoolss_io_q_enumjobs() function.Tim Potter1-0/+3
(This used to be commit e878cdc9f59084f39c022f2faa140369f76e94ec)
2002-04-10Added Shirish's client side caching policy change.Jeremy Allison1-0/+114
Jeremy. (This used to be commit 16015c07eab2e57fa3771051e3e08fde21757cfa)
2002-04-09The useless_ptr must be non-zero for addform and setform client functionsTim Potter1-2/+5
to work. Note about setprinter level 1 not existing. (This used to be commit 6367bfc4781a678923f1fba4681c9b7fc6bb9710)
2002-04-04Fixed the handle leak in the connection management code (this code is crapJeremy Allison1-0/+6
and should be rewritten, just not now... :-). Jeremy. (This used to be commit 5de792e7e9c2ad1422ac146caba632baa3f4e5c5)
2002-03-26OpenPrinter() merge from 2.2Gerald Carter1-19/+76
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
2002-03-22Stomped on some header file version numbers that have crept back in.Tim Potter1-2/+1
(This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
2002-03-20resetprinter merge from SAMBA_2_2Gerald Carter1-12/+12
(This used to be commit 88d8897e21749f177952b264031aa386bbbeaaeb)
2002-03-20Fix for debug typo.Jeremy Allison1-1/+1
(This used to be commit 5b43519219991fe14c8ce1993c16557bf5ceccb4)
2002-03-17Added dos_errstr() function. Not all errors in list yet.Tim Potter1-1/+1
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-1/+1
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-15syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter1-41/+232
in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions (This used to be commit 5760315c1de4033fdc22684c940f18010010924f)
2002-03-14Remove studly gaps from prs_werror() calls so the same debug text isTim Potter2-11/+11
logged. This makes it much easier to use grep on log files when searching for errors. (This used to be commit ab1ebd377931166f2ecded784a0182102d4c1ca2)
2002-03-10yipee! Finally put in the patch from Alexey KotovichAndrew Tridgell1-23/+243
<a.kotovich@sam-solutions.net> that adds the security decsriptor code for ADS workstation accounts thanks for your patience Cat, and thanks to Andrew Bartlett for extensive reviews and suggestions about this code. (This used to be commit 6891393b5db868246fe52ff62b3dc6aa5ca6f726)
2002-03-05Fix the NTSTATUS -> WERROR for srvsvc pipe.Jeremy Allison1-36/+38
Jeremy. (This used to be commit 2b85d3570c2b149049482c3878c50cf8f5bfca61)
2002-03-02more constAndrew Bartlett1-2/+2
(This used to be commit f0b16b7b515296d0e687e084564fe0718f189dc8)
2002-03-02And a little more const.Andrew Bartlett1-3/+3
(This used to be commit 044391b5973f6070abf6ac185c74ffd713e933c5)
2002-02-27Patch for Domain users not showing up from "Ivan Zhakov" <vunny@mail.ru>.Jeremy Allison1-11/+11
Jeremy. (This used to be commit 3f9063167f3fc9ae7e7fd753d76ece23c1d97800)
2002-02-25Implemented client side functions for SPOOLSS addform, getform, setform andTim Potter1-2/+36
enumforms. (This used to be commit e69222f0816878e3211e3dedb049de50ca90fed0)
2002-01-31Added make functions for SPOOL_Q_{ADD,SET,DELETE}FORM.Tim Potter1-1/+42
I'm pretty sure that the useless_ptr in spoolss_io_q_setform() needs to be initialised to 1 otherwise the form isn't marshalled at all. JF, can you verify this? If so then this probably applies to the io functions for setform and deleteform. (This used to be commit 1803778451a344c6c8d116eac5eaac777e5cf4fe)