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

Eric Sisler esisler at
Thu Mar 29 17:01:37 GMT 2001

I wrote, in part:

> > [esisler at shaun esisler]$ smbclient //ghost/c$
> > added interface ip= bcast=
> > nmask=
> > Got a positive name query response from (
> > )
> > Password:
> > Domain=[RAT_GROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> > tree connect failed: ERRDOS - ERRnoaccess (Access denied.)

Gerald (Jerry) Carter <gcarter at> replied:

>(hello again old friend :) )

Hello to you - It's been awhile!  ;-)

>Try looking at a level 10 debug and maybe a netmon trace
>to see what is going on.  I'm wondering if you need to add
>-W <domain> to the command line options.

They're both part of the same domain and in any event the -W switch didn't 
make any difference.  I tried it with the '-d A' switch and got a bunch of 
debug output that's greek to me  but I'll send it along if it might help.

I'm using samba 2.0.7 as my NT PDC and I'm wondering if this functionality 
is missing in this version.  I'm *assuming* that since I'm trying to 
connect to an "admin" share on a workstation, smbclient is trying to 
authenticate to the PDC, which isn't working.  This would also explain why 
a *locally* created share works just fine - because smbclient is 
authenticating against the share/password on the local workstation.


Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
esisler at

Linux - don't fear the Penguin.
Want to know what we use Linux for?

More information about the samba mailing list