On Wed, 28 Mar 2001 17:22:33 Eric Sisler wrote:> > [esisler@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.)Eric, (hello again old friend :) ) 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. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
Greetings all, I'm trying to connect to the default shares Windows NT workstation enables for "administration" purposes but I'm not having any luck. smbclient can see the shares: [esisler@shaun esisler]$ smbclient -L ghost 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] Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin IPC$ IPC Remote IPC C$ Disk Default share D$ Disk Default share Server Comment --------- ------- Workgroup Master --------- ------- but for some reason it refuses to connect: [esisler@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.) I can't get other NT workstations to connect to this share either but if I create a new share for the C: drive everything works fine. The account "esisler" is configured as a domain administrator and the "Administrator" account doesn't work either. Is it me or is there something strange about the "C$" share? -Eric Eric Sisler Library Computer Technician Westminster Public Library Westminster, CO, USA esisler@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
I wrote, in part:> > [esisler@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@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@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