summaryrefslogtreecommitdiffstats
path: root/source/msdfs/msdfs.c
Commit message (Collapse)AuthorAgeFilesLines
* If it's a pstring, use pstrcpy().Andrew Bartlett2003-02-241-2/+2
|
* Fix the msdfs proxy handling code in dfsenum to return the cumulative number ofShirish Kalele2003-02-111-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]
* Add msdfs proxy functionality to HEAD.Shirish Kalele2002-12-291-24/+48
|
* Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2002-07-021-5/+9
| | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy.
* Remove "inline" - shouldn't be in portable code.Jeremy Allison2002-06-201-1/+1
| | | | Jeremy.
* Allowing %S in dfs root paths. Other variables in standard_sub_advanced won'tShirish Kalele2002-05-091-2/+5
| | | | | resolve correctly in dfs referrals which are done over anonymous IPC$. Also allowing dfs roots to be default services.
* Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele2002-05-091-240/+373
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* get rid of compiler warnings (casts and delete unused variables)Herb Lewis2001-10-231-2/+2
|
* Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.Tim Potter2001-10-181-1/+1
|
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
|
* move to SAFE_FREE()Simo Sorce2001-09-171-2/+2
|
* Terminate dfs referral alternate path string. DFS now works again in headTim Potter2001-09-131-1/+1
| | | | - hooray!
* Converted msdfs referral server code to use rpcstr_push() functions. StillTim Potter2001-09-121-12/+10
| | | | doesn't work though. )-:
* - enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell2001-09-121-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 itTim Potter2001-09-121-2/+8
| | | | compiles now which should keep the build farm happy.
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-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 Sorce2001-08-121-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 Tridgell2001-07-041-4/+4
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-041-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 Bartlett2001-06-301-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 Allison2001-06-291-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 Allison2001-04-081-1/+1
| | | | Jeremy.
* Ran DFS on Linux and found that readlink() on Linux does not append NULShirish Kalele2000-11-281-1/+3
| | | | to the link read. So add a NUL..
* Missing conn parameter missed in vfs rewrite.Jeremy Allison2000-10-091-1/+1
| | | | Jeremy.
* Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele2000-05-261-97/+115
| | | | Fixed trans2 calls on IPC$ to let dfs referral calls through.
* Added the NETDFS pipe to allow remote administration of the msdfs symlinksShirish Kalele2000-05-181-35/+200
| | | | on the samba server.
* The new msdfs implementation that uses symlinks to point to otherShirish Kalele2000-05-161-188/+328
| | | | | | | | | | | | | | | | 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.
* lib/util_unistr.c:Jeremy Allison2000-05-101-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.
* Corrected minor parsing errors.Shirish Kalele2000-04-171-1/+1
| | | | | Not adding a Dfs junction to msdfs.tdb if it doesn't have any referred paths as parsed from the dfsmap file.
* Cleaned up unused variables, returns from non-void functions etc.Shirish Kalele2000-03-101-1/+1
|
* Cleaning warnings from configure.developerShirish Kalele2000-03-101-5/+3
|
* Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes ↵Jeremy Allison2000-03-101-2/+2
| | | | | | | -Wpointer-arith -Wcast-qual Partially implemented rpc daemon redirect (needs more work). Jeremy.
* Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison2000-03-091-8/+0
| | | | | | | | | | | | and the printer functions. Also tidied up some header includes and got the order right so you can now do a : make proto make clean make Jeremy.
* dded Microsoft Dfs services.Shirish Kalele2000-03-081-0/+466
* added a new msdfs/ directory under source/ * added msdfs sources under this directory. * modified configure setup to add a --with-msdfs configure time option Modified Files: Makefile.in acconfig.h configure configure.in include/config.h.in include/includes.h include/proto.h include/smb.h include/smb_macros.h param/loadparm.c smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c smbd/server.c smbd/trans2.c Added Files: include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c msdfs/parse_dfs_map.c ----------------------------------------------------------------------