summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-11-17 03:31:03 +0000
committerAndrew Tridgell <tridge@samba.org>2000-11-17 03:31:03 +0000
commit5f8ff6056ad2d7432dfe64977cb15364f199b962 (patch)
tree8f38ae4de6b282fe8916b7ba3fa9a34af39d2e8b
parent0de5569304ec1d1650865983dba32f13c313104c (diff)
downloadsamba-5f8ff6056ad2d7432dfe64977cb15364f199b962.tar.gz
samba-5f8ff6056ad2d7432dfe64977cb15364f199b962.tar.bz2
samba-5f8ff6056ad2d7432dfe64977cb15364f199b962.zip
we don't need the separate lp_status() connection records any more
(This used to be commit 209e20365e562371aafafea301b4ffecc3d4c3ed)
-rw-r--r--source3/smbd/service.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index ba381a40e8..2dbb2c0d17 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -468,10 +468,6 @@ connection_struct *make_connection(char *service,char *user,char *password, int
return NULL;
}
- if (lp_status(SNUM(conn)))
- claim_connection(conn,"",
- MAXSTATUS,False);
-
conn->nt_user_token = create_nt_token(conn->uid, conn->gid, conn->ngroups, conn->groups);
/* Initialise VFS function pointers */
@@ -520,9 +516,6 @@ connection_struct *make_connection(char *service,char *user,char *password, int
yield_connection(conn,
lp_servicename(SNUM(conn)),
lp_max_connections(SNUM(conn)));
- if (lp_status(SNUM(conn))) {
- yield_connection(conn,"",MAXSTATUS);
- }
conn_free(conn);
*ecode = ERRbadpw;
return NULL;
@@ -535,8 +528,6 @@ connection_struct *make_connection(char *service,char *user,char *password, int
yield_connection(conn,
lp_servicename(SNUM(conn)),
lp_max_connections(SNUM(conn)));
- if (lp_status(SNUM(conn)))
- yield_connection(conn,"",MAXSTATUS);
conn_free(conn);
*ecode = ERRnosuchshare;
return NULL;
@@ -630,9 +621,6 @@ void close_cnum(connection_struct *conn, uint16 vuid)
lp_servicename(SNUM(conn)),
lp_max_connections(SNUM(conn)));
- if (lp_status(SNUM(conn)))
- yield_connection(conn,"",MAXSTATUS);
-
file_close_conn(conn);
dptr_closecnum(conn);