summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2001-05-24Added srv_get_info client command.Tim Potter1-0/+46
(This used to be commit ee599c9481c26d8407f03a9897eb5f1abd1e47f1)
2001-05-24Added logon control2 client call.Tim Potter1-29/+15
(This used to be commit 8d5f2027095c3fb9240db238fb6d405aeefef1ef)
2001-05-24Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter2-0/+224
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
2001-05-17merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter1-0/+57
in separate commit after I get it working in 2.2. (This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-05-17Fix a small warning about char * vs unsigned char * that gets some compilersRichard Sharpe1-1/+1
in a twitch. (This used to be commit 672242a52eafde35cba4657bce248fef0df9e46b)
2001-05-17Further recasts to sockaddr * rather than sockaddr_in *Richard Sharpe1-3/+3
(This used to be commit b0ba25e22d101acbe4079bc81759a4e0c8a7e6d8)
2001-05-15Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVALRichard Sharpe1-24/+24
is a better return code anyway (I knew that :-) (This used to be commit 0bf2797b183b4d709a401ebdb2d5f3d5b1c907af)
2001-05-14Compile fixes for dynamic samr_query_userinfo() stuff.Tim Potter1-3/+2
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
2001-05-11Use talloc_strdup() instead of strdup().Tim Potter1-1/+1
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
2001-05-11Memory leak fixes plus general cleanup.Tim Potter1-1/+4
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)
2001-05-08Fix for query_dispinfo()Tim Potter1-0/+70
Added lookup_rids() function. (This used to be commit 9ff3c82a54a18d0d9f187c119656e58316c7eb0e)
2001-05-07Some reformatting (sorry Gerald).Tim Potter2-143/+155
Cleanup of exit paths. Added query domain info and query display info. (This used to be commit ff9e222e2ff3f50f4966d3c5859738a831c7adc9)
2001-05-07Fixed a compiler warning. Still more const warnings though. )-:Tim Potter1-1/+1
(This used to be commit a345b477a22f6261613d21d079b1632a9409c914)
2001-05-04Zero fnum when initialising a cli_state.Tim Potter1-0/+2
(This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451)
2001-05-04Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions.Tim Potter1-0/+107
(This used to be commit 0b3bc4375b8984fc16c8972d2b62762c1657f675)
2001-05-04Added cli_samr_enum_dom_groups() function.Tim Potter1-0/+77
(This used to be commit 5a3b7d8b1302fd11321c4a65161de169b41f5d9e)
2001-05-01Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison1-12/+1
with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
2001-04-28- fixed some compiler warningsAndrew Tridgell1-1/+1
- fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter3-162/+300
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-22merging from 2.2 to headAndrew Tridgell4-55/+195
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-04-15Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other thanJeremy Allison1-4/+12
nmbd to talk to nmbd if it's a WINS server. Jeremy. (This used to be commit 0e8147aecaf6941c77fd05b4b705ca31c1ec5760)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2-7/+7
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-03-30This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison1-4/+4
when copying to a full disk problem, I discovered that we were not allowing the delete on close flag to be set properly, this led to other things, and after investigation of the proper delete on close semantics and their relationship to the file_share_delete flag I discovered there were some cases where we weren't doing the deny modes properly. And this after only 5 years working on them..... :-) :-). So here's the latest attempt. I realised the delete on close flag needs to be set across all smbds with a dev/ino pair open - in addition, the delete on close flag, allow share delete and delete access requested all need to be stored in the share mode tdb. The "delete_on_close" entry in the fsp struct is now redundant and should really be removed. This may also mean we can get rid of the "iterate_fsp" calls that I didn't like adding in the first place. Whilst doing this patch, I also discovered we needed to do the se_map_generic() call for file opens and POSIX ACL mapping, so I added that also. This code, although ugly, now passes the deny mode torture tests plus the delete on close tests I added. I do need to add one more multiple connection delete on close test to make sure I got the semantics exactly right, plus we should also (as Andrew suggested) move to random testing here. The good news is that NT should now correctly delete the file on disk full error when copying to a disk :-). Jeremy. (This used to be commit 51987684bd231c744da2e5f3705fd236d5616173)
2001-03-29Added cli_nt_delete_on_close() call to allow flag to be set for torture tests.Jeremy Allison1-0/+41
Jeremy. (This used to be commit 6f7d9e29e4d3a17254ff0ae20c0da63eacded7fe)
2001-03-29Added cli_nt_create_full() as a way to get at all the ntcreate parameters.Jeremy Allison1-6/+20
Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full(). Jeremy. (This used to be commit f602fa1205e99541e825ccae8502c35cd0e7ccfc)
2001-03-28rename of 16 new_smb_io functions to smb_io_* for consistency sakeGerald Carter1-10/+10
(merge from 2.2) (This used to be commit ea963a648b889da9e47661c61c7fafe13b277e75)
2001-03-28More memory leaks fixed courtesy of Insure ...Richard Sharpe1-11/+44
(This used to be commit 4fc385ca6830cb2ac6198501966088fbed27330e)
2001-03-27merge from 2.2.Gerald Carter1-3/+3
(This used to be commit 817258f1174d27d74e8b21ffb5f1384db2238007)
2001-03-27One small Insure fix for a memory leak. More fixes to come perhaps ...Richard Sharpe1-2/+52
Also fixed an error return for smbc_rmdir so that we can distinguish between EACCES and ENOTEMPTY (This used to be commit f204901fcc11eb3299cc6c7f3793fc3c7bd6bc57)
2001-03-19reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter1-1/+1
(This used to be commit fd6bfe03f4454272bdce59c78ae7148a72caaf18)
2001-03-18fixed some compilation errors with IRIX ccAndrew Tridgell1-2/+2
(This used to be commit e430ded56e9c15a462a171e6350f1eddefa8dd11)
2001-03-16added STR_ASCII support to clistr_pull()Andrew Tridgell2-5/+6
(This used to be commit 797293811ef0a79eecc460c471135c89090f8c06)
2001-03-15addprinter and adddriver are working now :-)Gerald Carter1-0/+106
(This used to be commit 0cb7639cef4a1ba0d56d7e58bd7e03343cbf229d)
2001-03-15added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter1-2/+94
(This used to be commit 5d321673850e1e28e1bee4093705d7e319421687)
2001-03-15added getdriver and enumdrivers commands. Also fixedGerald Carter1-8/+217
enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient. (This used to be commit 83d6bc4454f0cda581d26de32a4fcaad42431b34)
2001-03-15more updates. several spoolss commands added as placeholdersGerald Carter1-1/+1
to be filled in one at a time. (This used to be commit 6aaac3766324302b995b5a55876bf2ab74af1ff8)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter3-33/+35
back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
2001-03-14simpler clistr interface which handles individual packets havingAndrew Tridgell4-60/+18
unicode bit set differently to capabilities (This used to be commit 34a0821e087810381996f5ff6cf3b4d7b9bb53a0)
2001-03-11Ok - everything now compiles in HEAD (at least the default stuff). WeJeremy Allison1-1/+1
should now be ready for the trivial winbindd port..... (Tim ? :-). Jeremy. (This used to be commit 85021b16388e8efc15ac57bf1a7c01bba552bf41)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-3/+0
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-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell7-74/+74
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-03-09Missed some prs_inits.Jeremy Allison2-29/+29
Jeremy. (This used to be commit 7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2-14/+14
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-09More SGI type fixes ...Richard Sharpe1-5/+7
(This used to be commit 26d7d8af2903b1f24da51c78e12f54a1d42ed798)
2001-03-07Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe1-6/+7
(This used to be commit e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
2001-03-06Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe1-1/+52
wrong interface defn. (This used to be commit 317e369c3e20206c9f8b36a91dc666ebeede68ec)
2001-03-05smb.h: add one error code for no such printer jobRichard Sharpe1-3/+28
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job (This used to be commit 7557f9145ccdced3fcebdd20e1eb6fc5a27abda2)
2001-03-01Fix two problems identified by the test suite, one a major oneRichard Sharpe1-3/+61
where I was indexing through a NULL pointer :-( (This used to be commit 5f1ea70e110bd3b97a4c75b2fe0edef22847550b)
2001-03-01Fixed compiler warning.Tim Potter1-4/+4
(This used to be commit 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)