2008/6/13 Robert Thurlow <[EMAIL PROTECTED]>: > Piotr Jasiukajtis wrote: > >> I have the samba zone with shared IP, pvm, domU: >> >> # uname -srvmpi >> SunOS 5.11 snv_89 i86pc i386 i86xpv >> >> Is there any way to enable samba service in this zone on pvm domU ? >> >> [2008/06/13 13:18:08, 0] lib/util_sock.c:(830) >> bind failed on port 445 socket_addr = 10.1.1.147. >> Error = Permission denied > > If you truss smbd, I expect that this is failing due to a > missing privilege: > > > # truss -f /usr/sfw/sbin/smbd > ... > 15231: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, 0x00000000, SOV_DEFAULT) > = 1 > 9 > 15231: setsockopt(19, SOL_SOCKET, SO_REUSEADDR, 0xFFBFE86C, 4, SOV_DEFAULT) > = 0 > 15231: bind(19, 0xFFBFE870, 16, SOV_SOCKBSD) Err#13 EACCES > [sys_smb]
Yep, missing privilege: 1117: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, 0x00000000, SOV_DEFAULT) = 19 1117: setsockopt(19, SOL_SOCKET, SO_REUSEADDR, 0x08046974, 4, SOV_DEFAULT) = 0 1117: bind(19, 0x08046950, 16, SOV_SOCKBSD) Err#13 EACCES [sys_smb] Btw, on my bare metal S10 machines Samba works from non global zones out of the box. SXDE3 also worked without any issues. Was something changed with recent SXCE builds? Thanks -- Regards, Piotr Jasiukajtis | estibi | SCA OS0072 http://estseg.blogspot.com _______________________________________________ xen-discuss mailing list [email protected]
