Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER

2013-07-17 Thread Stéphane PURNELLE
Hi,

This trick don't resolve the problem

regards

Stéphane

---
Stéphane PURNELLE Admin. Systèmes et Réseaux 
Service Informatique   Corman S.A.   Tel : 00 32 (0)87/342467

Marc Muehlfeld sa...@marc-muehlfeld.de wrote on 16/07/2013 17:52:32:

 De : Marc Muehlfeld sa...@marc-muehlfeld.de
 A : Stéphane PURNELLE stephane.purne...@corman.be, 
 Cc : samba@lists.samba.org samba@lists.samba.org
 Date : 16/07/2013 17:52
 Objet : Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl 
 returned NT_STATUS_INVALID_OWNER
 
 Am 16.07.2013 09:28, schrieb Stéphane PURNELLE:
  I have the same problem with classicupgrade (samba 4.0.6) but on
  S-1-5.21---xxx-500.
 
 This is the domain Admin account. What happens if you remove it before 
 the classicupgrade?
 
 
 Regards
 Marc
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER

2013-07-16 Thread Stéphane PURNELLE
Hi,

I have the same problem with classicupgrade (samba 4.0.6) but on 
S-1-5.21---xxx-500.

best regards

Stéphane Purnelle

---
Stéphane PURNELLE Admin. Systèmes et Réseaux 
Service Informatique   Corman S.A.   Tel : 00 32 (0)87/342467

samba-boun...@lists.samba.org wrote on 15/07/2013 22:09:03:

 De : Marc Muehlfeld sa...@marc-muehlfeld.de
 A : Axel Urban crap...@web.de, samba@lists.samba.org 
 samba@lists.samba.org, 
 Date : 15/07/2013 22:09
 Objet : Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl 
 returned NT_STATUS_INVALID_OWNER
 Envoyé par : samba-boun...@lists.samba.org
 
 Hello Axel,
 
 Am 15.07.2013 22:00, schrieb Axel Urban:
  I used the 4.0.7 tar.gz.
 
  I removed the groupmap.tdb before.
 
 Does this change anything when you do the classicupgrade?
 
 
 
   Is there anything more I can do? Does
  samba read the /etc/group-File during classicupgrade?
 
 I'm not sure on that. I only did upgrades from LDAP backend yet - not 
 from tdb.
 
 
 When you run the classicupgrade, can you run it with a higher debug 
 level (-d 5) and see if there's anything else interesting around the 
 error message?
 
 
 
 Regards,
 Marc
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER

2013-07-16 Thread Marc Muehlfeld

Am 16.07.2013 09:28, schrieb Stéphane PURNELLE:

I have the same problem with classicupgrade (samba 4.0.6) but on
S-1-5.21---xxx-500.


This is the domain Admin account. What happens if you remove it before 
the classicupgrade?



Regards
Marc


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER

2013-07-15 Thread Marc Muehlfeld

Hello Axel,

first: To which samba version do you try to update? I recommented that 
you use the latest (4.0.7), because there were some improvments and 
patches included in the last version.




Am 14.07.2013 21:17, schrieb Axel Urban:

idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED

 set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER.
 ERROR(runtime): uncaught exception - (-1073741734,
 'NT_STATUS_INVALID_OWNER')

S-1-5-32-544 is Administrators group. If it's a test environment, can 
you remove it and retry?



Regards,
Marc
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER

2013-07-15 Thread Marc Muehlfeld

Hello Axel,

Am 15.07.2013 22:00, schrieb Axel Urban:

I used the 4.0.7 tar.gz.

I removed the groupmap.tdb before.


Does this change anything when you do the classicupgrade?



 Is there anything more I can do? Does

samba read the /etc/group-File during classicupgrade?


I'm not sure on that. I only did upgrades from LDAP backend yet - not 
from tdb.



When you run the classicupgrade, can you run it with a higher debug 
level (-d 5) and see if there's anything else interesting around the 
error message?




Regards,
Marc
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Classicupgrade set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER

2013-07-14 Thread Axel Urban
Hi,

I have a problem during the classicupgrade. The problem was discussed in
march on this list, but there seems to be nosolution.
Can anyone help?

...
Setting password for administrator
Administrator password has been set to password of user 'root'
idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED
set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER.
ERROR(runtime): uncaught exception - (-1073741734,
'NT_STATUS_INVALID_OWNER')
  File
/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py,
line 175, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py,
line 1318, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
  File
/usr/local/samba/lib64/python2.7/site-packages/samba/upgrade.py, line
932, in upgrade_from_samba3
result.names.domaindn, result.lp, use_ntvfs)
  File
/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py,
line 1562, in setsysvolacl
setntacl(lp,sysvol, SYSVOL_ACL, str(domainsid), use_ntvfs=use_ntvfs,
skip_invalid_chown=True, passdb=s4_passdb)
  File /usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py,
line 154, in setntacl
smbd.set_nt_acl(file, security.SECINFO_OWNER |
security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL, sd)

Regards

Axel Urban
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba