issues with 4.10.16 UnixWare port

Tim Rice tim at multitalents.net
Fri Mar 4 18:04:53 UTC 2022


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





More information about the samba-technical mailing list