summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper
Commit message (Collapse)AuthorAgeFilesLines
* r17021: remove unsupported smbwrapper codeGerald Carter2007-10-1013-4382/+0
|
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-102-19/+19
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r15007: fixed usage of cli_list() in smbwrapper so it compiles. This doesn't ↵Andrew Tridgell2007-10-101-4/+4
| | | | get smbwrapper really working again, but at least it will help Timur Bakeyev in his question to make it work
* r14889: Fix smbwrapper compileVolker Lendecke2007-10-102-3/+3
|
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-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.)
* r9350: Fix direct malloc calls made by smbwrapper.Jeremy Allison2007-10-101-3/+3
| | | | Jeremy.
* r6412: Add fflush(stdout) after displaying username prompt in smbsh ifTim Potter2007-10-101-0/+1
| | | | username not specified on command line. Bugzilla 2611.
* r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter2007-10-102-5/+21
|
* r4236: More *alloc fixes.Jeremy Allison2007-10-102-19/+17
| | | | Jeremy.
* r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernelsAlexander Bokovoy2007-10-101-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.
* r39: * importing .cvsignore filesGerald Carter2007-10-101-8/+0
| | | | * updateing WHATSNEW with vl's change
* Collecting another little patch from gd@suse.deVolker Lendecke2003-12-261-1/+1
| | | | | | | As broken as it might be, smbwrapper.so should be put into the libdir and not bindir. Volker
* Whoops - missed a place where HAVE_STAT_ST_{BLOCKS,BLOCKSIZE} guardsTim Potter2003-11-021-0/+4
| | | | should be present.
* Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison2003-10-221-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.
* Enclose usage of st_blksize and st_blocks struct stat members inTim Potter2003-10-141-0/+8
| | | | | | | #ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>.
* Patch from Guenther Deschner to fix build with gcc 3.2Jelmer Vernooij2003-04-241-6/+6
|
* Parinoia for compleatly broken SMB servers that don't send back the rightAndrew Bartlett2003-04-231-2/+3
| | | | | | fstype for IPC$ - assume the device type is IPC. Andrew Bartlett
* Make this safe for -DDEVELOPER checks.Andrew Bartlett2003-04-231-2/+2
| | | | Andrew Bartlett
* Fix building --with-smbwrapper.Tim Potter2003-03-172-24/+6
|
* Merge minor library fixes from HEAD to 3.0.Andrew Bartlett2003-02-191-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
* Fix smbwrapper from global* changes.Jeremy Allison2002-11-132-4/+4
| | | | Jeremy.
* Removed version number from file header.Tim Potter2002-01-3010-20/+10
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Unused file.Tim Potter2002-01-301-22/+0
|
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-261-3/+2
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);
* W2K doesn't seem to respond to *#0 names in node status. Ensure nameJeremy Allison2001-11-211-1/+1
| | | | | lookup uses password server parameter when looking for PDCs. Jeremy.
* Store some path names in global variables initialized to configureMartin Pool2001-11-192-4/+3
| | | | default, rather than in preprocessor macros.
* charset_initialise() doesn't exist anymore.Tim Potter2001-10-171-2/+0
| | | | | Why don't we build smbwrapper on a build farm machine to spot this sort of thing earlier?
* remove unused function in mangle.cSimo Sorce2001-10-112-5/+10
| | | | fix some alloc leaks spotted by andreas moroder.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-024-8/+0
|
* move to SAFE_FREE()Simo Sorce2001-09-173-28/+24
|
* fixed compilation error in smbwAndrew Tridgell2001-09-161-11/+1
|
* merge from 2.2Gerald Carter2001-09-141-0/+2
|
* convert more code to use XFILEAndrew Tridgell2001-09-101-1/+1
|
* declare dbf in one spotAndrew Tridgell2001-09-102-2/+0
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-102-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.
* compile fixSimo Sorce2001-08-231-1/+1
|
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-121-1/+4
| | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also.
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-042-3/+3
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-042-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.
* Grr - fixed compile error in smbwrapper stuff.Tim Potter2001-04-161-1/+1
|
* Added a caching system to smbsh. Previously access to workgroup or serverTim Potter2001-04-122-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.
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-111-5/+4
| | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy.
* setup workgroup when foundAndrew Tridgell2001-02-201-0/+1
|
* Fix for no master browser present.Tim Potter2001-01-161-3/+4
|
* Compile fix for smbw_dir_add function.Tim Potter2001-01-151-4/+5
|
* Needed a callback arg on cli_list ...Richard Sharpe2001-01-051-2/+2
|
* Added extra argument to calls to smbw_share_add()Tim Potter2001-01-051-8/+8
|
* I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe2001-01-041-5/+6
| | | | | | to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK.
* Return an empty directory for a stat on a share we aren't allowed toTim Potter2001-01-021-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.
* implemented a much nicer name_status() interface. It now returns aAndrew Tridgell2000-12-201-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)