mbratch
2007-12-26, 12:09 PM CST
I tried to come up with a catchy title for this weird problem, but didn't think of one that really captured the issue... ;)
I have a network of two PCs. One running Windows XP (called "KIDSPC"), the other Fedora 8 (called "DADPC"). I have samba on F8 and workgroup called "Bratcher".
Up until a couple of days ago, this was working fine. I could my computer in Gnome, double click on the Network icon, and see three icons: "Windows Network", "DADPC" and "KIDSPC". Opening "KIDSPC" would show the shares I set up on Windows XP. And running "smbclient -L KIDSPC" with no password would show the shares as expected.
Now as of a couple days ago, I don't know whether an F8 update has messed me up or what, but now when I open up the Network icon in my Computer browser, it only shows "Windows Network". Opening that, it's empty. I haven't changed any shares on the Windows XP machine (KIDSPC).
So I did some digging and I think Gnome uses nmblookup? Running "nmblookup \*" as a normal user or root on DADPC gives the same results: DADPC (the "self" machine) shows up but nothing else. Running smbclient, though, gives different results depending upon login. If I login as a normal user, "smbclient -L KIDSPC" (no password) gives this:
Anonymous login successful
Domain=[BRATCHER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine kidspc. Error was NT_STATUS_ACCESS_DENIED
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[BRATCHER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
DADPC
KIDSPC
PAMELA-PC
Workgroup Master
--------- -------
BRATCHER
Running "smbclient -L KIDSPC" logged in as root on DADPC gives me this:
Domain=[KIDSPC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
Attic Disk
hppsc120 Printer hp psc 1200 series
IPC$ IPC Remote IPC
D$ Disk Default share
SharedDocs Disk
print$ Disk Printer Drivers
Corinth (C) Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Damascus (D) Disk
Domain=[KIDSPC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
So all the shares show up in this case, but under domain "KIDSPC". I tried forcing domain/workgroup using the -W command under root, but I got the same results.
One more twist: I set up the samba shares to mount with automount with anonymous login. As a normal user or as root on DADPC, if I change to the automount directory, the shares show up. However, I don't have the permissions I expect. I can change directory to the share "Attic" for example, but an ls command there says I don't have permission to see anything there.
As I said, this used to all work (although I had never run nmblookup before, so I don't know what it's output used to look like). I didn't change anything (I'm aware of) in the networking to make this problem occur. So I'm confused.
Anyone have any clues what's going on with this?
I have a network of two PCs. One running Windows XP (called "KIDSPC"), the other Fedora 8 (called "DADPC"). I have samba on F8 and workgroup called "Bratcher".
Up until a couple of days ago, this was working fine. I could my computer in Gnome, double click on the Network icon, and see three icons: "Windows Network", "DADPC" and "KIDSPC". Opening "KIDSPC" would show the shares I set up on Windows XP. And running "smbclient -L KIDSPC" with no password would show the shares as expected.
Now as of a couple days ago, I don't know whether an F8 update has messed me up or what, but now when I open up the Network icon in my Computer browser, it only shows "Windows Network". Opening that, it's empty. I haven't changed any shares on the Windows XP machine (KIDSPC).
So I did some digging and I think Gnome uses nmblookup? Running "nmblookup \*" as a normal user or root on DADPC gives the same results: DADPC (the "self" machine) shows up but nothing else. Running smbclient, though, gives different results depending upon login. If I login as a normal user, "smbclient -L KIDSPC" (no password) gives this:
Anonymous login successful
Domain=[BRATCHER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine kidspc. Error was NT_STATUS_ACCESS_DENIED
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[BRATCHER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
DADPC
KIDSPC
PAMELA-PC
Workgroup Master
--------- -------
BRATCHER
Running "smbclient -L KIDSPC" logged in as root on DADPC gives me this:
Domain=[KIDSPC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
Attic Disk
hppsc120 Printer hp psc 1200 series
IPC$ IPC Remote IPC
D$ Disk Default share
SharedDocs Disk
print$ Disk Printer Drivers
Corinth (C) Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Damascus (D) Disk
Domain=[KIDSPC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
So all the shares show up in this case, but under domain "KIDSPC". I tried forcing domain/workgroup using the -W command under root, but I got the same results.
One more twist: I set up the samba shares to mount with automount with anonymous login. As a normal user or as root on DADPC, if I change to the automount directory, the shares show up. However, I don't have the permissions I expect. I can change directory to the share "Attic" for example, but an ls command there says I don't have permission to see anything there.
As I said, this used to all work (although I had never run nmblookup before, so I don't know what it's output used to look like). I didn't change anything (I'm aware of) in the networking to make this problem occur. So I'm confused.
Anyone have any clues what's going on with this?