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

Eric Sisler esisler at westminster.lib.co.us
Thu Mar 29 17:01:37 GMT 2001


I wrote, in part:

> > [esisler at shaun esisler]$ smbclient //ghost/c$
> > 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.150
> > )
> > 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 valinux.com> replied:

>Eric,
>
>(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

Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
esisler at westminster.lib.co.us

Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux





More information about the samba mailing list