search for: remote_us

Displaying 20 results from an estimated 62 matches for "remote_us".

Did you mean: remote_fs
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 part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/2...
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&g...
2008 Jun 05
1
How to get REMOTE_USER in Rails?
Hi, I need to retrieve what''s stored in ''REMOTE_USER''. I''m looking around in "ActionController::AbstractRequest", but don''t have something to work with. I need this data to kick accesses that don''t have a valid ''REMOTE_USER''. Any help would be appreciated. -T --~--~---------~--~---...
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
2003 Jul 18
0
PAM_RUSER never set under ssh2?
...odule 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 such: int do_pam_account(char *username, char *remote_user) { ... if (remote_user) { debug("PAM setting ruser to \"%.200s\"", remote_user); pam_retval = pam_set_item(__pamh, PAM_RUSER, remote_user); however do_pam_account() is called in only two locations (auth2.c and monitor.c) and in both cases remote_user is passed as N...
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 r_user.pass == @current_user.pass) ok = true end end if (ok) session[:user_login] = params[:login] session[:user_access] = params[:access] redir...
2009 Sep 17
1
[PATCH server] oVirt server single network installer
...tc/httpd/conf/ipa.keytab - KrbSaveCredentials on - Require valid-user - ErrorDocument 401 /ovirt/errors/401.html - ErrorDocument 404 /ovirt/errors/404.html - ErrorDocument 500 /ovirt/errors/500.html - RewriteEngine on - Order deny,allow - Allow from all - - # We create a subrequest to find REMOTE_USER. Don't do this for every - # subrequest too (slow and huge logs result) - RewriteCond %{IS_SUBREQ}% false - RewriteRule .* - [E=RU:%{LA-U:REMOTE_USER}] - RequestHeader set X-Forwarded-User %{RU}e - RequestHeader set X-Forwarded-Keytab %{KRB5CCNAME}e - - # RequestHeader unset Authorizati...
2001 Feb 10
1
[PATCH] Tell PAM about remote host earlier
...setting rhost to \"%.200s\"", get_canonical_hostname()); - pam_retval = pam_set_item(pamh, PAM_RHOST, - get_canonical_hostname()); - if (pam_retval != PAM_SUCCESS) { - fatal("PAM set rhost failed[%d]: %.200s", - pam_retval, PAM_STRERROR(pamh, pam_retval)); - } - if (remote_user != NULL) { debug("PAM setting ruser to \"%.200s\"", remote_user); pam_retval = pam_set_item(pamh, PAM_RUSER, remote_user); @@ -310,6 +302,14 @@ if (pam_retval != PAM_SUCCESS) { fatal("PAM initialisation failed[%d]: %.200s", + pam_retval, PAM_STRERROR(...
2000 Sep 13
2
auth-pam.c support for pam_chauthtok()
...((pam_handle_t *)pamh, PAM_RHOST, + pam_retval = pam_set_item(pamh, PAM_RHOST, get_canonical_hostname()); if (pam_retval != PAM_SUCCESS) { fatal("PAM set rhost failed: %.200s", - PAM_STRERROR((pam_handle_t *)pamh, pam_retval)); + PAM_STRERROR(pamh, pam_retval)); } if (remote_user != NULL) { debug("PAM setting ruser to \"%.200s\"", remote_user); - pam_retval = pam_set_item((pam_handle_t *)pamh, PAM_RUSER, remote_user); + pam_retval = pam_set_item(pamh, PAM_RUSER, remote_user); if (pam_retval != PAM_SUCCESS) { fatal("PAM set ruser failed...
2001 May 17
0
Patch: Set SSH_AUTHKEY to key id used to authenticate.
...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 may prefer to have emacs. Originally I had thought about doing it with environment variables. Set it up with: SSH_PROPOGATE_ENV="SSH_PROPOGATE_ENV INPUTRC REMOTE_USER" INPUTRC="$HOME/.inputrc-vi" REMOTE_USER="jafo" Something like that. Obviously, there are some problems with "$HOME" getting expanded on the client side, but worst case you could use REMOTE_USER in the .profile. Basing it on the key id seemed to be the...
2015 Aug 05
2
2.2.18: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted.
...t;maildir,imapc,pop3c" \ --without-vpopmail \ --without-ldap I'm attempting to sync (backup) from another Dovecot server running version 2.0.21: Both servers don't have no explicit namespaces configured and both are using the Maildir storage plugin. doveadm -Dv -o imapc_user=remote_user -o imapc_host=source.host -o imapc_port=993 -o imapc_ssl=imaps -o imapc_password=remote_pass -o imapc_features="rfc822.size fetch-headers" backup -R -u local_user imapc: All seems to go well, showing local and remote mailbox syncing without errors, then finally: dsync(mcg): Debug: bra...
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...
2020 Jun 23
2
pam_systemd(samba:session): Failed to create session: No such file or directory
...n 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): pam-systemd initializing Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): Asking logind to create session: uid=16777217 pid=4572 service=samba type=tty class=user desktop= seat= vtnr=0 tty=smb/257860650 display= remote=yes remote_user= remote_host=172.26.10.1 Jun 23 10:14:37 filer-1 smbd[3944]: pam_systemd(samba:session): Failed to create session: No such file or directory Jun 23 10:14:37 filer-1 smbd[3944]: pam_unix(samba:session): session opened for user DOMAIN\user by (uid=0) Jun 23 10:14:47 filer-1 smbd[3944]: pam_unix(sam...
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 passwd" I must see all users, right ? -I'm using the SerNetSamba Version 4.2.5-Ser...
2008 Nov 13
1
Intermittent connection failure
...----------- clienta:y0fs... clientb:xf03... -------------------------------------------------------- Clients: -------- /etc/backup-scripts/backup-clientA (started from cron) -------------------------------------------------------- #!/bin/bash # Remote rsync info REMOTE_SERVER=ip.of.rsync.server REMOTE_USER=clienta REMOTE_MODULE=clienta REMOTE_PWFILE=/etc/backup-scripts/backup.secrets RSYNC="/usr/bin/rsync -avzqR --del --password-file=${REMOTE_PWFILE}" export PATH=/usr/bin:/bin:/usr/sbin:/sbin RSYNC_REMOTE="${REMOTE_USER}@${REMOTE_SERVER}::${REMOTE_MODULE}" # rsync /www if ! $...
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 authentication (so you don't get password prompted for every execution) and that the test suite directory is is mount...
1999 Nov 22
1
[s-x86] OpenSSH 1.2pre14 fails on pam_open_session() ...
...quot;pamh" handle somehow. thank you, and how would one do this? considering that my 'pamh' handle is being used three times prior to that, in: pam_retval = pam_set_item((pam_handle_t *)pamh, PAM_RHOST, remote_host); pam_retval = pam_set_item((pam_handle_t *)pamh, PAM_RUSER, remote_user); pam_retval = pam_acct_mgmt((pam_handle_t *)pamh, 0); all in the same function, I would have thought that this would have been okay...all of the above go through successfully... my only real "reference" for PAM is wu-ftpd, in which the pam authentication stuff all works, but the...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...is used by both start_socket_client() and start_client(). - start_client() is modified to handle the ':::' syntax: it calls start_inband_exchange() after making the rsh/ssh connection to the remote host. - A couple of global variables were added: 'run_inband' and 'remote_user'. 'run_inband' is set if the ':::' syntax is used, and is used by server_options() when building the remote command (which will include both '--server' and '--daemon'). 'remote_user' is set by using '--remote-user=USER' and is useful for...
2006 May 18
2
Using Apache auth to secure certain areas of Rails app
Hello! My setup is Rails 1.1 with Apache 2.x proxying the Rails stuff to lighttpd. I know how to set up Apache to secure my entire Rails app to require a username/password challenge. Is it possible to set up the challenge for only parts of my application? E.g., let''s say I have a "pub" controller whose views are accessible to anyone. I am already implementing user
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 host has to pre-generate building the test executables...