[Samba] Samba and NT (yes really) server

Michael Packer mpacker99 at gmail.com
Sat Nov 1 11:39:47 MDT 2014


Okay you can stop laughing, yes I still have an NT server running for some
special software.


I've got a new linux machine running Samba version 3.6.23 and am having

problems getting it to connect to winXP machines to talk to their shared

printers


It can join the domain and smbtree and smbclient sort of work.


192.168.4.28 is a windows XP machine


NEW#: smbclient -L 192.168.4.28  -U username%password

Domain=[MyDomain] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]


        Sharename       Type      Comment

        ---------       ----      -------

        IPC$            IPC       Remote IPC

        print$          Disk      Printer Drivers

        ADMIN$          Disk      Remote Admin

        C$              Disk      Default share

        HP1100A         Printer   HP LaserJet 1200 Series PCL

session request to 192.168.4.28 failed (Called name not present)

session request to 192 failed (Called name not present)

Domain=[MyDomain] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]


        Server               Comment

        ---------            -------


        Workgroup            Master

        ---------            -------



When I try to use smbclient to talk to printer I get this:


smbclient //192.168.4.28/hp1100a -E -P  -U Username%password -d3

lp_load_ex: refreshing parameters

Initialising global parameters

rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)

params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"

Processing section "[global]"

added interface em1 ip=fe80::92b1:1cff:fe40:dca9%em1
bcast=fe80::ffff:ffff:ffff:ffff%em1 netmask=ffff:ffff:ffff:ffff::

added interface em1 ip=192.168.4.136 bcast=192.168.4.255
netmask=255.255.255.0

Client started (version 3.6.23-12.el6).

Connecting to 192.168.4.28 at port 445

Doing spnego session setup (blob length=16)

server didn't supply a full spnego negprot

Got challenge flags:

Got NTLMSSP neg_flags=0x62898215

NTLMSSP: Set final flags:

Got NTLMSSP neg_flags=0x60088215

NTLMSSP Sign/Seal - Initialising with flags:

Got NTLMSSP neg_flags=0x60088215

SPNEGO login failed: No logon workstation trust account

session setup failed: NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT




I have another server running an older version of samba


OLD#: smbd -V

Version 3.0.10-1.4E.11


If I issue the same smbclient to look at it I get:

smbclient -L 192.168.4.28  -U Username%password

added interface ip=192.168.4.132 bcast=192.168.4.255 nmask=255.255.255.0

session request to 192.168.4.28 failed (Called name not present)

session request to 192 failed (Called name not present)

Domain=[MyDomain] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]


        Sharename      Type      Comment

        ---------      ----      -------

        IPC$           IPC       Remote IPC

        print$         Disk      Printer Drivers

        ADMIN$         Disk      Remote Admin

        C$             Disk      Default share

        HP1100A        Printer   HP LaserJet 1200 Series PCL


        Server               Comment

        ---------            -------


        Workgroup            Master

        ---------            -------


and when I issue the same smbclient command to try and talk to the printer
I get:


smbclient //192.168.4.28/hp1100a -E -P  -U Username%password -d1

session request to 192.168.4.28 failed (Called name not present)

session request to 192 failed (Called name not present)

Domain=[MyDomain] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

smb: \>




Does anyone have any advice?  I've been fighting this for a couple weeks
and am

really stuck.


Thanks!


More information about the samba mailing list