Windows 7 64bit Shared Printer - "session setup failed: NT_STATUS_OK"



Hi,

I have a Windows 7 64bit computer with a HP1200 printer attached via USB. The printer is set to shared and I have been attempting to configure it on my Unixware 7.1.4 server. No matter what I do I get the message "session setup failed: NT_STATUS_OK"

On the Windows 7 computer
- I have turned on file and printer sharing, turned off password protected sharing (In advanced sharing settings).
- In Local Security Policies I have set the following...
Microsoft Network Client: Send Unencrypted Password to third party... - Enabled
Network Security: LAN Manager authentication level - Sent LM & NTLM - use NTLMv2 session....
Network Security: Minimum Session Security for NTLM...client - No Minimum
Network Security: Minimum Session Security for NTLM...server - No Minimum
- In Windows Features I have enabled "LPD Print Service" and "LPR Port Monitor" under the "Print and Document Services" folder.
- I have created a windows firewall rule that allowed all traffic between the Windows 7 PC and the Unixware server.
- I have disabled the windows firewall altogether.
- I have enabled the Administrator account and shared the printer from there.

On the server I have
- Attempted to connect to the Win7 PC through the hosts file ID, computer name, and the IP address
- Attempted to connect using the Administrator account on the Win7 PC.
- Attempted to connect using a guest account.

I have also run the following debug...

# smbclient -d 7 //[computer IP]/hp1200 -U [user]%[password]
INFO: Current debug levels:
all: True/77
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/usr/lib/samba/lib/smb.conf"
Processing section "[global]"
doing parameter workgroup = LTL
doing parameter server string = wescan350 Samba Server
doing parameter encrypt passwords = No
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter max log size = 50
doing parameter use spnego = No
doing parameter printcap name = lpstat
doing parameter preferred master = Yes
doing parameter domain master = Yes
doing parameter dns proxy = No
doing parameter wins support = Yes
doing parameter ldap ssl = no
doing parameter printing = sysv
doing parameter print command = lp -c -d%p %s; rm %s
doing parameter lpq command = lpstat -o%p
doing parameter lprm command = cancel %p-%j
doing parameter lppause command = lp -i %p-%j -H hold
doing parameter lpresume command = lp -i %p-%j -H resume
doing parameter queuepause command = disable %p
doing parameter queueresume command = enable %p
doing parameter case sensitive = No
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
added interface ip=89.1.1.1 bcast=89.1.1.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="WESCAN350"
Client started (version 3.0.10).
Connecting to 89.1.1.133 at port 445
timeout connecting to 89.1.1.133:445
Connecting to 89.1.1.133 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_REUSEPORT = 0
socket option SO_SNDBUF = 8192
socket option SO_RCVBUF = 8192
socket option SO_SNDLOWAT = 0
socket option SO_RCVLOWAT = 0
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
Sent session request
got smb length of 1
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
lang_tdb_init: /usr/lib/samba/lib/C.msg: No such file or directory
session request to 89.1.1.133 failed (Called name not present)
Connecting to 89.1.1.133 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_REUSEPORT = 0
socket option SO_SNDBUF = 8192
socket option SO_RCVBUF = 8192
socket option SO_SNDLOWAT = 0
socket option SO_RCVLOWAT = 0
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
session request ok
write_socket(3,183)
write_socket(3,183) wrote 183
got smb length of 127
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=22784
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]= 8 (0x8)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 17 (0x11)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]= 0 (0x0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]=64512 (0xFC00)
smb_vwv[10]= 483 (0x1E3)
smb_vwv[11]=34176 (0x8580)
smb_vwv[12]=37662 (0x931E)
smb_vwv[13]=26572 (0x67CC)
smb_vwv[14]=52575 (0xCD5F)
smb_vwv[15]=26625 (0x6801)
smb_vwv[16]= 1 (0x1)
smb_bcc=58
[000] FB 61 4F FF F2 25 A3 4D A6 2B 8C 0E 33 31 6A 82 .aO..%.M .+..31j.
[010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 1A `(..+... ....0...
[020] 30 18 06 0A 2B 06 01 04 01 82 37 02 02 1E 06 0A 0...+... ..7.....
[030] 2B 06 01 04 01 82 37 02 02 0A +.....7. ..
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=22784
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]= 8 (0x8)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 17 (0x11)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]= 0 (0x0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]=64512 (0xFC00)
smb_vwv[10]= 483 (0x1E3)
smb_vwv[11]=34176 (0x8580)
smb_vwv[12]=37662 (0x931E)
smb_vwv[13]=26572 (0x67CC)
smb_vwv[14]=52575 (0xCD5F)
smb_vwv[15]=26625 (0x6801)
smb_vwv[16]= 1 (0x1)
smb_bcc=58
[000] FB 61 4F FF F2 25 A3 4D A6 2B 8C 0E 33 31 6A 82 .aO..%.M .+..31j.
[010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 1A `(..+... ....0...
[020] 30 18 06 0A 2B 06 01 04 01 82 37 02 02 1E 06 0A 0...+... ..7.....
[030] 2B 06 01 04 01 82 37 02 02 0A +.....7. ..
Serverzone is 21600
Doing spnego session setup (blob length=58)
SPNEGO login failed: Unexpected information received
session setup failed: NT_STATUS_OK

Has anyone experienced a similar problem?

Thanks,
Adam
.



Relevant Pages