How do I let Linux see Windows Shared Dirctories
Within my test bed arena, WIN2000 pro can see the Linux shared folder, but I can't figure out how to view the Windows shared folders from Linux.
Can anybody help? |
What are you using to see linux, samba?
You can always use the smbclient command. Look at man smbclient or smbclient --help for options. |
smbclient -L <win system IP> -U <win system username>
will give you a list of shares smbmount //winsystemip_or_name/sharename /<mount point> -o username=<win username> will mount the win share on /<mountpoint> If you are using RedHat, you should find Network Server menuitem when you clock the gnome button on the toolbar. LinNeighborhood is another option. |
session request failed (called name not present)
Error returning browse list: NT_STATUS_ACCESS_DENIED What (called name) is it looking for? The shared directory is full open access to everybody, so I don't understand access denied. I read the man pages and took some notes, but I didn't see anything about (called name). Maybe I missed it, tried to specify computer name as -n <NetBIOS name> that didn't work either. Also tried to specify IP via -I <IP Address> nope, nodda, nothing. Any suggestions???????? |
When you make a connection to a w2k machine you need to add the domain name to the user name
eg mount -t smbfs -o username="UNISYS02\Administrator",passwd=Alpha //comp02/shares /mnt/smb where UNISYS02 is the domain name |
Tried that with the following result,
1931: tree connect faled: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed Does that mean Win2k is not allowing access? That's strange I selected the folder to be shared, with total access. |
Try using the ip adres of the w2k box
eg mount -t smbfs -o username="UNISYS02\Administrator",passwd=Alpha //xxx.xxx.xxx.xxx/shares /mnt/smb |
I did that as well same error as post#6
First thing that happens is that it tries to start a session; 1970: session request to XXX.XXX.XXX.XXX failed (Called name not present) 1970: session request to XXX failed (Called name not present) Then it asks for a; Password: [enter] Then; Anonymous login successful Then; 1970: tree connect failure: ERRDOS - ERRnoaccess ( Access denied. ) Finally; SMB connection failed Does that help any? |
add the ip adress to the /etc/hosts file
eg xxx.xxx.xxx.xxx comp02 now you can use mount -t smbfs -o username="UNISYS02\Administrator",passwd=Alpha //comp02/shares /mnt/smb |
Actually I figured it out, it was the Win2K box did not recognize the Linux box as a valid user.
So I added a new user to the list, then I was able to mount the shared folder with the new user name I created. :D After that I created the linux box as a proxy server. After a little reading and debugging the server is up and running beautifully.:D Now I'm moving on to another server package. This is actually getting easier to work with LINUX, once I started to get the hang of it. Thanks to everybody for the help and advice.:D |
What type of security are you running on the Win2k box and how did you set up the proxy server?
Glad you're enjoying linux. I know I do. |
I'm not sure what your asking exactly.
Win2k security is standard... I just needed to add a user and log into the machine as that user. The Proxy server took some do'in though. I had to do alot of reading on how and why things need to be setup. Even then I had to do alot of trouble shooting to get the damn thing to startup. Once I did that though it purrs like a kitten, and everyone on the LAN gets HTTP service. Overall security is handled by the firewall on the proxy server to protect the LAN. Is that what you were asking? |
Quote:
like the share name is All Photos, if I type it in like that, I get "Could not resolve mount point Photos", if I try using %20 for space, I get no such share. is there a way I can do this without renaming the shared folder in windows? |
Well, first try using the -L option to list the shares. Then just copy what it shows you as the share name and you should be good. I want to say it eliminates the spaces but I can't remember for sure and I can't test it right now to verify it.
So, smbclient -L <ip_address or machine_name> give password and view the list. Then, smbclient //machine/share -U <username>%<password> or whatever format you prefer. I think that will help you. |
Well it shows it with a space, so it'll say "All Photos", so I still have the same problem.
|
All times are GMT -5. The time now is 08:13 PM. |