Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r160: Fix msdfs proxy. Could others please also test this, this code is soo | Volker Lendecke | 2007-10-10 | 1 | -7/+9 |
| | | | | | | | | | cluttered. I've tested with w2k and xp with msdfs proxy and normal msdfs root, but I would like others to also look at the code. Thanks, Volker | ||||
* | Move the Client-IP based msdfs target expansion to a VFS module. | Volker Lendecke | 2004-03-26 | 1 | -134/+5 |
| | | | | Volker | ||||
* | Always use strchr_m, not strchr on unix character sets. | Jeremy Allison | 2004-03-26 | 1 | -4/+4 |
| | | | | Jeremy. | ||||
* | After briefly talking to jerry, commit this: | Volker Lendecke | 2004-03-26 | 1 | -5/+134 |
| | | | | | | | | | | | | | | | | | | | | | Redirect clients to shares based on the the client's IP address. The msdfs link has the following form: temp1 -> msdfs:@/data/tmp/redir@\temp The file /data/tmp/redir has the contents: 192.168.234.128 closest 192.168.234 close default Everything in between the @-signs in the link target is replaced by the substituion in the file. Jerry, errors in the filename expansion are now answered with NT_STATUS_OBJECT_NAME_NOT_FOUND Volker | ||||
* | jra's patch -- fix anonymous self referral code to check that a share is an ↵ | Gerald Carter | 2004-03-25 | 1 | -6/+6 |
| | | | | msdfs root first | ||||
* | Added a varient of Volker's patch to fix the "self-referrals as anonymous user" | Jeremy Allison | 2004-03-18 | 1 | -19/+49 |
| | | | | | problem. Jeremy. | ||||
* | Allow msdfs symlink syntax to be more forgiving (it took me ages to remember | Jeremy Allison | 2004-03-12 | 1 | -4/+12 |
| | | | | | | | | what it was :-). Allow msdfs links to now look like UNC paths : eg. sym_link -> msdfs://server/share/path/in/share or : sym_link -> msdfs:\\server\share\path\in\share Jeremy. | ||||
* | Ensure we use check_path_syntax() to pull out DFS paths. | Jeremy Allison | 2004-03-11 | 1 | -7/+2 |
| | | | | Jeremy | ||||
* | Moving towards getting msdfs working again (this looks like it was broken | Jeremy Allison | 2004-03-10 | 1 | -5/+62 |
| | | | | | | | in 3.0.2a actually). We now send a correct referral back, but the client refuses to follow it... Not sure why. Will do more tests.. Maybe unicode character count is wrong (it looks it). Jeremy. | ||||
* | Fix dfs referrals - don't use check_path_syntax. Also use mb char calls in | Jeremy Allison | 2004-03-09 | 1 | -10/+9 |
| | | | | | dfs code. Jeremy. | ||||
* | Remove references to 'jn' which gcc-3.4 with precompiled headers | Jeremy Allison | 2004-01-14 | 1 | -36/+36 |
| | | | | | doesn't like. Jeremy. | ||||
* | Don't log at level zero when chdir fails. Ensure correct error message is ↵ | Jeremy Allison | 2003-10-28 | 1 | -1/+2 |
| | | | | | | returned. Jeremy. | ||||
* | Fix for bug #667. DFS filenames can now have arbitrary case. | Jeremy Allison | 2003-10-28 | 1 | -47/+46 |
| | | | | Jeremy. | ||||
* | Put strcasecmp/strncasecmp on the banned list (except for needed calls | Jeremy Allison | 2003-10-22 | 1 | -3/+3 |
| | | | | | | in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. | ||||
* | fix some warnings found by the Sun C compiler | Gerald Carter | 2003-09-22 | 1 | -1/+1 |
| | |||||
* | When enumerating dfs shares loop from 0 to lp_numservices() instead of | Tim Potter | 2003-09-08 | 1 | -1/+1 |
| | | | | | | | relying on lp_servicename(n) to return an empty string for invalid service numbers. For some reason it is returning NULL now. Fixes bug 403. | ||||
* | More tuning from cachegrind. Change most trim_string() calls to trim_char(0, | Jeremy Allison | 2003-09-05 | 1 | -3/+3 |
| | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. | ||||
* | Return 0 DFS links instead of -1 when dfs support is not enabled. | Tim Potter | 2003-09-05 | 1 | -1/+1 |
| | | | | Possible fix for bug 403. | ||||
* | This file has been in the HOWTO for ages | Jelmer Vernooij | 2003-08-14 | 1 | -32/+0 |
| | |||||
* | fix MS-DFS (my bug) stupid return code error that cose me more time | Gerald Carter | 2003-08-10 | 1 | -0/+2 |
| | | | | that I would like to admit. | ||||
* | need to make sure that the connection struct mem_ctx is initialized and ↵ | Gerald Carter | 2003-08-08 | 1 | -25/+48 |
| | | | | destroyed | ||||
* | Removed strupper/strlower macros that automatically map to ↵ | Jeremy Allison | 2003-07-03 | 1 | -2/+2 |
| | | | | | | | strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. | ||||
* | Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵ | Alexander Bokovoy | 2003-05-14 | 1 | -7/+7 |
| | | | | VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out | ||||
* | Fix VFS layer: | Alexander Bokovoy | 2003-05-11 | 1 | -7/+7 |
| | | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow | ||||
* | For deep referrals, track consumed path using a counter, and calculate the | Shirish Kalele | 2003-04-23 | 1 | -10/+11 |
| | | | | consumed count only if and when it is needed. Check into SAMBA_3_0. | ||||
* | Handle deep referrals: check whether each component in the requested path of | Shirish Kalele | 2003-04-10 | 1 | -9/+10 |
| | | | | | a dfs referral is a dfs link, and redirect. Thanks to John Janosik <jpjanosi@us.ibm.com> for the patch. | ||||
* | Merge from HEAD. Use pstrcpy not safe_strcpy. | Jeremy Allison | 2003-02-24 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | Fix the msdfs proxy handling code in dfsenum to return the cumulative number of | Shirish Kalele | 2003-02-11 | 1 | -1/+1 |
| | | | | | | dfs links encountered. Previously the number was being mistakenly reset to 1. Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix. [Check into SAMBA_3_0] | ||||
* | Modify DfsEnum to handle 'msdfs proxy' shares. No NETDFS editing support for | Shirish Kalele | 2002-12-28 | 1 | -23/+27 |
| | | | | the proxy target. | ||||
* | Add msdfs proxy functionality; a CIFS share can directly be a stand-in for | Shirish Kalele | 2002-12-27 | 1 | -1/+21 |
| | | | | | another share, and when clients connect to the first share, they will be redirected to the proxied share. | ||||
* | updated the 3.0 branch from the head branch - ready for alpha18 | Andrew Tridgell | 2002-07-15 | 1 | -239/+379 |
| | |||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -2/+1 |
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. | ||||
* | get rid of compiler warnings (casts and delete unused variables) | Herb Lewis | 2001-10-23 | 1 | -2/+2 |
| | |||||
* | Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile. | Tim Potter | 2001-10-18 | 1 | -1/+1 |
| | |||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -3/+0 |
| | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 1 | -2/+2 |
| | |||||
* | Terminate dfs referral alternate path string. DFS now works again in head | Tim Potter | 2001-09-13 | 1 | -1/+1 |
| | | | | - hooray! | ||||
* | Converted msdfs referral server code to use rpcstr_push() functions. Still | Tim Potter | 2001-09-12 | 1 | -12/+10 |
| | | | | doesn't work though. )-: | ||||
* | - enable MSDFS by default, there seems no reason not to have it enabled | Andrew Tridgell | 2001-09-12 | 1 | -15/+0 |
| | | | | | | | | by default in Samba 3.x - got rid of some unused parameters in Makefile.in - declare DEBUGLEVEL in debug.h rather than in each file | ||||
* | Hmm - needs to be converted to pull/push unistr routines. But at least it | Tim Potter | 2001-09-12 | 1 | -2/+8 |
| | | | | compiles now which should keep the build farm happy. | ||||
* | converted smbd to use NTSTATUS by default | Andrew Tridgell | 2001-08-27 | 1 | -12/+0 |
| | | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night | ||||
* | this is a big global fix for the ptr = Realloc(ptr, size) bug. | Simo Sorce | 2001-08-12 | 1 | -2/+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 Tridgell | 2001-07-04 | 1 | -4/+4 |
| | | | | can't redefine them. damn. | ||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 1 | -4/+4 |
| | | | | | | | 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 should return the build to normallity. | Andrew Bartlett | 2001-06-30 | 1 | -2/+1 |
| | | | | | | | When you update an #ifdef'ed function, also update its matching null function or all hell breaks loose on the build farm! Andrew Bartlett | ||||
* | Ensured all the system calls in msdfs.c go through the vfs layer. | Jeremy Allison | 2001-06-29 | 1 | -569/+567 |
| | | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. | ||||
* | Got "medieval on our ass" about adding the -1 to slprintf. | Jeremy Allison | 2001-04-08 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Ran DFS on Linux and found that readlink() on Linux does not append NUL | Shirish Kalele | 2000-11-28 | 1 | -1/+3 |
| | | | | to the link read. So add a NUL.. | ||||
* | Missing conn parameter missed in vfs rewrite. | Jeremy Allison | 2000-10-09 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Changed MS_DFS to WITH_MSDFS throughout. | Shirish Kalele | 2000-05-26 | 1 | -97/+115 |
| | | | | Fixed trans2 calls on IPC$ to let dfs referral calls through. |