smbclient can't connect to NT workstation "C$" share

Gerald Carter gcarter at valinux.com
Thu Mar 29 19:00:03 GMT 2001


On Thu, 29 Mar 2001, Eric Sisler wrote:

> [esisler at shaun esisler]$ smbclient //ghost/c$ -U Administrator -W shaun
> added interface ip=198.243.2.206 bcast=198.243.2.255 nmask=255.255.255.0
> Got a positive name query response from 198.243.2.200 ( 198.243.2.146 )
> Password:
> Domain=[RAT_GROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
>
> I've used "shaun" as the local machine name since it's the Linux
> server I'm ssh'ed into.  If I put in an incorrect password I get a
> different error message:

Use

$ smbclient //ghost/c$ -U Administrator -W ghost

And 'ghost' is a Windows NT 4.0 box right?

> In each case except the wrong password one I get the "tree connect
> failed"  message.  I can't even connect from one NT workstation to
> another's C$ share.  In fact, "net view \\ghost" doesn't even list the
> "default" shares of C$ and D$, although smbclient does.  Is there
> something strange about the default shares that only work if there's a
> real NT PDC on the network?

NT clients filter out 'hidden' shares (shares that end if '$')





More information about the samba mailing list