[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Feb 12 19:52:34 MST 2010


The branch, master has been updated
       via  465ffba... Remove #if SOFTLINK_OPTIMIZATION code.
      from  1f89ffd... Revert "Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PATH_INVALID error"

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 465ffbadb8ec6f98d337319473c17720cb41bacd
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Feb 12 18:50:54 2010 -0800

    Remove #if SOFTLINK_OPTIMIZATION code.
    
    This hasn't been turned on or been capable of doing so for
    many years now. Makes this jumbo function smaller...
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/service.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index d8ba4fe..4f55ea9 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -1037,23 +1037,6 @@ connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
 
 	string_set(&conn->origpath,conn->connectpath);
 
-#if SOFTLINK_OPTIMISATION
-	/* resolve any soft links early if possible */
-	if (vfs_ChDir(conn,conn->connectpath) == 0) {
-		TALLOC_CTX *ctx = talloc_tos();
-		char *s = vfs_GetWd(ctx,s);
-		if (!s) {
-			*status = map_nt_error_from_unix(errno);
-			goto err_root_exit;
-		}
-		if (!set_conn_connectpath(conn,s)) {
-			*status = NT_STATUS_NO_MEMORY;
-			goto err_root_exit;
-		}
-		vfs_ChDir(conn,conn->connectpath);
-	}
-#endif
-
 	/* Figure out the characteristics of the underlying filesystem. This
 	 * assumes that all the filesystem mounted withing a share path have
 	 * the same characteristics, which is likely but not guaranteed.


-- 
Samba Shared Repository


More information about the samba-cvs mailing list