Advertisement
Guest User

Untitled

a guest
Feb 21st, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. curl -i -H "X-Auth-User:user:wer" -H "X-Auth-Key:tespass" http://localhost:8080/auth/v1.0
  2. HTTP/1.1 200 OK
  3. X-Storage-Url: http://localhost:8080/v1/AUTH_user
  4. X-Auth-Token: AUTH_tk1e82afb0aad14c2e8cc6501bc13562e1
  5. Content-Type: text/html; charset=UTF-8
  6. X-Storage-Token: AUTH_tk1e82afb0aad14c2e8cc6501bc13562e1
  7. Content-Length: 0
  8. Date: Fri, 21 Feb 2014 22:43:58 GMT
  9.  
  10. vs
  11.  
  12. export ST_AUTH=http://127.0.0.1:8080/auth/v1.0
  13. export ST_KEY=tespass
  14. export ST_USER=user:wer
  15.  
  16. swift stat
  17. Account HEAD failed: http://127.0.0.1:8080/v1/AUTH_user 403 Forbidden
  18.  
  19. vs
  20.  
  21. swift -U user:wer -K tespass -A http://localhost:8080/auth/v1.0 stat
  22. Account HEAD failed: http://localhost:8080/v1/AUTH_user 403 Forbidden
  23.  
  24. some logs:
  25.  
  26. Feb 21 22:38:11 proxy-server 127.0.0.1 127.0.0.1 21/Feb/2014/22/38/11 HEAD /v1/AUTH_user HTTP/1.0 403 - - user%2CAUTH_tk10cbdebd73b84c7a88798064a35ca5dc - - - txce35a6721bf246669230e626b04e3a01 - 0.0008 -
  27. Feb 21 22:38:11 llswiift AUTH_user (txn: txce35a6721bf246669230e626b04e3a01) (client_ip: 127.0.0.1)
  28. Feb 21 22:44:55 proxy-server 127.0.0.1 127.0.0.1 21/Feb/2014/22/44/55 HEAD /v1/AUTH_user HTTP/1.0 403 - - user%2CAUTH_tk1e82afb0aad14c2e8cc6501bc13562e1 - - - txfd58963553b34250a9036d13d3935da7 - 0.0016 -
  29. Feb 21 22:44:55 llswiift AUTH_user (txn: txfd58963553b34250a9036d13d3935da7) (client_ip: 127.0.0.1)
  30. Feb 21 22:46:03 proxy-server 127.0.0.1 127.0.0.1 21/Feb/2014/22/46/03 HEAD /v1/AUTH_user HTTP/1.0 403 - - user%2CAUTH_tk1e82afb0aad14c2e8cc6501bc13562e1 - - - tx711ba81472cf43348691474d2fac32c0 - 0.0015 -
  31. Feb 21 22:46:03 llswiift AUTH_user (txn: tx711ba81472cf43348691474d2fac32c0) (client_ip: 127.0.0.1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement