Displaying 20 results from an estimated 4000 matches similar to: "Samba and Logging Off Windows XP"
2006 May 29
1
Init lifecycle and rails
In a servlet J2EE application, there is an init style method that gets
called after that servlet is loaded. Is there something similar within
a rails controller context. I am looking for something where I can load
and setup a particular object.
Also, what about with sessions as well. I would like to call some
library when a user session begins and possibly kill that object when
the
2006 Mar 30
0
Shameless Plug, early rails application
Well, I wanted to mention my early rails application(in the event I stop
working on it). At present it is a link blog, you post a link and now
we have a listing of links from different users. Ideally, it has been a
week or two.
On rails in general, it is really nice, you want to add an action or
update a model, you just do it as opposed to wrapping something in 10
layers of XML. The
2006 Mar 30
4
Simple Ruby/Rails question, doing posted hours ago
I am not the Ruby aficionado yet, if I have created_on ...timestamp.
What is a ruby way of getting the hours/minutes/seconds ago. is there
some class that has this implemented.
For example:
Posted on 3/28/2006
Show a time with:
posted: 1 day ago
... something along those lines.
--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
also checkout alpha version of botverse:
2006 Apr 27
0
Another simple rails application - really only a hour or two
This is another simple rails application. I am just putting them out
there; doesn''t really add to any of the other depot applications out
there, just another. From
type ''rails XXXX'' it probably was a hour or so to setup and design the
layout and what-not.
http://www.newspiritcompany.com:8086/helper_numbers_idea/
2006 Jun 01
1
Upgrading old rails application for new rails version
I want to update my application which was generated with rails 1.0.0 to
the new version. My question. I have already updated the ruby gems
library and things seem to work. Do I really need to update the actual
code. Can I update the code? For example, I noticed that prototype is
a lot newer version. I would like to update that.
--
Berlin Brown
(ramaza3 on freenode)
2006 May 04
1
Ways to share code among the ''layout''
Is there a way to use the same code accross multiple layouts. Normally,
I am associating a layout with a particular controller? Is there a
cleaner way.
--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
http://www.newspiritcompany.com/newforums
also checkout alpha version of botverse:
http://www.newspiritcompany.com:8086/universe_home
2006 May 29
0
Custom command line libraries for controllers and rails
I have a library that is basically used on the command-line. I am
trying to fit it in for my rails application. So far it works, but I
was worried about how rails does caching or anything else. Basically,
is this an ok approach.
So far, I put the library in RAILS_APP/lib/bot.rb
And ''bot.rb'' contains a class ''VM''.
I have a controller:
BotController..
2006 Apr 18
0
activerecord(mysql) and hash to unique count
I am working with ruby(activerecord) and want to save a ''hash'' of URLs
such that a key is the URL and the value points to a count of how many
times it occurs after processing a csv file
my question; all I know of is right now is to attempt to save, get a
unique error and then when handling the exception increment the hash
value (really a column in a table)
Is this bad? Or
2006 Apr 30
2
Give me NIL or null results
with this post; with a query with multiple tables, I am trying to return
results that are null in one table; I am trying to do something like this;
class NumbersFeedLink < ActiveRecord::Base
has_many :numbers_sent_feed_link
end
class NumbersSentFeedLink < ActiveRecord::Base
belongs_to :numbers_feed_link
end
sent = NumbersFeedLink.find(:all,
:order => [
2006 Mar 30
1
Rails mangle my ''class''?
Did rails due this to the final output of my document. I had a div that
had a style:
<div style="color: #FFF; background-color: #537677l; ">
fsfs
</div>
This was the final output?
<div style="color: rgb(255, 255, 255);">
fsfs
</div>
--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
also checkout alpha version of botverse:
2006 Apr 17
1
Error with installing rails/gems on ubuntu-dapper
I am getting an error when trying to install rails on dapper. It looks
like it partially installed something. Mainly the issue seems to be
with ''gems''?
I am using:
ruby-1.8.4
gems 0.8.11
Is this bad?
bbrown@england:~/rubygems-0.8.11$ sudo gem install rails
--include-dependencies
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
2006 Mar 27
5
RedCloth and Rails
Has anyone had any experience with RedCloth for rails. It is a textile
system. I haven''t spot checked the code and was wondering if it caused
any lockups or other issues.
http://whytheluckystiff.net/ruby/redcloth/
--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
also checkout alpha version of botverse:
http://www.newspiritcompany.com:8086/universe_home
2006 May 03
7
Business Logic and where to place with rails
I am having an issue of deciding where I should put the business code
for example the more complex code coming off the controller. Right now,
I am just thinking to put it in the ''lib'' directory and the do something
along these lines:
require_dependency "system_process"
class SystemMessageController < ApplicationController
include SystemProcess
...
...
Where
2006 May 03
6
ActiveRecord and Lost Connection
This isnt totally a rails question; I am using ActiveRecord for storing
some simple values into a database. My problem; I keep gettign MySQL
Errors. On the Win32 machine it was off and on. Now on the linux
machine (ubuntu) I can'' t connect at all. I have all the password
settings correct.
My only thought, I am working with Threads and thought that might cause
the issue, but I
2007 May 16
3
Winbind - wbinfo -u works, getent passwd only gives local users
I only have limited Samba experience, and expect this is a silly mistake, but
have been unable to find a solution
I have installed Samba and Winbind on my desktop Linux (Debian) machine
(SPARKSTONELX), aiming to unify logins with other windows machines accessing
the PDC, again samba/Debian, with tdbsam password backend. All is well,
joining the domain, and getting account details using wbinfo -u,
2006 Apr 27
3
Win2k clients won't rejoin Samba PDC domain, "Remote Procedure Call Failed"?
Hey everyone, firstly thanks for your time, I've spent hours, a lot
straight days too, for the last couple of weeks trying to solve this
issue. The only thing (afai can see) I've got left is asking the
experts and formatting all the machines and starting over, the latter
of which I'm not interesting in doing because it doesn't solve the
issue (well it might make the problem go
2008 Jan 10
8
Windows XP always see folder with read-only attribute set
Dear all,
I've got a linux server running samba-3.0.10 with some windows xp and
windows 2k clients. My config is something like:
[global]
server string = aroprod
workgroup = WORKGROUP
hosts allow = 192.168.0. 127.
security = share
load printers = yes
printing = cups
printcap name = cups
prefered master = yes
os level =
2006 Jul 30
1
3.0.22 smbd/oplock.c:oplock_timeout_handler
Hello!
Our users created very large excel file - about 60 Mb, then when they
want to open it from samba share, they can't.
I see in log:
[2006/07/26 12:33:20, 0] smbd/oplock.c:oplock_timeout_handler(366)
Oplock break failed for file file.xls -- replying anyway
Could you tell me what can I do to solve this problem?
btw, there are no problems in network, looks like file is too large and
2007 Jun 12
2
samba, ldap changing password
HEllo
I have a samba 3 with ldap working as a PDC,my mail server also using
LDAP database as a authentication.
Do you know any web application, script (working with apache) that
allow users to change their ldap passwords (smaba passwords and passwd
passwords).
Usually users can do that from windows clients which log in to domain,
but I have also a lot of users using laptops and they dont log
2006 May 09
2
smb.conf for MS-Access and MS-Excell Files
I have a file server running with Samba over Debian Sarge 3.1 R1. This
File server store MDB and XLS files. Could anybody give me an optimal
setup for my samba server (smb.conf). Actually, the performance is very
poor.
Thanks,
Daniel Arjona
Net Admin
GENCO Distribution Systems
http://www.genco.com/
8740 Robert Fulton Dr
Columbia, MD 21046
Ph: 410-872-0875 X12
Fax: 410-872-0877