[Samba] Compile 3.5.4 on Opensolaris snv_134

Marcis Lielturks marcis.lielturks at gmail.com
Thu Jul 22 10:38:28 MDT 2010


Hey!

Thanks! This helped to get "id" working, but not smbd. smbd still 
exiting when domain admin tries to access share, winbindd and nmbd keep 
running.
Last lines from smbd

read_fd_with_timeout: blocking read. EOF from client.
receive_smb_raw: NT_STATUS_END_OF_FILE
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
Yielding connection to
Locking key D6300000FFFFFFFF0000
Allocated locked data 0x893dcf8
Unlocking key D6300000FFFFFFFF0000
Server exit (failed to receive smb request)

at the time when smbd kills itself, winbind says "Could not read client 
request from fd 17: I/O error"

I can send output from truss (strace) and STDOUT for smbd, nbmd and 
winbindd (all running with "-FiS" and debug level 10).


MMM

by the way, did you know, that mouse initially was invented
just for simplifying text selection in xterm?


On 07/22/10 02:10 PM, Volker Lendecke wrote:
> 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