[Samba] Compile 3.5.4 on Opensolaris snv_134

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jul 22 05:10:01 MDT 2010


On Thu, Jul 22, 2010 at 11:13:40AM +0300, Mārcis Lielturks wrote:
> When tracing smbd with "truss smbd -d10 -FiS" I see some unsuccessfull stats
> for nss_winbind.so.1 library (I compiled without --enable-nss-wrapper). For
> now I'll try to recompile with this option and see what happens.
> 21017:    write(1, " T r y i n g   _ G e t _".., 60)    = 60
> 21017:    getuid()                    = 0 [0]
> 21017:    getuid()                    = 0 [0]
> 21017:    open64("/var/run/name_service_door", O_RDONLY)    Err#2 ENOENT
> 21017:    open("/etc/passwd", O_RDONLY)            = 32
> 21017:    fstat64(32, 0x080466C0)                = 0
> 21017:    fstat64(32, 0x080465D0)                = 0
> 21017:    ioctl(32, TCGETA, 0x08046670)            Err#25 ENOTTY
> 21017:    read(32, " r o o t : x : 0 : 0 : S".., 1536)    = 1255
> 21017:    read(32, 0x0893096C, 1536)            = 0
> 21017:    llseek(32, 0, SEEK_CUR)                = 1255
> 21017:    close(32)                    = 0
> 21017:    stat64("/opt/samba/lib/nss_winbind.so.1", 0x08045FF0) Err#2 ENOENT
> 21017:    stat64("/lib/nss_winbind.so.1", 0x08045FF0)    Err#2 ENOENT
> 21017:    stat64("/usr/lib/nss_winbind.so.1", 0x08045FF0)    Err#2 ENOENT

You have to copy the nss_winbind.so you have just compiled
manually to one of those locations.

Volker


More information about the samba mailing list