search for: user_file

Displaying 9 results from an estimated 9 matches for "user_file".

2007 Aug 18
0
RSpec and acts_as_attachment
...tachment but the weird thing is the equivalent Test::Unit case passes. Does anyone have any ideas? Best, Dave # it was a Test::Unit case first def test_should_be_invalid_without_file UserFile.any_instance.expects(:with_image).never assert_no_difference UserFile, :count do user_file = create_user_file :uploaded_data => nil assert user_file.errors.on(:filename) assert user_file.errors.on(:size) assert user_file.errors.on(:content_type) end end # Converting the above to the following spec it ''should be invalid without file''...
2016 Aug 05
4
Fwd: Re: Encrypt /decrypta file with ssh keys.
...ity of Victoria 250-472-4085 -------------- next part -------------- #!/bin/bash # this is the proof of concept for secure file command. # usage: sfile [-e|-d] [-k <pub_private_key>] <file_path> # result is written to stdout. subcommand='decrypt' user_key='' user_file='' ignore_next='0' BASH_ARGV_LEN=$((${#BASH_ARGV}-1)) for i in `seq $BASH_ARGV_LEN -1 0 `; do if [ $ignore_next == '0' ]; then if [ "X${BASH_ARGV[$i]}" == 'X-d' ]; then subcommand='decrypt' elif [ "X${BASH_ARGV[$i...
2006 Jun 21
2
error_messages_for not displaying validation errors
...in my view. However, the errors are not being displayed. But, if I output @ myobject.errors, I see that the errors are in fact being logged, just not displayed via error_messages_for. Any help that you can offer is appreciated. Here are links to my code: - Model: http://dev.lazyi.net/ruby_code/user_file.rb.html - View: http://dev.lazyi.net/ruby_code/new.rhtml.html - Controller: http://dev.lazyi.net/ruby_code/user_file_controller.rb.html Many thanks, Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: h...
2004 Jun 23
0
Symlinks followed literally in Debian 3.0, not in Red Hat 7.3
...ople the necessary file access using only one SMB mount. For example, the SMB share is under /smbfiles in the root directory of the Samba server. Within /smbfiles, there are three symlinks. /smbfiles/share1 points to /mounts/pawalton/hda/root/files /smbfiles/share2 points to /mounts/pawalton/hdb/user_files /smbfiles/share3 points to /mounts/pawalton/hdb/admin_files I use an ssh tunnel to forward the smb port on johnboy to my local machine (doublemint), and the port forwards quite nicely. I can get access to my files using smbclient. However, when I try to mount /smbfiles from johnboy onto the mou...
2005 Feb 24
0
Symlinks followed literally in Debian 3.0, not in Red Hat 7.3
...necessary file access using only one SMB mount. For example, the | SMB share is under /smbfiles in the root directory of the Samba server. | Within /smbfiles, there are three symlinks. | | /smbfiles/share1 points to /mounts/pawalton/hda/root/files | /smbfiles/share2 points to /mounts/pawalton/hdb/user_files | /smbfiles/share3 points to /mounts/pawalton/hdb/admin_files | | I use an ssh tunnel to forward the smb port on johnboy to my local | machine (doublemint), and the port forwards quite nicely. I can get | access to my files using smbclient. However, when I try to mount | /smbfiles from johnboy o...
2006 Mar 13
4
Problem realted to upload..
I want to upload a file. And what I am confused about is...should I upload it using a separate table or just as another file in the form. If as a separate table then I am not able to save it on the system/ Or/ If not that, then how can i check for the extensions? Do reply. Thanks. -- Posted via http://www.ruby-forum.com/.
2017 Dec 04
2
Howto authenticate smartPhone via Active Directory
Hi Mark, Just to let you know that we are running dovecot with AD. (and I guess: *many* people are running that combination) It worked without issues, we are using in dovecot-ldap.conf.ext: > auth_bind = yes this user/passwd filter: > = (&(objectclass=person)(sAMAccountName=%n)(!(userAccountControl=514))) > dn = cn=search_dovecit,cn=users,dc=company,dc=com > dnpass =
2017 Dec 05
0
Howto authenticate smartPhone via Active Directory
...it is bold, underlined, italicized and colored ... or uses brackets or some other convention)? If meta, what is actually supposed to go there? With your "this user/passwd filter". Can you tell me why you have "userAccountControl=514"? Is that 514 bit documented somewhere? Your user_filer/pass_filter is *completely* different from my installed original. You don't mention the user_attrs/pass_attrs settings. Is this because you use the originals or because you have commented them out? My current settings are: user_attrs = quotaFieldAD=quota_rule=*:storage=%$MB pass_attrs...
2020 Jul 31
5
nbdkit build failure in Koji
Hi Eric, I wonder if you have any thoughts about this build failure in tests/test-nozero.sh? https://koji.fedoraproject.org/koji/taskinfo?taskID=48259627 log: https://kojipkgs.fedoraproject.org//work/tasks/9762/48259762/build.log The error is “nozero6.img was trimmed by mistake”. I added “set -x” to the script earlier today so we can see exactly what's wrong, and it is that: ++ stat