Displaying 20 results from an estimated 100 matches similar to: "Password change problems"
2012 Apr 04
1
sambaHomePath usage
My name is Camelia Botez and I'm linux system admin.
I try to configure samba server usind ldap authentication and different sambaHomePath from login home directory.
For ex. A user user_test has his home (login) directory /home/user_test and I want , using samba map on windows to have /srv/user_test home directory for this user.
We included in ldap schema 2 attributes sambaHomeDrive (H: )
And
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test...
/usr/bin/ruby1.8 -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb"
"test/unit/localization_test.rb" "test/unit/user_test.rb"
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader
Started
........F....E
Finished in 0.108794 seconds.
1)
2006 Jul 31
0
validates_confirmation_of won''t work
Hello folks, this is the first time I''ve written to this forum. If
there''s already a topic on this, forgive me but the search isn''t working
right now.
I seem to have a problem validating confirmation of a password. The
first two snippets are some model code and some test code that work just
fine:
----------------------------
class Challenge < ActiveRecord::Base
2006 Apr 28
2
Accessing fixtures from unit tests
I have set up some fixtures in test/fixtures/users.xml:
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
admin:
id: 1
username: admin
password: admin
pbarry:
id: 2
username: pbarry
I have a unit test for my user model:
require File.dirname(__FILE__) + ''/../test_helper''
class UserTest < Test::Unit::TestCase
fixtures :users
def
2004 Nov 03
5
FireFly Problems
How come FireFly doesn't give me an Inband DTMF option? Only RFC2833 and
Info. RFC2833 is the default, so I left it that way. I also unchecked all
the codecs except g711ulaw to force that codecs usage. However, when I go to
place a call, I get this:
Nov 3 13:18:44 WARNING[53641241]: dsp.c:1468 ast_dsp_process: Inband DTMF
is not supported on codec G.711 u-law. Use RFC2833
Nov 3 13:18:44
2012 Nov 17
0
How to get more debug information in test log ?
Im one of my unit tests, I got an error I cannot even start looking for the
issue as few information are logged ...
Using the test console , there is no error at all :
> rails console test
>> Loading test environment (Rails 3.2.9.rc3)
> site1 = FactoryGirl.create(:cms_site, label: "booboo")
>> BEGIN
..
..
>>
but running my tests > unit
> ruby -Itest
2006 Jun 23
1
''Series'' Pluralization
Howdy,
I have a model I called ''content_series''. I created it and noticed that
Rails called it ''Sery'', so I added ''series'' to the uncountable thing in
the config, like this:
Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, ''\1en''
# inflect.singular /^(ox)en/i, ''\1''
#
2006 Jun 08
1
Test errors
I''m working on learning user auth and ran a test/unit/test.rb and seem to
have stumbled across some errors. This is from a tutorial on the web and I
pretty much copied the code and checked syntax so not sure where it''s
wrong. I thought I''d throw it out since I"m new to ROR and the error didn''t
look too bad ;), perhaps someone would have a better
2020 Mar 03
0
Unable to get primary group information when using AD authentication with samba-4.10.4
On 03/03/2020 02:47, Goto, Ryoichi wrote:
> Users who run 'wbinfo -a USERNAME% PASSWORD' will get the expected results even after rebooting the machine.
> Being the user who ran 'wbinfo -a' and where will the resulting information be stored?
I don't really see why a user needs to run 'wbinfo -a' in the first place ?
There were changes made to winbind that made
2006 Apr 26
1
Bug in validates_associated?
Here is the setup:
Windows XP, InstantRails, MySQL 14.7, Ruby 1.8.4, Rails 1.1.2
MODEL:
class Office<ActiveRecord::Base
has_many :users
end
class User<ActiveRecord::Base
belongs_to :office
validates_presence_of :office_id
validates_associated :office
<....other stuff...>
end
UNIT_TEST test/unit/user_test.rb
def test_associations
u = User.new
u.office_id =
2006 May 02
2
Autotest doesn''t work on WinXP?
When I try to run autotest (zenspider) (which looks VERY cool), I get this
error:
(run from within a Rails app directory)
C:\ruby_home\analysis>autotest -rails
# Testing updated files
+ c:/ruby/bin/ruby -Ilib:test -e ''["test/unit/user_test.rb",
"test/unit/role_test.rb"].each { |f| load f }'' | unit_diff -u
''c:'' is not recognized
2005 Mar 04
0
About Security Mode ADS and User Coexist(intermix)??
while "security =3D ads" fail ,revert "security =3D user"
example :
AD Account
ad_test
Local Account
user_test
while request username =3D user_test, can login
ad_test can login too
How to do it ???From dave at dcdata.co.za Fri Mar 4 07:48:58 2005
From: dave at dcdata.co.za (David Wilson)
Date: Fri Mar 4 07:49:34 2005
Subject: [Samba] Re: Logon Hours
2006 May 04
2
Testing associations
I have a pretty simple model, articles and users.
class Article
belongs_to :user
end
class User
has_many :articles
end
In my unit tests I want to ensure that the associations work properly.
What''s the best way to do this? The obvious thing to do is a test in
each model.
# user_test.rb
def test_add_post
u = users(:first)
before_articles = u.articles.count
u.articles
2005 Oct 25
2
generate scaffold ignores controller parameter
Since I upgraded from Rails 0.13.1 to 0.14.1 "generate scaffold <Model>
<Controller>" doesn''t take any notice of the controller parameter. Anyone
else suffering from this? E.g.:
C:\Ruby\work\test>ruby script\generate scaffold User Admin
exists app/controllers/
exists app/helpers/
create app/views/users
exists test/functional/
2001 Jul 21
5
Failed X11 authentication does the wrong thing
Hi,
if I do the following:
ssh -X localhost
su - another_user
xterm
I get:
X connection to ming:10.0 broken (explicit kill or server shutdown).
Where what is really wanted was something like:
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
xterm Xt error: Can't open display: :0.0
'tis easy to reproduce the bug, but the debug
2006 Mar 08
1
indexing a document object fails
Hi,
I''m trying out the example (more or less) straight from the tutorial:
doc = Document.new
doc << Field.new("id", "a", Field::Store::NO,
Field::Index::UNTOKENIZED)
doc << Field.new("title", "b", Field::Store::YES, Field::Index::UNTOKENIZED)
doc << Field.new("data", "c",
2006 May 05
0
Bad file descriptor during scaffold generation
Hi all,
Ruby 1.8.4 (latest one click)
Rails 1.1.2
Windows XP Pro, SP2
When I try to generate scaffolding I get the following error:
C:\eclipse\workspace\ns_hardware>ruby script/generate scaffold User
Computer
exists app/controllers/
exists app/helpers/
exists app/views/computer
exists test/functional/
dependency model
exists app/models/
exists
2006 May 03
6
Scaffold Generation Problem
Greetings all,
I''m sure there is probably a very obvious reason for the following
problem. However, after much hair pulling, I am just not seeing it yet.
As you can see from the trace below, I am not able to complete scaffold
generation due to some problem between rails and mysql. I double
checked MySQL to make sure both my Ruby user and Root user have full
rights to the database.
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2006 Mar 02
2
Unit tests, salted hash login
Hello,
I am having some trouble running the unit tests for the salted has login
generator. I am a bit new to both ruby and rails so I am having a little
trouble deciphering the error message I get when running ''rake
test_units''. Up till the point where I try to run the unit tests I have
followed the quick start guide for the salted hash login generator