Displaying 20 results from an estimated 26 matches for "valid_users".
Did you mean:
valid_user
2007 Dec 17
14
Change in isolation behaviour 1.08 - 1.10 ?
Hi,
I just moved from 1.08 to 1.10 and 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 =>
2018 Sep 19
1
Sieve and output variable for execute
I'm trying to get blow Sieve filter to work
require ["fileinto", "imap4flags", "mailbox", "body", "envelope", "vnd.dovecot.pipe", "variables", "vnd.dovecot.execute"];
if envelope :matches "To" "*@*" {
set "recipient" "${0}";
set "user" "${1}";
set
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
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
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
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
have user_cotnroller
class UserController < ApplicationController
def authenticate
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 =
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}
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 2018...
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
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/samba...
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
printing=...
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
Hello,
I configured a domain controller on a ubuntu server using samba 4
alpha 15 using ubuntu's distribution packages and followed this howto:
https://wiki.samba.org/index.php/Samba4/Winbind to have unix account for
domain users but winbindd is not running; these two commands from the howto
does not work:
Wbinfo -p
Wbinfo -u
I configured debug logging for pam as well as samba (log level 5)
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.d/s...
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=/bin/b...
2005 Mar 03
0
RE: Getting phpconfig to work?
Hi,
When I do click on the phpconfig.php link from
http://ip-of-machine/phpconfig/, it returns a page with the actual
contents of that file (phpconfig.php) and doesn't load the page. See some
of the output below;
<?PHP
/**
*
* Asterisk configuration file interface script
*
*
*
*
*
* phpconfig:,v 1.0 2003/07/03 17:19:37
* Authors: Dave Packham <dave.packham@utah.edu>
*
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/attachment.b...
2005 Mar 03
1
RE: Getting phpconfig to work?
Hi,
When I do click on the phpconfig.php link from
http://ip-of-machine/phpconfig/, it returns a page with the actual
contents of that file (phpconfig.php) and doesn't load the page. See some
of the output below;
<?PHP
/**
*
* Asterisk configuration file interface script
*
*
*
*
*
* phpconfig:,v 1.0 2003/07/03 17:19:37
* Authors: Dave Packham <dave.packham@utah.edu>
*