[Samba] problem with winbind and Sun PCNetlink

Greg Adams gadams at gmail.com
Thu Apr 14 20:45:21 GMT 2005


Sun PCNetlink is a NT4.0 PDC emulator. 

I'm running samba-3.0.13, joined to an ADS server that has a trust with a 
PCNetlink domain. My samba can authenticate fine against ADS accounts, but 
refuses to authenticate against the PCNetlink domain. I can do 

getent passwd "ADSDOM\user"

and get an ADS user printed out, but if I use 

getent passwd "NT4DOM\user"

nothing prints out. However, if I use 

getent passwd | grep "NT4DOM\user"

I see the user I'm looking for.

Here's a log.winbindd with log level = 10 from when I try 
getent passwd "NT4DOM\user"


#-- log.winbindd --
[2005/04/14 13:34:00, 10] nsswitch/winbindd.c:process_request(321)
process_request: request fn GETPWNAM
[2005/04/14 13:34:00, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(126)
[11293]: getpwnam NT4DOM\user
[2005/04/14 13:34:00, 10] 
nsswitch/winbindd_cache.c:refresh_sequence_number(356)
refresh_sequence_number: NT4DOM time ok
[2005/04/14 13:34:00, 10] 
nsswitch/winbindd_cache.c:refresh_sequence_number(387)
refresh_sequence_number: NT4DOM seq number is now 23612
[2005/04/14 13:34:00, 10] nsswitch/winbindd_cache.c:centry_expired(411)
centry_expired: Key NS/NT4DOM/user for domain NT4DOM is good.
[2005/04/14 13:34:00, 10] nsswitch/winbindd_cache.c:wcache_fetch(490)
wcache_fetch: returning entry NS/NT4DOM/user for domain NT4DOM
[2005/04/14 13:34:00, 10] nsswitch/winbindd_cache.c:name_to_sid(963)
name_to_sid: [Cached] - cached name for domain NT4DOM status Success
[2005/04/14 13:34:00, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(167)
name 'user' is not a user name: 0
[2005/04/14 13:34:00, 10] nsswitch/winbindd.c:client_write(524)
client_write: wrote 1300 bytes.
[2005/04/14 13:34:00, 10] nsswitch/winbindd.c:winbind_client_read(470)
client_read: read 0 bytes. Need 1824 more for a full request.
[2005/04/14 13:34:00, 5] nsswitch/winbindd.c:winbind_client_read(477)
read failed on sock 22, pid 11293: EOF
#-- end log.winbindd

Any ideas, anyone?

Greg


More information about the samba mailing list