summaryrefslogtreecommitdiff
path: root/source3/msdfs
AgeCommit message (Collapse)AuthorFilesLines
2004-03-18Added a varient of Volker's patch to fix the "self-referrals as anonymous user"Jeremy Allison1-19/+49
problem. Jeremy. (This used to be commit 9305cd4f2d8c2c18daaa197f1513da1c3d3ee7c1)
2004-03-12Allow msdfs symlink syntax to be more forgiving (it took me ages to rememberJeremy Allison1-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. (This used to be commit 3c89393e2907e4a3318fb3e94a911cd35f16b4c2)
2004-03-11Ensure we use check_path_syntax() to pull out DFS paths.Jeremy Allison1-7/+2
Jeremy (This used to be commit ebf82e2c14827c0a0edd8ee373ce5200f7b0b3b0)
2004-03-10Moving towards getting msdfs working again (this looks like it was brokenJeremy Allison1-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. (This used to be commit 859529aff348e66281d2ec4d54c5852121aae9e5)
2004-03-09Fix dfs referrals - don't use check_path_syntax. Also use mb char calls inJeremy Allison1-10/+9
dfs code. Jeremy. (This used to be commit 70670841028aaeb72267ac41ca30af8dba412998)
2004-01-14Remove references to 'jn' which gcc-3.4 with precompiled headersJeremy Allison1-36/+36
doesn't like. Jeremy. (This used to be commit bf3d06a2e483d043c89a6b11ceb283a5b392859b)
2003-10-28Don't log at level zero when chdir fails. Ensure correct error message is ↵Jeremy Allison1-1/+2
returned. Jeremy. (This used to be commit a7561336e770405572c13a4607b0e808225e8916)
2003-10-28Fix for bug #667. DFS filenames can now have arbitrary case.Jeremy Allison1-47/+46
Jeremy. (This used to be commit cbefb5c4f983ca49fcc563111d8704d3770daf81)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-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. (This used to be commit 5c050a735f86927c7ef2a98b6f3a56abe39e4674)
2003-09-22fix some warnings found by the Sun C compilerGerald Carter1-1/+1
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter2-62/+55
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter1-9/+9
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-04-23For deep referrals, track consumed path using a counter, and calculate theShirish Kalele1-10/+11
consumed count only if and when it is needed. Check into HEAD. (This used to be commit 11281c39209b501a69f4e6f32ea2081d15947f0a)
2003-04-10Handle deep referrals: check whether each component in the requested path ofShirish Kalele1-9/+10
a referral request is a dfs link, and redirect. Thanks to John Janosik <jpjanosi@us.ibm.com> for the patch. (This used to be commit b3bd4818571c55b3f0cd6316b0aa6b1e4bb4bb6a)
2003-02-24If it's a pstring, use pstrcpy().Andrew Bartlett1-2/+2
(This used to be commit 34fb5f0b1a6281b3aa7782edb3fcb82cc4ec4877)
2003-02-11Fix the msdfs proxy handling code in dfsenum to return the cumulative number ofShirish Kalele1-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 HEAD] (This used to be commit 9307942a89600004ae3467b1bbf0dc536698ecdf)
2002-12-29Add msdfs proxy functionality to HEAD.Shirish Kalele1-24/+48
(This used to be commit 9df93b1ffc9ce98302540cc3d2cbd66787abc4fd)
2002-07-02Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison1-5/+9
Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy. (This used to be commit 17cae0d683be404be69554cd0e84117bdcc56c87)
2002-06-20Remove "inline" - shouldn't be in portable code.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4a5aa918d9eecc130a5126a255f8a6b5cde8044f)
2002-05-09Allowing %S in dfs root paths. Other variables in standard_sub_advanced won'tShirish Kalele1-2/+5
resolve correctly in dfs referrals which are done over anonymous IPC$. Also allowing dfs roots to be default services. (This used to be commit 53e91c7a027877184740baf36a6562b57150c1cc)
2002-05-09Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele1-240/+373
(This used to be commit d926cc989690684ec4799ebb3a3a01e8d4173de6)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-10-23get rid of compiler warnings (casts and delete unused variables)Herb Lewis1-2/+2
(This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
2001-10-18Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.Tim Potter1-1/+1
(This used to be commit 7c3542ba8764be48b88255dd7f73ea6d87be10ac)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-3/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-17move to SAFE_FREE()Simo Sorce1-2/+2
(This used to be commit e61aec84edaf55b9ee087b076d2f1311033dc839)
2001-09-13Terminate dfs referral alternate path string. DFS now works again in headTim Potter1-1/+1
- hooray! (This used to be commit 95df7ede465d835eb8ca1d1466c5153caf1a0d71)
2001-09-12Converted msdfs referral server code to use rpcstr_push() functions. StillTim Potter1-12/+10
doesn't work though. )-: (This used to be commit ec7296d6e9b5b61bac778c2093ee0cd0e23a2344)
2001-09-12- enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell1-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 (This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
2001-09-12Hmm - needs to be converted to pull/push unistr routines. But at least itTim Potter1-2/+8
compiles now which should keep the build farm happy. (This used to be commit 5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell1-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 used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce1-2/+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 Tridgell1-4/+4
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-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 used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-30This should return the build to normallity.Andrew Bartlett1-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 (This used to be commit 58b981a56f99bce0e98c9e1752c99a69e3cb2a25)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison1-569/+567
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2000-11-28Ran DFS on Linux and found that readlink() on Linux does not append NULShirish Kalele1-1/+3
to the link read. So add a NUL.. (This used to be commit 04ebcf954c7568fc16ff4a75b31715d6b0a34aa4)
2000-10-09Missing conn parameter missed in vfs rewrite.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4eecc63be5bd11590972ee4f446b7a80d46a713b)
2000-05-26Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele1-97/+115
Fixed trans2 calls on IPC$ to let dfs referral calls through. (This used to be commit e0965a80bdca5239886b11ef55dc29fed261bfc0)
2000-05-18Added the NETDFS pipe to allow remote administration of the msdfs symlinksShirish Kalele1-35/+200
on the samba server. (This used to be commit 15e7d8f6c5cddf6ce409ee2505744250d181ec34)
2000-05-16The new msdfs implementation that uses symlinks to point to otherShirish Kalele4-749/+346
servers. Very intuitive. Removed the dfs map parsing code and tdb maintenance code (files msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading calls (param/loadparm.c smbd/server.c). Added code to display msdfs format symlinks as directories in a transact2_findfirst/findnext. (smbd/trans2.c) Modified msdfs/msdfs.c to use the msdfs symlinks to create dfs referrals. Changed msdfs/README to reflect new operability. (This used to be commit 6803d2574fab9e5931786d5c9aa5dc5867bb5f05)
2000-05-10lib/util_unistr.c:Jeremy Allison1-16/+0
libsmb/clilist.c: rpc_server/srv_spoolss_nt.c: smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion. msdfs/msdfs.c: Removed stub unistr_to_dos. libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and don't add any security. Jeremy. (This used to be commit 1ed146467e764e6a81d8f78cd58fb5765ebf5d21)
2000-04-17Corrected minor parsing errors.Shirish Kalele2-4/+5
Not adding a Dfs junction to msdfs.tdb if it doesn't have any referred paths as parsed from the dfsmap file. (This used to be commit 462ea8b7fdaa528c3e9bfaca4fdd031888157124)
2000-04-17When parsing a dfs map for a service, see if the mount points exist that standShirish Kalele1-3/+27
for token junction points in the Dfs. If not, create these mount points as subdirectories of the service directory. (This used to be commit 3b79df24687afce4780884b7a784661f69752fe1)
2000-03-10Cleaned up unused variables, returns from non-void functions etc.Shirish Kalele2-12/+4
(This used to be commit 6ce72c37429c3fc0629fdbd5f5656f07970a8e4a)
2000-03-10Cleaning warnings from configure.developerShirish Kalele2-31/+31
(This used to be commit c48579a4fc6c17126712f3a9a9c5212063a6a24d)
2000-03-10Cleaning up the warnings from configure.developer.Shirish Kalele1-1/+1
Found that Jeremy had already made some of the changes. (This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
2000-03-10Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes ↵Jeremy Allison1-2/+2
-Wpointer-arith -Wcast-qual Partially implemented rpc daemon redirect (needs more work). Jeremy. (This used to be commit a462191698fa589ceac4afd14c652adf699eccad)
2000-03-10getprinter level 0: was to short, found most of the fields, undocumented,Jean-François Micouleau2-4/+4
undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F. (This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)