RH linux 7.3 @ 2.4.20-27.7 running SAMBA 3.0.1 installed off the rh7.3 rpm (on ur site :) ) The target printer is a win2000 pro WS (DESK1) with a share called HPOffice. The source system is linux (SERVER2) running samba 3.0.1 as a PDC for the THOMASHOUSE domain. Two attached files shows the commands run at debug 5. same command. ? TIA! !
Created attachment 346 [details] Here is a trace where SMBCLIENT works for printing
Created attachment 347 [details] Here is a trace where SMBCLIENT fails
Your PDC (server2) has to authenticate the root password. So it would be helpful to get * a sniff of the traffic between the PDC and the workstation where the printer is attached * a debug-level 10 log of the pdc's log.smbd
*** Bug 946 has been marked as a duplicate of this bug. ***
ok. I've reproduced this one. * Samba PDC (domain VALE) * Win2k client (XERA) joined to domain VALE * VALE trusts the AD domain (named AD) This fails: # smbclient -L xera -U Administrator -W AD --debuglevel=3 ,,,, SPENGO login failed: Undetermined error session setup failed: NT_STATUS_UNSUCCESSFUL These 2 works: # smbclient -L xera -U Administrator -W VALE --debuglevel=3 # smbclient -L xera -U Administrator -W XERA --debuglevel=3 Looks like the error is caused by an rpc bind failure (NETLOGON) from the VALE DC to the AD DC. Looks like schannel again. :-(
setting 'client schannel = no' causes the failure case to work now. Trying to track down the real cause of the bug....
It's an schannel bug in smbd. Tunneling the auth request through winbindd works correctly.
The failure case looks like this * smbd does a bind to the NETLOGON pipe (no schannel) * net_req_challenge() * net_auth2() * new bind to NETLOGON pipe (with schannel) -> rpc bind failure
Created attachment 362 [details] fix schannel bind credentials in smbd
Fixed for 3.0.2rc1
The last version from CVS seems to work in our enviroment! (->Bug #946)
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup