summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15007: fixed usage of cli_list() in smbwrapper so it compiles. This doesn't ↵Andrew Tridgell1-4/+4
get smbwrapper really working again, but at least it will help Timur Bakeyev in his question to make it work (This used to be commit e73ee08c84801f315f556d204007f053fda56dbf)
2007-10-10r14889: Fix smbwrapper compileVolker Lendecke2-3/+3
(This used to be commit 0f087fd40ad502513c3775587c07c86fc53bf718)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r9350: Fix direct malloc calls made by smbwrapper.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 8bac610239e97ebdbd63dfb175001b69bcb27b18)
2007-10-10r6412: Add fflush(stdout) after displaying username prompt in smbsh ifTim Potter1-0/+1
username not specified on command line. Bugzilla 2611. (This used to be commit b568e5188c3bc514d747b4c1c4e612e924fc6a4f)
2007-10-10r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter2-5/+21
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
2007-10-10r4236: More *alloc fixes.Jeremy Allison2-19/+17
Jeremy. (This used to be commit 6b25a6e088390d33314ca69c8f17c869cec3904b)
2007-10-10r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernelsAlexander Bokovoy1-0/+13
there is SYS_utimes syscall defined at compile time in glibc-kernheaders but it is available on 2.6 kernels only. Therefore, we can't rely on syscall at compile time but have to check that behaviour during program execution. An easy workaround is to have replacement for utimes() implemented within our wrapper and do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by packager), skip these syscall shortcuts. (This used to be commit e278e2e6e095b1c01eab307d55edf2cde48dcba2)
2007-10-10r39: * importing .cvsignore filesGerald Carter1-8/+0
* updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2003-12-26Collecting another little patch from gd@suse.deVolker Lendecke1-1/+1
As broken as it might be, smbwrapper.so should be put into the libdir and not bindir. Volker (This used to be commit d74137d227cfb7b09294f4429fa09b10d3d01229)
2003-11-02Whoops - missed a place where HAVE_STAT_ST_{BLOCKS,BLOCKSIZE} guardsTim Potter1-0/+4
should be present. (This used to be commit 08aa3f712c193aac5ad3d30e720c218c642738c0)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-2/+2
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-10-14Enclose usage of st_blksize and st_blocks struct stat members inTim Potter1-0/+8
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>. (This used to be commit 18adfdbe0c6ed79ba8ac07956b1e7abc226556c3)
2003-04-24Patch from Guenther Deschner to fix build with gcc 3.2Jelmer Vernooij1-6/+6
(This used to be commit ab631b31fbabc25cd74ca46fd583cd857538953c)
2003-04-23Parinoia for compleatly broken SMB servers that don't send back the rightAndrew Bartlett1-2/+3
fstype for IPC$ - assume the device type is IPC. Andrew Bartlett (This used to be commit 5ec78042124589d7d4e377581c187712950c93b2)
2003-04-23Make this safe for -DDEVELOPER checks.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 39fb77d8c1d9dddf00e8063198157bf77fb58a8f)
2003-03-17Fix building --with-smbwrapper.Tim Potter2-24/+6
(This used to be commit 1fb5c92bfb96d966a31d5a4d882a411b9c0b497c)
2003-02-19Merge minor library fixes from HEAD to 3.0.Andrew Bartlett1-5/+5
- setenv() replacement - mimir's ASN1/SPNEGO typo fixes - (size_t)-1 fixes for push_* returns - function argument signed/unsigned correction - ASN1 error handling (ensure we don't use initiailsed data) - extra net ads join error checking - allow 'set security discriptor' to fail - escape ldap strings in libads. - getgrouplist() correctness fixes (include primary gid) Andrew Bartlett (This used to be commit e9d6e2ea9a3dc01d3849b925c50702cda6ddf225)
2002-11-13Fix smbwrapper from global* changes.Jeremy Allison2-4/+4
Jeremy. (This used to be commit fcbf865162562e359ca4be44a689506d54636e18)
2002-01-30Removed version number from file header.Tim Potter10-20/+10
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30Unused file.Tim Potter1-22/+0
(This used to be commit 78013c0eccc1fed356781cf2fbba3025fcbb080c)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-3/+2
and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
2001-11-21W2K doesn't seem to respond to *#0 names in node status. Ensure nameJeremy Allison1-1/+1
lookup uses password server parameter when looking for PDCs. Jeremy. (This used to be commit 54c968913d6553c6d834b068234ab176917075eb)
2001-11-19Store some path names in global variables initialized to configureMartin Pool2-4/+3
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-17charset_initialise() doesn't exist anymore.Tim Potter1-2/+0
Why don't we build smbwrapper on a build farm machine to spot this sort of thing earlier? (This used to be commit 234943c066f7cc549b84980cef51116f30f3f7c4)
2001-10-11remove unused function in mangle.cSimo Sorce2-5/+10
fix some alloc leaks spotted by andreas moroder. (This used to be commit 39409a20f69078709c63f6f867c042e66d5c7de3)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter4-8/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-17move to SAFE_FREE()Simo Sorce3-28/+24
(This used to be commit a95943fde0ad89ae3f2deca2f7ba9cb5ab612b74)
2001-09-16fixed compilation error in smbwAndrew Tridgell1-11/+1
(This used to be commit d1e9fb7778268a626b0550fa350d55d8eec7706e)
2001-09-14merge from 2.2Gerald Carter1-0/+2
(This used to be commit 0e4d2384dee905c730d011595337ff5ecc260a13)
2001-09-10convert more code to use XFILEAndrew Tridgell1-1/+1
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-10declare dbf in one spotAndrew Tridgell2-2/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2-4/+4
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-08-23compile fixSimo Sorce1-1/+1
(This used to be commit c53c5eca157aae3cb48da9ef0157c153a65307da)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce1-1/+4
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2-3/+3
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell2-3/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-04-16Grr - fixed compile error in smbwrapper stuff.Tim Potter1-1/+1
(This used to be commit 11a7c5e3d61348dc8c5dfdc782a95974a1547e4d)
2001-04-12Added a caching system to smbsh. Previously access to workgroup or serverTim Potter2-7/+214
directories under /smb generated net share enum or net server enum calls. For large networks this could result in bad performance. We now cache these results and only call net * enums after the cache timeout has exceeded. (This used to be commit 1e38eef54d729aeb7fe905b344cf1480c686a348)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison1-5/+4
Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
2001-02-20setup workgroup when foundAndrew Tridgell1-0/+1
(This used to be commit 33aefc76e8594196e09094f65e5aa0bbfe47f357)
2001-01-16Fix for no master browser present.Tim Potter1-3/+4
(This used to be commit 24c78fdf5fb940b32724474241c464206b83be2f)
2001-01-15Compile fix for smbw_dir_add function.Tim Potter1-4/+5
(This used to be commit d7920a670b7706fc1d794edcfe6baacc5bb26403)
2001-01-05Needed a callback arg on cli_list ...Richard Sharpe1-2/+2
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
2001-01-05Added extra argument to calls to smbw_share_add()Tim Potter1-8/+8
(This used to be commit d006e6adca0548dad334d871c5d440b1d32ac879)
2001-01-04I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe1-5/+6
to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK. (This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
2001-01-02Return an empty directory for a stat on a share we aren't allowed toTim Potter1-7/+17
connect to. This gives a permission denied when a cd is attempted, but not a permission denied in the directory listing one level up. (This used to be commit 9255e526244578e092abc306491d5862469da775)
2000-12-20implemented a much nicer name_status() interface. It now returns aAndrew Tridgell1-3/+13
list of structures rather than the dodgy parsing code we had before this also gets smbw working correctly with no initial workgroup (using name_status_find on __MSBROWSE__ returns) (This used to be commit f2be88a8738a39ca5c98936edb7537cd701348a1)
2000-12-13Added support for SERVICESF shared variable to change configuration fileTim Potter1-1/+4
used in lp_load(). (This used to be commit 4d80ee4f41ac3d61579c9cf23cb815d7fe5da5db)
2000-12-11added support for browsing the list of workgroups at the top level inAndrew Tridgell2-57/+77
smbw (This used to be commit 8f97d59186ee3b52f623d30dfb7b195ec721ec0c)