Samba: Can't Access Win2000 Shares from Linux
Greetings,
I'm running Linux Fedora Core 2 with Samba 3.0.3-5 installed. It is connected to a LAN which has 2 Win98SE and 1 Win2k boxes.
From the command prompt, "smbclient -L hostname -U username" works for all Win boxes; however, "smbmount" gives me: "5717: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed" when I try to mount a file share on the Win2k box. "smbmount" works for the 2 Win98SE boxes. I can print from Linux to a shared printer on one of the Win98SE boxes.
In Gnome, when I click Computer->Network->Windows Network->Workgroup I can see the Windows boxes on my network. When I click on the icon for the Win2k box, I get an error box that says "The folder contents could not be displayed. You do not have the permissions necessary to view the contents of the "Windows Network: ***"
From all of the Windows boxes I can access the Linux box. I can access the Win2k box from the Win98SE boxes.
Samba is configured to encrypt passwords, and "Guests" are authorized on the Win2k share.
Does anyone know what's going on here?
Thanks,
GS
I have exaclty the same problem!!!
I can mount shares using the mount command and I can see all the servers and shares using smbclient -L servername.
All this works
Once i have mounted the shre using "mount" I can also brows using nautilus.
But when i try to brows the network things go wrong. I can see the workgroup and all the pc in it (DCD and all) its a wk2 ads domain by the way.
When I try to access a single pc i get this: You do not have the permissions necessary to view the contents of "Windows Network: ghost". and thats it.
I can access the shares on my own linux box using smb:// but thats where it ends.
I am running fedora core 2 and have a windows 2k AD domain running. It worked fine with my old Fedora core 1 box.
Please any body help.
Here is my smb.conf
# Global parameters
[global]
workgroup = TESTFR
realm = ADSERVER.TESTFR.NET
server string = Fedora Core 2
security = DOMAIN
auth methods = guest, sam, winbind
password server = 10.10.10.1:389
guest account = carl
log file = /var/log/samba/%m.log
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server = 10.10.10.1
ldap ssl = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
winbind use default domain = Yes
winbind trusted domains only = Yes
guest ok = Yes
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[download]
comment = Meine Downloads
path = /home/carl/download
I think ths is a bug in Fedora Core 2
Hi Butler,
I reported this to bugzilla here:
https://bugzilla.redhat.com/bugzilla....cgi?id=125201
And apparently, two other reports describing the same problem have been filed:
https://bugzilla.redhat.com/bugzilla....cgi?id=123899
https://bugzilla.redhat.com/bugzilla....cgi?id=125336
I think you should add your observations, as a comment, to one of the above bug reports. The fact that it worked under FC1 is significant.
~ GS
Problem with Win2k, No Problem with Win98SE
Yes, I am having the same problems. The problem only appears when I try to browse the shares on a Win2K box. It works fine for the Win98SE machines.
Using smb://server/share is probably the best workaround (for accessing the shares) until this gets fixed. To browse the shares on a Win2k machine, use smbclient -L server.