Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage … Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message? How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 …gzip import tarfile # Create a password auth plugin auth = v3.Password(auth_url='https://cloud.… project_domain_name='Default') # Create session keystone_session = session.Session(auth=auth) # Create swiftclient Connection swift_conn = Connection(session=keystone_session)… Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… auth.log gone Hardware and Software Linux and Unix by shwick …I wanted to separate the cron logs from the auth logs, so in /etc/syslog.conf I …cron.log". I also wanted to cleanse the auth logs, so I deleted all of them. I…login via ssh, but there were no auth logs- a new auth.log wasn't created. The cron … to cron.log though. I tried creating an auth.log and restarting but that didn't work, … Re: auth.log gone Hardware and Software Linux and Unix by shwick …with "sudo touch auth.log" and changed it's permissions with "sudo chown syslog auth.log", "…sudo chgrp adm auth.log" and "sudo chmod …had to restart the machine. sshd then started logging to auth.log properly. I'm a little concerned with the first… Auth Object Programming Software Development by adam291086 … on a soap server. for example [CODE] cpLatestBrief.authValue = new auth(); cpLatestBrief.authValue.username = "username"; // your aql username cpLatestBrief… Re: Auth Object Programming Software Development by adam291086 … using SOAPpy but have no idea how to do the auth object. I have tried doing [code] from SOAPpy import WSDL… Re: Auth Object Programming Software Development by adam291086 … by using an API key. I need to use and Auth object. If i do something like [code] from SOAPpy import… JSON Auth Request Programming Software Development by Jazerix …to do a request with an authorization. You get the auth from "https://www.google.com/accounts/ClientLogin?accountType=GOOGLE….Create(uri); httpWebRequest.Headers.Add("Authorization", "GoogleLogin auth=" + AuthID); WebResponse response = null; try { response = httpWebRequest.GetResponse(); … Re: Where to find flexi auth function Programming Web Development by minitauros Of course, that could be :). But I can't tell for sure, as I don't know the flexi auth system. -- Ok I've downloaded the flexi auth package and can't find the function as well. Are you sure it is an existing function? Re: Where to find flexi auth function Programming Web Development by renierdbruyn I am using the same as this one: https://github.com/haseydesign/flexi-auth . the directory you will find it in is: `flexi-auth / library_files / application / libraries / Flexi_auth.php` removing server auth breaks connection to database? Programming Databases by rickya100 … crapping it because when I take of the integrated windows auth and enable the anonymous access the site can no longer… HTTP Auth (.htpasswd) Not Working In CGI-BIN Hardware and Software Linux and Unix by samarudge Hi, I am trying to HTTP Auth protect a directory in my cgi-bin directory. I have … Where to find flexi auth function Programming Web Development by renierdbruyn Hi, Can some one tell me where I can find the function `get_user_by_identity_row_array() `in the flexi auth system? it is usauly called like : $this->data['user'] = $this->flexi_auth->get_user_by_identity_row_array(); I have looked every where, but maybe I’m missing it.. where can I find this? Thanks in advance. Re: Where to find flexi auth function Programming Web Development by renierdbruyn @minitauros, I have gone through all flexi auth files, I cant find it any where... @flash Thanks I will try this, but I am looking for where the function itself is declared, I want to see how it works and edit it( I want to add fields). Re: Auth Object Programming Software Development by jlm699 Look into [url=http://freshmeat.net/projects/soappy/]SOAPpy[/url]. Re: Auth Object Programming Software Development by jlm699 I've never used SOAPpy myself, but there's a chapter about it in my favorite Python learning book: [url=http://www.diveintopython.org/soap_web_services/]Dive Into Python Chapter 11[/url] Session destroy not working.... Programming Web Development by lordx78 auth.php [code=php] <?php // start session session_start(); // convert username … Auth cookie doesn't work Programming Software Development by overwraith The following lines do not work. The bool is always false. I have been having trouble getting danni's site to work so if the reply is too short it's 'cuz I typed in the longer version three times and got errrors. FormsAuthentication.SetAuthCookie(login.EmailAddress, login.RememberMe); bool isauth = User.Identity.IsAuthenticated; Re: Auth cookie doesn't work Programming Software Development by overwraith Here is the login controller; /*Author: Cameron Block*/ using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; using CameronBlog.Models; namespace CameronBlog.Controllers { public class … Re: Auth cookie doesn't work Programming Software Development by overwraith Here is the markup; <!-- Author: Cameron Block --> @model CameronBlog.Models.Login @{ ViewBag.Title = "Login"; } <div class="jumbotron"> <h1>Login</h1> <p class="lead">Log into Cameron's Web Blog. </p> </div… Re: Auth cookie doesn't work Programming Software Development by overwraith Here is the Login Model; /*Author: Cameron Block*/ using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using CameronBlog.Repositories; namespace CameronBlog.Models { /// <summary> /// The … Re: Auth cookie doesn't work Programming Software Development by overwraith Here is the User object; /*Author: Cameron Block*/ using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Web; using System.Configuration; namespace CameronBlog.Models { /// <summary> /// … Re: Auth cookie doesn't work Programming Software Development by overwraith Your community is lame. I have posted about 3 discussions here about professional programming and no-body could help. Re: Auth cookie doesn't work Programming Software Development by rproffitt @overwraith. It's a two way street. There are some that demand support but all this is volunteer like other forums. I see you dumped a lot of code so folk may shy away. Be precise with what is broken. Keep it short. Also, read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question I think your post may … Re: Auth cookie doesn't work Programming Software Development by overwraith I have a workaround of sorts, I will be looking into entity framework Identity framework for future projects, but instead of a cookie I will be using Session variables to store user name on the server. After the user logs in the user will have a session variable populated with their user name/email address, If the variable is null the user is re-… Re: JSON Auth Request Programming Software Development by darkagn So what do you get back instead? You will need to read from the response stream and deserialize the returned JSON into a list using whatever DataContract is being returned to you. Also, you can check the `response.StatusCode` to see whether the response is a successful response (ie `HttpStatusCode.OK`) or some sort of problem occurred (such as `… Re: removing server auth breaks connection to database? Programming Databases by varmadba I didn't understand the post completely but from what i got : Access denied for user 'ODBC'@'localhost' (using password: NO). As the Error Say You are trying to access Mysql with out username or Password,for this anonymous should be set in mysql if possible try connecting with a valid username and password to connect to mysql Re: Where to find flexi auth function Programming Web Development by minitauros Well, have you checked where `$this->flexi_auth` gets defined? It must get defined somewhere ;). If it is not in the current class, it might be in the current class's parent class.