Displaying 11 results from an estimated 11 matches for "owner_type".
2007 Aug 17
0
map.with_options :path_prefix => ''
...ss unless I put the
prefix in each individual route. Any help is appreciated.
My foo model has a polymorphic owner which is what I want the path_prefix to
represent, so my routes.rb has something like...
map.with_options :controller => ''foos'', :path_prefix =>
'':owner_type/:owner_id'' do |foos|
foos.new_foo ''/foos/new'',
:action => ''new''
foos.create_foo ''/foos'',
:action => ''create'',...
2003 Mar 06
1
ACL bug FIXes for get_nt_acl()
Two attached patches for samba 2.2.7a and 3.0-alfa22,
that I've made today, fix 3 bugs mentioned in my previous e-mail.
1) For each file in addition to ALLOW ACE
proper DENY ACE is created.
2) "Take ownership" is shown DENIED for all except root ACEs
3) Read Permissions and read attributes are always shown as allowed,
as they are actually allowed.
--
Zhitomirsky
2018 Mar 22
4
'set_simple_acl' referenced before assignment in classicupgrade
Hi,
I am progressing slowly with the migration from Samba3 to Samba4.
I have escaped the bug 13060, now I get to:
Adding groups
Importing groups
Group already exists sid=S-1-5-21-1360262076-8766554542-0991298654-513, groupname=Unix Group Users existing_groupname=Domain Users, Ignoring.
Committing 'add groups' transaction to disk
Adding users
Importing users
Committing 'add
2008 Jan 10
0
BUG? has_many :through makes funny queries
...d ==
folders.gallery_id
Right? Well it does not.
Mysql::Error: #42S22Unknown column ''galleries.gallery_id'' in ''on
clause'': SELECT folders.* FROM folders INNER JOIN galleries ON
folders.id = galleries.gallery_id WHERE ((galleries.owner_id = 1) AND
(galleries.owner_type = ''User''))
This query doesn''t make a lot of sense for me... Anyone wanna explain?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rai...
2018 Apr 04
0
uncaught exception - Unable to get id for sid in classicupgrade
...ite-packages/samba/provision/__init__.py", line 1477, in set_dir_acl
setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service)
File "/usr/local/lib/python2.7/site-packages/samba/ntacls.py", line 112, in setntacl
(owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid)
I confirmed that I have no SID other than S-1-5-21-xxx, these S-1-5-32,
S-1-5-18, etc. does not exist.
I also confimed that S-1-5-21-1360262076-3929845164-3653621414-520 does
not exist (it may have existed a long time ago).
S-1-5-21-1360262076-3929845164-3653621...
2018 Apr 04
1
uncaught exception - Unable to get id for sid in classicupgrade
...mba/provision/__init__.py",
> line 1477, in set_dir_acl setntacl(lp, path, acl, domsid,
> use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
> service=service) File
> "/usr/local/lib/python2.7/site-packages/samba/ntacls.py", line 112,
> in setntacl (owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid)
>
> I confirmed that I have no SID other than S-1-5-21-xxx, these
> S-1-5-32, S-1-5-18, etc. does not exist.
>
> I also confimed that S-1-5-21-1360262076-3929845164-3653621414-520
> does not exist (it may have existed a long time ago).
>
>...
2014 May 19
1
need help cleaning up my smb3 databases to complete smb4 classic upgrade
...ages/samba/provision/__init__.py",
line 1480, in set_dir_acl
setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs,
skip_invalid_chown=True, passdb=passdb, service=service)
File "/usr/local/samba/lib64/python2.6/site-packages/samba/ntacls.py",
line 104, in setntacl
(owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid)
I have medium size environment ~60windows PCs, ~60users and ~200registered
servers (many old ones were just disbanded and not removed from the domain,
about 1/3 active) so it's not a big issue if I'll have to delete one of
them and re-register it or check...
2007 Jul 18
10
Rails - Mock going out of scope?
Hello list,
I think I have a rails related RSpec problem with a mock going out of
scope on a recursive call to a model.
The code is at: http://pastie.textmate.org/79821 if you want to see it
highlighted. I have pasted it below as well.
Basically, I have an acts_as_nested_set model called "Node", which
works fine. I have a function which finds the language name of the
node instance.
2013 Mar 19
1
samba-tool classicupgrade (from v3 to v4) aborts with "Unable to get id for sid"
...ckages/samba/provision/__init__.py", line 1474, in set_dir_acl
setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service)
File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 104, in setntacl
(owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid)
And, here is a more complete output :
Next rid = 3689
Exporting posix attributes
Reading WINS database
Cannot open wins database, Ignoring: [Errno 2] No such file or directory: '/usr/local/mobius/var/wins.dat'
lpcfg_load: refreshing parameters from /usr/l...
2013 Oct 16
9
puppetdb, foreman, one particular node has a problem
...;, "last_compile", "last_freshcheck", "last_report", "location_id",
"mac", "managed", "medium_id", "model_id", "name", "operatingsystem_id",
"organization_id", "owner_id", "owner_type", "ptable_id", "puppet_ca_proxy_id",
"puppet_proxy_id","puppet_status", "root_pass", "serial", "source_file_id",
"subnet_id", "type", "updated_at", "use_image", "uuid") VAL...
2013 Apr 05
2
ClassicUpgrade => EpicFail
...ckages/samba/provision/__init__.py", line 1474, in set_dir_acl
setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service)
File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 104, in setntacl
(owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid)
</ClassicUpgradeLog>
p.p.s. The ldbdump requested by A.Bartlett:
<RequestedOutput>
# /home/jdetert/samba4-master/bin/ldbdump /usr/local/samba/private/idmap.ldb
dn: CN=CONFIG
cn: CONFIG
upperBound: 4000000
lowerBound: None
xidNumber: None
dn: CN=S-1-...