Displaying 20 results from an estimated 2000 matches similar to: "has_one_or_many"
2003 Sep 25
6
FreeBSD Patch question
I administer a remote server and want to apply some of the security patches. (I assume this is the best way to go since I can't go into single-user mode to use CVsup).
I have a couple of questions. First, I have installed one of the pgp ports to verify the patches. When I run it, I get this message:
> File 'buffer46.patch.asc' has signature, but with no text.
> Text is
2006 Nov 27
0
how to select with a kind of through relation(has_one)
I have a select issue with my members, my database structure is below
User has many shops
Shop belongs to a membership
Shop has many items
For front page I want to show items where membership of the shop has
ad_enabled and this is what I have in mind but it returns with
"Association named ''membership'' was not found; perhaps you misspelled
it?"
I tried to add to Item
2004 Jan 07
11
Random ping jumps
Hello,
I''ve got this problem. There is an linux server with 2.4.24 kernel
and pinging from him to internet (or from lan) ping randomly jumps up:
64 bytes from fortas.ktu.lt (193.219.160.131): icmp_seq=387 ttl=59 time=30.0 ms
64 bytes from fortas.ktu.lt (193.219.160.131): icmp_seq=388 ttl=59 time=32.6 ms
64 bytes from fortas.ktu.lt (193.219.160.131): icmp_seq=389 ttl=59 time=34.9 ms
2009 May 11
0
updating join table (HMT) with checkbox and extra fields
Hi,
I''ve been breaking my head over this thing with no success. Here is my
table layout -
class User < AR
has_many :memberships
has_many :groups, :through => :memberships
...
class Group < AR
has_many :memberships
has_many :users, :through => :memberships
...
class Membership < AR
belongs_to :user, :class_name => "User", :foreign_key =>
2024 Jan 26
2
permission denied with windows acls
On Thu, 25 Jan 2024 18:45:52 -0800
Peter Carlson via samba <samba at lists.samba.org> wrote:
> I am getting a permission denied when trying to ls as a domain user a
> samba mount with windows ACLs (sigh I thought I had this figured
> out). I tried to include self descriptive server names and include
> them in the info below (fs1: file server, nc: addc, u2gui: ubuntu
>
2009 Jan 14
1
Re: How can wine be available for all users?
stimpak wrote:
> exactly the file hierarchy i was thinking about!
>
> put the core files somewhere reachable for all users,but instead of making syslinks, wouldnt be best or possible to create separate *.reg for each account, so you wont risk a registry corruption?
>
> still that script doesnt make WINE multiuser (as in many users as the same time - so dont try that if you're
2024 Jan 26
1
permission denied with windows acls
On 1/26/24 09:34, Peter Carlson via samba wrote:
>
> On 1/26/24 02:35, Rowland Penny via samba wrote:
>> On Thu, 25 Jan 2024 18:45:52 -0800 Peter Carlson via samba
>> <samba at lists.samba.org> wrote:
>>> The share mounts and I am a member of the correct groups
>>> CARLSON\peter at u2gui:~$ cat /etc/fstab //fs.carlson.lab/test
>>> /mnt/test
2013 Apr 11
1
Samba4 Does cifs need a keytab for the multiuser option?
Hi
samba --version
Version 4.0.6-GIT-4bebda4
smb.conf:
[users]
path = /home/users
read only = No
Working on the DC which is also the fileserver
user steve2 can write to his folder at /home/users/steve2
But if we now mount the share:
sudo mount -t cifs //doloresdc/users /mnt -osec=krb5,multiuser
he can't write to the mounted share at /mnt/users/steve2 He gets
'Permission denied'.
2009 Jul 29
1
limits.conf
Hello,
I understand the function and reason of limits.conf, and I have some
limited experience configuring values for (essentially single-user)
Oracle systems.
How do I understand correctly what my limits should be for multiuser
system system, are there best practice guidance?
Are there some typical settings this list has had experience with for
multiuser environments?
Appreciated,
Eugene
2009 Aug 20
5
protecting multiuser systems from bruteforce ssh attacks
Hello,
What is the best way to protect multiuser systems from brute force
attacks? I am setting up a relatively loose DenyHosts policy, but I
like the idea of locking an account for a time if too many attempts
are made, but to balance this with keeping the user from making a
helpdesk call.
What are some policies/techniques that have worked for this list with
minimal hassle?
Thanks!
-Eugene
2015 Nov 02
3
Pam_mount not working with "sec=krb5"
Am 02.11.2015 um 13:12 schrieb buhorojo:
> On 02/11/15 12:54, Ole Traupe wrote:
>> Hi all, this is not really a Samba question, but related, and I hope
>> that some of you are using this and can tell me what I am doing wrong.
>>
>> On a member server, I can mount my shares by hand specifying "-o
>> username=xxx,domain=yyy,password=zzz". But as soon as I
2024 Jan 30
1
permission denied with windows acls
On Mon, 29 Jan 2024 16:42:20 -0800
Peter Carlson via samba <samba at lists.samba.org> wrote:
>
> On 1/29/24 13:08, Rowland Penny via samba wrote:
> > On Mon, 29 Jan 2024 12:51:37 -0800
> > Peter Carlson via samba<samba at lists.samba.org> wrote:
> >
> >
> >> Just did a quick test, the big T comes after setting permissions in
> >>
2024 Jan 26
1
permission denied with windows acls
On 1/26/24 02:35, Rowland Penny via samba wrote:
> On Thu, 25 Jan 2024 18:45:52 -0800 Peter Carlson via samba
> <samba at lists.samba.org> wrote:
>> The share mounts and I am a member of the correct groups
>> CARLSON\peter at u2gui:~$ cat /etc/fstab //fs.carlson.lab/test /mnt/test
>> cifs credentials=/root/smbcreds,multiuser,sec=ntlmssp,_netdev 0 0
> I think
2018 Jul 02
2
LVM problems
Hi!
Folowing setup:
4x HD 500TB
1st: /boot 4GB, remaining part LVM
2nd, 3rd, 4th all LVM
LVM volumes:
- 30G /root
- 8G /var
- 8G /tmp
- 200G /var/log/pgsql
- 800G /var/spacewalk
- 4G swap
System boots into emergency mode because it does not find any of the
logical volumes defined, because it does not enable the LVM volume
group.
Giving "lvm", then "vgchange -a y",
2003 Jan 28
1
Simply Accounting on Samba 2.2.5
Hello,
I have recently migrated my Win NT4 server to Linux with Samba 2.2.5 :-)
One of the applications we need to run is Simply Accounting 9.0 / 2003 in
multi-user mode. The company that makes Simply Accounting sais the data
must be shared from Win NT,2000 or XP but sharing it through Win 95,98 or
Samba could corrupt it. I know that Simply Accounting stores the data in
.SDB database file
2005 Mar 19
2
System-wide multiuser Wine installation
Hi.
I was wondering if it is possible to do a Wine installation and installation of Windows applications where the applications are accessible to all users (or better yet, users in a certain group like "win32" or "wine")? I read in the most recent edition (March 18, 2005) of the Wine Weekly News that the global registry functionality had been removed. Is this necessary to have
2015 Nov 03
4
Pam_mount not working with "sec=krb5"
>> I mean, putting the key in the keytab looks like a security risk to me.
> In what way does it appear any more of a risk than having the keys
> which you have there already? Even if someone steals the keytab,
> they're gonna be hard pressed to crack the key in the few hours before
> the tgt expires. Do you have very sensitive data maybe?
Ok. And maybe I misunderstood
2024 Jan 26
1
permission denied with windows acls
I am getting a permission denied when trying to ls as a domain user a
samba mount with windows ACLs (sigh I thought I had this figured out).?
I tried to include self descriptive server names and include them in the
info below (fs1: file server, nc: addc, u2gui: ubuntu desktop)
CARLSON\peter at u2gui:~$ ls -l /mnt
ls: cannot access '/mnt/test': Permission denied
total 0
2019 Aug 05
2
multiuser sshd as non-root
Dear knowledgeable people,
I'm running sshd 6.6.1p1 on RHEL 7.1. I've got a security requirement
to run it as an ordinary user, let's say test-x, instead of root.
It works well if I try to log in as test-x user with public key auth.
Unfortunately I need sshd to serve other users as well. In order to
let sshd switch uids I've set the CAP_SETUID and CAP_SETGID capabilities
on
2024 Feb 28
3
Samba, Kerberos, Autofs: Shares get disconnected
Hallo again,
I would like to ask if there exists any possibility to have a Samba mount
point with multiuser and with a credentials file or something similar.
After a couple weeks testing I just find that my shares get disconnected
after one week, which is not acceptable: I have stored some large project
files on the Samba share which is opened in some calculation software, and
simulations take up