issues with 4.10.16 UnixWare port

Andrew Bartlett abartlet at samba.org
Fri Mar 4 18:56:26 UTC 2022


This comes from the default idmap.ldb database values.  You could
adjust the template.

However as you have noticed the AD DC is totally untested on UnixWare
and you will hit more problems soon.

You need xattrs and posix ACLs in particular.

Andrew Bartlett

On Fri, 2022-03-04 at 10:04 -0800, Tim Rice via samba-technical wrote:
> I am attempting to do some initial tests on my UnixWare port
> of samba-4.10.16. (4.15.3 required symlinkat, readlinkat, etc. UW
> does not have)
> 
> While running "samba-tool domain provision --use-rfc2307 --
> interactive"
> I see
> .....
> INFO 2022-03-04 11:49:05,728 pid:28273 /opt/lib/python3.9/site-
> packages/samba/provision/__init__.py #1571: Setting up self join
> Security context active token stack underflow!
> PANIC (pid 28273): Security context active token stack underflow!
> unable to produce a stack trace on this platform
> Can not dump core: corepath not set up
> root at timaddc1 #
> .....
> 
> Looking at the truss output I see
> .....
> 2013:   open("/var/opt/samba/locks/sysvol", 02000000, 0644) = 14
> [snip]
> 2013:   fchown(14, 0, 3000000)                          Err#22 EINVAL
> 2013:   write(2, 0xBF6F2380, 47)                        = 47
> 2013:      S e c u r i t y   c o n t e x t   a c t i v e   t o k e
> n   s t
> 2013:      a c k   u n d e r f l o w !\n
> .....
> 
> Since MAXUID is 60002 in this platform, it is no wonder 3000000
> produced an EINVAL.
> 
> What I have not been able to track down yet is, where in the source
> is the 3000000 comming from?
> 
> Any ideas?
> 
> Thanks for your consideration.
> 
> -- 
> Tim Rice				Multitalents
> tim at multitalents.net
> 
> 
> 

-- 
Andrew Bartlett (he/him)        https://samba.org/~abartlet/
Samba Team Member (since 2001)  https://samba.org
Samba Developer, Catalyst IT    https://catalyst.net.nz/services/samba




More information about the samba-technical mailing list