Displaying 20 results from an estimated 26 matches for "valid_us".
Did you mean:
valid_cs
2007 Dec 17
14
Change in isolation behaviour 1.08 - 1.10 ?
...now have one example failing, which,
under 1.08, passed. Is the due to a change in behaviour?
Here''s my spec (removed some passing examples)
require File.dirname(__FILE__) + ''/../spec_helper''
describe "A user" do
before(:each) do
@user = User.new
@valid_user = User.new(
:email => ''bert.valid at lostboys.nl'',
:fname => ''bert'',
:lname => ''valid'',
:jobtitle => "programmer"
)
end
it "should have a unique email address" do
@v...
2018 Sep 19
1
Sieve and output variable for execute
...{
set "recipient" "${0}";
set "user" "${1}";
set "recip_domain" "${2}";
}
if envelope :matches "From" "*" {
set "sender" "${0}";
}
#Check if recipient is valid user
if execute :output "valid_user" "user-verification" "${recipient}" {
if string :matches "${valid_user}" "True" {
if body :raw :contains ["message/notification"] {
setflag "\\Seen";
fileinto :create "Notifications";
stop...
2009 Apr 06
9
setup method in functional tests and instance variables
I have the following in my functional test file.
class UserControllerTest < ActionController::TestCase
fixtures :users
def setup
@controller = UserController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
@invalid_user = user(:invalid_user)
@valid_user = users(:valid_user)
end
def test_login_success
@valid_user.screen_name
end
When I run a test that tries to use the @valid_user variable I get the
following error.
NoMethodError: You have a nil object when you didn''t expect it!
The error occurre...
2011 Jan 17
4
Factory Girl and attr_accessor with validation
I have a problem with a recent change to one of my models when created
via Factory.create.
class User < ActiveRecord::Base
attr_accessor :tc_check
validates :tc_check, :presence => true, :acceptance => true
...
end
The following definition fails, when calling
Factory.create(:valid_user)
Factory.define :valid_user, :class => User do |u|
u.email ''barry.white-J0of1frlU80@public.gmane.org''
u.phone_number ''(925) 555-1212''
u.active true
u.tc_check true
end
It falls over on validation - Validation failed: Tc check must be
accepted (Acti...
2007 Mar 13
2
Authenticating with Active Directory
Hi all,
I need to authenticate Active Directory users in Solaris. I wrote a program
to do it using smbclient.a lib, but the method Valid_User is returning aways
the code 1 (Network Error). The program is in attachment.
When I use the following code, the user is sucessfully authenticated:
smbclient '\\192.168.0.20\downloads' -W adteste -U dmadmin%Senha123
But, this command log in the machine. I need a program that returns TRUE...
2011 Mar 03
1
pam_winbind([sshd|su|...]:account): valid_user: wbcGetpwnam gave WBC_ERR_DOMAIN_NOT_FOUND
I've been getting these in my log for some time and was wondering what I had
to do to get 'pam_winbind' to 'work' with my samba 'DC'?
In looking around the net, others w/this error message were having a
problem with blocking login's and password changes, completely.
In my case, I have the 'pam_winbind.so' module in '/etc/pam.d/common-passwd'
setup
2011 Apr 14
1
a little problem with extJS & log in form
...nticate
if request.post?
#User.new(params[:userform]) will create a new object of User,
retrieve values from the form and store it variable @user.
@user = User.new(params[:userform])
#@user = User.find_by_id(params[:id])
#find records with username,password
valid_user = User.find(:first,:conditions => ["username = ? and
password = ?",@user.username, @user.password])
#if statement checks whether valid_user exists or not
if valid_user
#creates a session with username
session[:user_id]=valid_user.username...
2010 Jul 31
4
Exception: can't dup Symbol
Hey everybody,
I''m trying to test a little piece of code I wrote, and I get the
following error:
Exception: can''t dup Symbol
It happens in the following line: try_to_login @valid_user, :remember_me
=> "1",
where the function try_to_login is:
def try_to_login(user, options = {})
user_hash = {:screen_name => user.screen_name, :password =>
user.password}
user_hash.merge!(options)
post :login, :user => :user_hash
assert logged_in?
end
I can&...
2018 Jun 14
3
No write access on new shares until smbd is restarted
...m
guest ok=no
browseable=yes
create mask=0775
directory mask=0775
read only=no
follow symlinks=yes
wide links=no
valid users=man_dude
oplocks=yes
locking=yes
The log from my first message is a user attempting and failing to create a
folder in the root of the share. The user is the one specified in
valid_users.
The OS level permissions are correct - i.e. I can log in locally as
man_dude and create that folder on the FS.
Let me know if there's other info you could use.
Eugene
On Thu, Jun 14, 2018 at 7:48 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Thu, 14 Jun 20...
2010 Sep 02
2
unanswered questions
Hello,
Since some months I can not get any feedback from you for my questions
in two different account with the same name. I just wonder is there any
specific reason for it? Maybe my english is not so clear or I ask wrong
questions for wrong lists I don't know but in any case I think I should
have been informed.
Sincerely Yours
Murat Can Tuna
2008 Mar 01
0
Fixtures in ActionController::TestCase
Hi guys,
Need some help.
I am using Rails 2.0 and while writing functional test, I encountered
the following problem
class UserControllerTest < ActionController::TestCase
fixtures :users
...
def do_something
attempt_login(users(:valid_user)) # assuming valid_user is a
proper line in
...
end
def attempt_login(user)
post :login, :user => { :login => user.login, :password =>
user.password }
end
Running the test:
...
1) Error:
do_something(UserControllerTest):
NoMethodError: You have a nil object when you didn'...
2018 Jun 15
2
No write access on new shares until smbd is restarted
...follow symlinks=yes
> > wide links=no
> > valid users=man_dude
> > oplocks=yes
> > locking=yes
> >
> > The log from my first message is a user attempting and failing to
> > create a folder in the root of the share. The user is the one
> > specified in valid_users.
> >
> > The OS level permissions are correct - i.e. I can log in locally as
> > man_dude and create that folder on the FS.
> >
>
> OK, if I remove all the default lines, I am left with this:
>
> [global]
> template shell=/bin/bash
> log file=/var/log/sa...
2018 Jun 14
0
No write access on new shares until smbd is restarted
...ctory mask=0775
> read only=no
> follow symlinks=yes
> wide links=no
> valid users=man_dude
> oplocks=yes
> locking=yes
>
> The log from my first message is a user attempting and failing to
> create a folder in the root of the share. The user is the one
> specified in valid_users.
>
> The OS level permissions are correct - i.e. I can log in locally as
> man_dude and create that folder on the FS.
>
OK, if I remove all the default lines, I am left with this:
[global]
template shell=/bin/bash
log file=/var/log/samba/log.%m
log level=8
load printers=no
printi...
2008 Jul 08
1
smb_filetype_to_mode : filetype out of range
Hello,
I have a problem with a NAS.
I have mounted the NAS with :
smbmount //ip_nas//folder_name /mnt/disque
When i list the content of this folder (ls -l /mnt/disque), i have this message :
smb_filetype_to_mode : filetype out of range : 12336
It lists the folder with strange names, for instance : 5?? cationd r ????
The biggest file in this folder is an image disc file of 2Gbytes.
Thanks for
2012 Feb 27
1
samba 4 how to enable winbindd
...thers):
Feb 27 07:38:07 shitbox dovecot-auth: pam_winbind(dovecot): getting password
(0x00000000)
Feb 27 07:38:07 shitbox dovecot-auth: pam_winbind(dovecot): internal module
error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'alain')
Feb 27 07:38:07 shitbox dovecot-auth: pam_winbind(dovecot): valid_user:
wbcGetpwnam gave WBC_ERR_WINBIND_NOT_AVAILABLE
I have tried to look up the smb.conf manpage but ubuntu install the manpage
for samba 3's winbindd, not samba 4 so I couldn't find the setting needed to
enable winbindd in samba 4.
Alain
2007 Apr 26
1
Winbind: limiting groups that can log-in
Hi,
I am currently trying to configure AD (Windows 2003) + Linux (CentOS
4.4) to allow user logins for certain users, namely, developers.
The winbind authentication part of it is working correctly, but every
user in AD can login to the servers via ssh.
I have tried to limit users by adding
valid_users = @"domain+developers" (+ is the separator)
on /etc/samba/smb.conf, but this does not seem to work for
authentication.
As a workaround, I can limit access to groups by adding
account required pam_listfile.so file=/etc/samba/allowed_groups
item=group sense=allow onerr=fail
to pam....
2018 Jun 15
0
No write access on new shares until smbd is restarted
...>> wide links=no
>>> valid users=man_dude
>>> oplocks=yes
>>> locking=yes
>>>
>>> The log from my first message is a user attempting and failing to
>>> create a folder in the root of the share. The user is the one
>>> specified in valid_users.
>>>
>>> The OS level permissions are correct - i.e. I can log in locally as
>>> man_dude and create that folder on the FS.
>>>
>>
>> OK, if I remove all the default lines, I am left with this:
>>
>> [global]
>> template shell=/bi...
2005 Mar 03
0
RE: Getting phpconfig to work?
...uot;=>"phpconfig.php?reset=reset")));
// init side menus
$menuList = array();
$rightMenuList = array();
session_start();
// this session variable will be set by a login screen
// in a future release
// for now, fake it for the prototype
$_SESSION['valid_user'] = $fakeuser;
$conf->OC_checkValidUser();
if($_GET['file']) // conf file requested via menu
How do I proceed from here?
Thanks,
Julius.
> Hi,
>
> You need to click on the phpconfig.php to actually load the page. It is
because the file is not called index.php...
1997 Nov 05
1
Slow on SunOS 4.1.4 (Eudora mailer)
...main Name>
writeable = no
printcap name = /etc/printcap
printing = bsd
wins server = <IP of NT Domain PDC>
preferred master = no
local master = yes
os level = 10
[homes]
comment = Home Directory on %h
writeable = yes
browseable = no
include = /local/lib/samba/valid_users.%h
Paul Ostro
University College London Hospitals
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2955 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/19971105/85d5183f/attachmen...
2005 Mar 03
1
RE: Getting phpconfig to work?
...uot;=>"phpconfig.php?reset=reset")));
// init side menus
$menuList = array();
$rightMenuList = array();
session_start();
// this session variable will be set by a login screen
// in a future release
// for now, fake it for the prototype
$_SESSION['valid_user'] = $fakeuser;
$conf->OC_checkValidUser();
if($_GET['file']) // conf file requested via menu
How do I proceed from here?
Thanks,
Julius.
> Hi,
>
> You need to click on the phpconfig.php to actually load the page. It is
because the file is not called index.php...