Displaying 20 results from an estimated 6000 matches similar to: "Do I Edit the Migration Too to Show the Belongs To"
2019 Sep 09
0
smbldap-showuser and ldapsearch can't show groups user belongs to.
On 09/09/2019 16:55, Mauricio Tavares wrote:
> On Fri, Sep 6, 2019 at 4:12 PM Rowland penny via samba
> <samba at lists.samba.org> wrote:
>> On 06/09/2019 20:14, Mauricio Tavares via samba wrote:
>>> Quick-n-easy questions:
>>>
>>> Let's say user raub is added to group nosy using smbldap-groupmod
>>>
>>> smbldap-groupmod -m raub
2019 Sep 06
4
smbldap-showuser and ldapsearch can't show groups user belongs to.
Quick-n-easy questions:
Let's say user raub is added to group nosy using smbldap-groupmod
smbldap-groupmod -m raub nosy
Now, according to ol' ldapsearch,
ldapsearch -vvv -H "ldaps://ldap.example.com" -D
"uid=admin,ou=People,dc=example,dc=com" -W -b "dc=example,dc=com" -s
sub "(cn-nosy)"
group nosy has a dn attribute that looks like this
dn:
2006 Aug 12
1
has and belongs to many different?
Is there such a thing? I am thinking of an application that has
something like this:
1. person has many things - there is a ''persons'' table
2. the things he has are stored in a table that is something like this
person_id, thing_table_name, thing_id
For example, it may map to
person1, books, 23 #Person 1 owns book 23
person1, books, 25 #Person 1 owns book 25
2007 Aug 30
3
has/belongs to many sql error
I have a model Asset which has_and_belongs_to_many :tags. Tag has only
one field, name. There is a table assets_tags which only has an
asset_id and a tag_id.
I can add a tag to one asset. If I try to add the same tag to another
asset though (asset.tags << tag) I get this error:
Mysql::Error: #23000Duplicate entry ''4'' for key 1: INSERT INTO
assets_tags (`tag_id`, `id`,
2013 Sep 17
4
Rails 4 deprecation of in-place edit methods for collection associations
Hi everyone!
For those of you who are not noticed the in-place edit method for
collection associations are broken in the current rails release - 4.0.0,
and here''s what is cooking in the rails master
https://github.com/rails/rails/commit/1a40be02113287d9a003f8224e91b9f623857f4b
and this https://github.com/rails/rails/pull/12227
In short: it looks like things like has_many.reject!{},
2006 Jan 09
4
scaffold seems broken on show,edit,delete
After running generate scaffold and pointing the browser, the data list
appears correctly, the create new button works okay, but show, edit,
delete give the following error:
"Could not find Organization without an ID"
running on ubuntu breezy with postgresql - data and everything else
appears correct - any ideas?
2017 Jan 03
0
How to show boot prompt and edit kernel cmdline from serial?
> For testing purposses, I'm trying to hook on QEmu an ISO image that
> start automatically with syslinux (just a DEFAULT label and no TIMEOUT
> option) and change the kernel arguments to redirect the console to a
> serial port instead of the screen.
>
> So far I've seen that the SERIAL statement give me a welcome message
> and the loading of the kernel and initramfs
2005 Dec 27
0
Edge Rails idea -- was [DRY relative to edit and show]
Just got around to understanding your idea Rich.
Your idea seems to apply to every controller with new/edit/show views,
so I think this is a better idea for the edge rails folks to implement
generically than for a newbie like me do as a one-off.
Thanks
Greg
On 12/23/05, Rich Clingman <Rich-xT5DcnBKZlNBDgjK7y7TUQ@public.gmane.org> wrote:
>
> > It would be nice if rails had a
2017 Jan 03
2
How to show boot prompt and edit kernel cmdline from serial?
For testing purposses, I'm trying to hook on QEmu an ISO image that
start automatically with syslinux (just a DEFAULT label and no TIMEOUT
option) and change the kernel arguments to redirect the console to a
serial port instead of the screen.
So far I've seen that the SERIAL statement give me a welcome message
and the loading of the kernel and initramfs on the serial port (but
curiously,
2006 Jul 11
1
Has And Belongs To Many and Pagination
I''m struggling with the issue of pagination and many to many
relationships.
I have products and categories (a many to many relationship.)
When I go to a category page, I wish to load all products associated
with that category and have pagination of the products.
@category_products = @category.products gives me all the products
associated with the category however, when I try to
2006 May 19
0
HABTM and Belongs to find
SO I have a Hcal model. A hcal belongs_to :show, and
has_and_belongs_to_many :datetypes. I want to be able to find all the
hcals in a particular show, with a particular datetype. Is this
possible?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 17
1
Design / Pattern / Scaffold for has-and-belongs-to-many ?
Is there a standard practice for providing a UI into HBTM relationships?
I have a model User, and a model Training, and I need to manage both
relationships -- show me all the people that have training X, but also
show me all trainings user U has. And, of course, "Lookup this user and
then add/remove trainings for this person" or "Lookup this training and
add/remove
2006 Mar 24
1
Has and belongs to many ... howto in the view?
I have a project, it has members. I have the data modeled, the
ActiveRecord setup but I''m running into a block as how to accomplish
this in a view. I would like if when the Project is being edited to
present a list of all users, and then have a checkbox beside each
name. Those selected would be a member, those who are not, obviously
would not be. I am, however, not closed to
2005 Apr 20
2
Has And Belongs To Many Validations
Here is the schema that I am working with:
courses -> courses_teachers <- teachers
I want to ensure that a teacher is not assigned the same course more
than once. In other words, if I''m in the courses_teachers table as
teaching Spanish 101, if someone tries to add that same teacher/course
combination to the table again, it will not be allowed.
I thought I could use something
2004 Nov 09
1
group a machine account belongs to (samba pdc)
Does it matter to what group a machine account belongs to? Does
that group have to be mapped to a domain group with net groupmap?
I created a local group in my linux box (samba pdc 3.0.7) called
"machines" and I'm using it as primary group for all the machine
accounts. Do I have to map this group to some windows group?
2013 Feb 19
2
[LLVMdev] eliminateCallFramePseudoInstr belongs in TargetRegisterInfo or TargetFrameLowering
Hi all,
I ran into this while trying to figure out why the X86
getSUBriOpcode/getADDriOpcode functions are duplicated, appearing once
in X86RegisterInfo.cpp and once in X86FrameLowering.cpp,
The method TargetRegisterInfo::eliminateCallFramePseudoInstr doesn't
appear to really belong in this interface. It adds instructions into
the MachineFunction given to it, which isn't what
2013 Feb 19
0
[LLVMdev] eliminateCallFramePseudoInstr belongs in TargetRegisterInfo or TargetFrameLowering
> ISTM that eliminateCallFramePseudoInstr belongs in
> TargerFrameLowering, since it's being used during prolog/epilog
> insertion. Moving it there would avoid the code duplication and
> possibly other layering problems.
> What do you think
Go ahead and move. It's s historical artifact why it is inside TRI.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics
2004 Aug 04
1
Identifying which call an event belongs to
Hi,
I guess I need some help with management interface. I would like to watch
calls through the management interface, but I don't know how to identify
which call an event belongs to or in other words how to associate a call
and uniqueid field of event.
Let's say I send the following manager command:
action: originate
channel: sip/12125551111@pbx1
callerid: 12125551111
MaxRetries: 1
2012 Jun 05
1
How to rotate PHP error log - since it belongs to apache
Hello,
I'm using CentOS 6.2 with the stock rpm
php-5.3.3-3.el6_2.8.x86_64
and the following /etc/php.ini file:
error_reporting = E_ALL & ~E_DEPRECATED
display_errors = Off
error_log = /var/log/php/php_errors.log
and that file is very useful for me because I have many custom
PHP-scripts at my site, but that file keeps growing too... :-)
So my question is for how to rotate it (esp.
2009 Jun 17
1
function to determine to which class/category a value belongs to?
Hi all,
I''ve got a simple contingency table produced with table(), and the upper and
lower quartiles (quantile25 and quantile75) for the same dataset.
Is there a function that tells me in which category does the value of the
quartile falls into?
for example:
tabsp <- table(fam$I[fam$I>0])
1 3 6
6 1 1
and for the cumulative frequency distribution
tabcum <- cumsum(tabsp)
1 3