Displaying 20 results from an estimated 1000 matches similar to: "sambaHomePath usage"
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)
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
2007 Aug 29
0
sambaProfilePath and sambaHomePath when adding a BDC
I have a Samba3+LDAP PDC running. I set it up long time ago following de
IDEALX howto and using smbldap-tools. The domain is called PRINCIPAL and the
PDC netbios name is SMBSERV. In my LDAP tree, users have (among others)
attributes like these:
dn: uid=bachillerato01,ou=Users,dc=guaydil,dc=prv
cn: Usuario prueba para bachillerato
...
sambaProfilePath: \\SMBSERV\profiles\bachillerato01
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
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 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
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
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 =
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/
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",
2003 Aug 13
0
Password change problems
Dear Sir
I?m terribly confused about one problem in our environment. We have one
NIS+SAMBA environment, running in E450 with Solaris 7. Apparently, after
one system patch application, the password change is not working. Please
look this:
1) In the server, with root account:
# passwd user_test
New password:
Re-enter new password:
NIS passwd/attributes changed on server
passwd (SYSTEM): Password
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.
2004 Feb 13
1
upgrade 3.0.1 -> 3.0.2, problem with homes-share
Hi!
We are using Samba 3 in SuSE-linux 8.2 with ldap.
After upgrading from 3.0.1 to 3.0.2 we got following problem:
When users log-in homes-share is not allways reachable, so automatic
homedrive-mapping and roaming profiles doesn't work. This doesn't happen
everytime, but quite often.
And after login users can map their homedrives manually.
Users have following attributes in LDAP
2023 Mar 29
1
[EXTERNAL] Re: ChaCha20 Rekey Frequency
I'm hardly an expert on this, but if I remember correctly, the rekey rate for good security is mostly dependent on the cipher block size. I left my reference books at home; so, I can't come up with a reference for you, but I would take Chris' "I'm deeply unsure of what impact that would have on the security of the cipher" comment seriously and switch to a cipher with a
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 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
2023 Mar 29
1
[EXTERNAL] Re: ChaCha20 Rekey Frequency
That's true for block ciphers, but ChaCha20+poly1305 is a stream cipher.
On Wed, 29 Mar 2023, Robinson, Herbie wrote:
>
> I?m hardly an expert on this, but if I remember correctly, the rekey rate
> for good security is mostly dependent on the cipher block size.? I left my
> reference books at home; so, I can?t come up with a reference for you, but I
> would take Chris?
2010 Nov 12
1
Samba and LDAP - which attributes are mandatory which optional
Hallo,
I'm asking myself, which LDAP attributes are mandatory which optional
for user and workstation accounts.
After using the smbldap-populate command there where different
attributes set than for adding users with the smbldap-useradd command.
--- snip ---
sambaAcctFlags:
sambaHomeDrive:
sambaHomePath:
sambaKickoffTime:
sambaLMPassword:
sambaLogoffTime:
sambaLogonScript:
sambaLogonTime:
2011 Feb 18
3
Help needed with Windows7 roaming files.
Hi all,
We've been trying to setup/upgrade a samba PDC (version 3.56) with OpenLDAP
as backend and roaming profiles for Windows7 (32bit) Clients. windows7 has
no problem
with login after applying the reg patches, however, it seems to always load
a temporary profile as opposed to roaming one for users, no local profile
is created.
this has caused Outlook 2010 to function improperly