similar to: How to get REMOTE_USER in Rails?

Displaying 20 results from an estimated 700 matches similar to: "How to get REMOTE_USER in Rails?"

2006 May 22
2
finding out the remote users username ENV[REMOTE_USER] ?
I''m trying to set the modified_by in my user table from the remote user name. I have htaccess set up for the rails directory but I can''t seem to get it to read the remote users name. is ENV[REMOTE_USER] the correct syntax? I searched but I can''t seem to find a definitive answer. Thank you for any help! Charlie Bowman http://www.recentrambles.com -------------- next
2008 Jan 25
2
Apache, proxypass and REMOTE_USER
Hello, still trying to get things going. With proxypass the REMOTE_USER variable set by mod_auth_* is not passed to mongrel. I found another admin that has the same problem[1], but no solution. Did someone here solve this problem? [1]http://mail-archives.apache.org/mod_mbox/httpd-users/200610.mbox/<323a37200610021509k6142cb08q6e6b0642e3261c6d%40mail.gmail.com>
2007 Jul 01
3
Session WTF ?
Hi. How to use session in ruby on rails ? I try to make it work for hours, but it still doesn''t work... In my controller I have this: def identification @current_user = User.new(params[:user]) ok = false redir = ''login_failed'' @remote_user = User.find(:all) @remote_user.each do |r_user| if (r_user.login == @current_user.login and
2017 May 11
3
Basic authentication - maybe off topoc
Hi - I am using CentOS 7.3 and trying to receive basic authentication. I run a command liked: curl -X POST -u jerry:pw http://192.168.1.8/inbound.cgi When I use printenv in the cgi I do not see the user and password anywhere. Isn't it supposed to be there in an environment variable like REMOTE_USER ? How do I receive the basic authentication ? Thanks, Jerry
2009 Sep 17
1
[PATCH server] oVirt server single network installer
Updates the installer to handle the scenario in which the guest and admin networks are the same by using an alternative httpd conf. Verified to work (eg oVirt managed vms are bootable) on the oVirt appliance so far. --- conf/ovirt-server.conf | 88 -------------------- installer/bin/ovirt-installer | 11 +--
2000 Sep 13
2
auth-pam.c support for pam_chauthtok()
When we installed OpenSSH 2.1.1p4 on our Solaris systems, our users noticed that it did not honor password expiration consistently with other Solaris login services. The patch below is against OpenSSH 2.2.0p1 and adds support for PAM password changes on expiration via pam_chauthtok(). A brief summary of changes: auth-pam.c: * change declaration of pamh to "static pam_handle_t *pamh",
2015 Aug 05
2
2.2.18: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted.
Hello I have 2.2.18 built with: ./configure \ --prefix="$prefix" \ --bindir="$prefix/bin" \ --sbindir="$prefix/bin" \ --sysconfdir="/etc" \ --with-storages="maildir,imapc,pop3c" \ --without-vpopmail \ --without-ldap I'm attempting to sync (backup) from another Dovecot server running version 2.0.21: Both servers
2010 Jan 27
2
[LLVMdev] question about running llvm test-suite on remote machine
Hi, I've looked into use of the remote variables: REMOTE_HOST, REMOTE_CLIENT, REMOTE_USER, etc. Can you tell me how exactly one uses these variables to run the llvm test-suite remotely? As far as I can tell, the local host and remote host directory structures have to match exactly. In addition, it seems that the remote host has to pre-generate building the test executables, while the
2020 Jun 23
2
pam_systemd(samba:session): Failed to create session: No such file or directory
Hello, There's a file server running CentOS 7 with packaged Samba: # rpm -qi samba Name : samba Epoch : 0 Version : 4.10.4 Release : 11.el7_8 Architecture: x86_64 ... Source RPM : samba-4.10.4-11.el7_8.src.rpm Build Date : Tue 12 May 2020 04:31:13 PM UTC ... Packager : CentOS BuildSystem <http://bugs.centos.org> When a user opens a file share, there's an
2012 Nov 15
1
[LLVMdev] Unit tests - ARM
I use variants on the following command: make -k TEST=simple ARCH=ARM TARGET_FLAGS="-arch armv7 -isysroot path-to-sdk -ccc-install-dir path-to-binutils" USE_REFERENCE_OUTPUT=1 REMOTE_HOST=localhost REMOTE_USER=root REMOTE_CLIENT=ssh REMOTE_PORT=10022 DISABLE_JIT=1 DISABLE_CBE=1 SMALL_PROBLEM_SIZE=1 TARGET_CC=path-to-clang TARGET_CXX=path-to-clang++ report That assumes key-based ssh
1999 Nov 22
1
[s-x86] OpenSSH 1.2pre14 fails on pam_open_session() ...
On Mon, 22 Nov 1999, Philip Brown wrote: > [ Marc G. Fournier writes ] > > debug("PAM_retval(open_session) about to run"); > > pam_retval = pam_open_session((pam_handle_t *)pamh, 0); > > > > > =========================================== > > > > so, its looking like I'm authenticated properly, but when trying to set up > > the
2010 Jan 27
0
[LLVMdev] question about running llvm test-suite on remote machine
On Jan 27, 2010, at 3:42 PM, Jose Rangel wrote: > Hi, > > I’ve looked into use of the remote variables: REMOTE_HOST, REMOTE_CLIENT, REMOTE_USER, etc. Can you tell me how exactly one uses these variables to run the llvm test-suite remotely? > > As far as I can tell, the local host and remote host directory structures have to match exactly. In addition, it seems that the remote
2003 Jul 18
0
PAM_RUSER never set under ssh2?
Everyone, First my apologies if this has been discussed before on this list, I was unable to find reference to it in the archives. I have a pam module that requires PAM_RUSER to be set however Ive found that if I connect to the remote server (where the pam module is installed) via ssh the PAM_RUSER variable is never set. The PAM_RUSER variable is set within auth-pam.c (line 239 in 3.6p1) as
2015 Dec 08
5
Samba4 ad dc with Centos7
Hello, I may have a problem with winbind setup. -with wbinfo -g and wbinfo -u I get all group/user from AD/DC. -with getent group "Domain Users" and getent passwd "remote_user" I can see the info about the specific group and specific user. -with getent group and getent passwd I only see my local group/users. -I believe that using "getent group" and "getent
2007 Mar 13
1
Fwd: Re: Basic authentication with Apache and Mongrel
There is a big difference if you are not running a pure rails site. I am doing auth apache-side because I serve static content, perl scripts via cgi and feed the mongrel pack from Apache. The REMOTE_USER variable value can be passed to rails using a technique described deep down in one of the informative pieces on the Mongrel website. Bill On Mon, 12 Mar 2007 17:54:07 -0700, Matte Edens wrote:
2009 Mar 18
1
uninitialized constant ActionController::AbstractRequest (NameError) with rails 2.3
Hi guys, I''ve just installed Rails 2.3 and I am using the clearance plugin with cucumber features. When I run rake features I get this "uninitialized constant ActionController::AbstractRequest (NameError)" error from webrat trying to call AbstractRequest which now is called Request (I think). My question is : Is there any way to alias the old name to have backwards
2006 Jul 25
0
Bug in AbstractRequest.path() ?
ActionController::Routes.recognize() to obtain a URI for matching. If ActionController::AbstractReqeust:;relative_url_root is non-zero length, then the AbstractRequest::path chops that many characters off the request URI before returning the new URI. The problem is that this chopping happens whether or not the URI begins with the relative URL. I would expect the method to test whether the
2001 Feb 10
1
[PATCH] Tell PAM about remote host earlier
I was browsing the OpenSSH sources (which are very readable, thankyou very much) and noticed that PAM was only being told what host the user is logging in from for account processing - not for password processing. As I can see no reason not to put this in start_pam this is exactly what I have done - and attached a patch to this effect. This allows PAM to fill in rhost= in its audit messages
2001 May 17
0
Patch: Set SSH_AUTHKEY to key id used to authenticate.
Attached is a patch which sets the SSH_AUTHKEY environment variable to be the remaining data at the end of an SSH key which is used for authentication. The motivation behind this is that there are time in which it's useful to know who is on the other end of the connection. For example, if I log in as root on a box, I'd like to be able to configure vi-specific settings, while another user
2007 Nov 06
1
[PATCH] ActionController::CgiRequest#host_with_port() should handle standard port
Hi everyone, I''m looking for some +1''s for a bug fix patch I submitted: http://dev.rubyonrails.org/ticket/10082 The problem is that CgiRequest#host_with_port() overrides AbstractRequest#host_with_port() and does''nt use port_string() with standard_port() care. So I created patch to rename CgiRequest#host_with_port() to host_with_port_without_standard_port_handling().