summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-19 15:48:05 +0200
committerVolker Lendecke <vl@samba.org>2008-06-19 15:53:43 +0200
commit39479c9ee64b1e10e9e2633d96cf3827870def58 (patch)
tree3ecc36239610f83ebf3ce5ead1c620e5a6a70110
parent3283a5d0def8555b830aae82f61f7fc5060bc8ff (diff)
downloadsamba-39479c9ee64b1e10e9e2633d96cf3827870def58.tar.gz
samba-39479c9ee64b1e10e9e2633d96cf3827870def58.tar.bz2
samba-39479c9ee64b1e10e9e2633d96cf3827870def58.zip
Remove current_user_info reference from vfs_recycle.c
(This used to be commit fdc03c0a5ba0da4fbc4610880e06150c11d4c737)
-rw-r--r--source3/modules/vfs_recycle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index e6028cebdd..207f04bc47 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -412,8 +412,6 @@ static void recycle_do_touch(vfs_handle_struct *handle, const char *fname,
}
}
-extern userdom_struct current_user_info;
-
/**
* Check if file should be recycled
**/
@@ -436,7 +434,7 @@ static int recycle_unlink(vfs_handle_struct *handle, const char *file_name)
conn->connectpath,
conn->server_info->gid,
conn->server_info->sanitized_username,
- current_user_info.domain,
+ pdb_get_domain(conn->server_info->sam_account),
recycle_repository(handle));
ALLOC_CHECK(repository, done);
/* shouldn't we allow absolute path names here? --metze */