LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-24-2005, 06:41 PM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
weird behaviour while accessing Windows shares.


Hi,

I am currently using Slackware 10.0
I am on a lan that has both Windows as well as Linux boxes. I have configured the lisa daemon properly. I open up konqueror and click on the lan browser button. It shows me all the p.c.'s When I click on some windows p.c. I get a folder called SMB. Now that's fine, but the problem is that when I click on the folder it sometimes asks for a user name and password even though the windows user has just shared the folder over the network and hasn't set any password. The wierd thing is that it only sometimes asks for a user-name/password and on other times it won't. Also. when it asks for one, it does'nt accept any username/password.

One more thing, sometimes the folder opens, and I can see the shares. If I click on one sometimes (I hate this word) it opens up and sometimes it asks for a password. If I click on CANCEL it says access denied. But there's a workaround. When it asks for a password I click the back button (on konqueror) then click OK without any username/password, and then again open the shared folder. This time it opens up fine!

I know this sounds kinda silly, but it's been very irritating. One thing that I would like to mention here is that I have not setup my samba.conf file. Infact there is no /etc/samba/samba.conf but if that is causing the trouble why is it that sometimes (and for some p.c.'s) it works out fine and one others it doesn't. ?

Thanks in anticipation.
 
Old 09-25-2005, 09:48 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
samba.conf is for a windows machine to be able to access the Linux machine.

I don't know what problem you are having with lisa. You can mount samba shares easily enough. Something like as root.
Code:
mount -t smbfs //machinename/share /home/you/mountingpoint
or
Code:
smbmount //machinename/share /home/you/mountingpoint
unmount them when you are done
Code:
umount /home/you/mountingpoint
 
Old 09-26-2005, 08:41 AM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Hey Teckk,

Thanks for the reply.

The method you suggested is one which I use quite often. Here's what I do often.
Search for a hostname using nmblookup <hostname> to get it's i.p. then use smblient -L \\\\<i.p. address> to get the list of all the shares and then mount those share using the mount/smbmount commands.

But sometimes it becomes quite time consuming when you try to browse a network which contains many p.c.'s I've also used Linneighbourhood that does this, but all the mounting and unmounting makes the p.c. slow.

In Gnome/KDE I use smb:// to browse or lisa in KDE. But here comes the problem. In Gnome sometimes it asks for a password, I type username and password both as anonymous and it accepts it. In KDE sometimes it asks for passwords, and when it does it accepts nothing.

This is what happened, I shared a movie from one windows box, then in another Linux box I tried smb://<i.p.> and lan://<i.p.> (in KDE) and it asks for some username/password which I had not set.

Also, I knew that samba.conf is for the samba server, so that others can access my shares. But I thought I'd mention it's absence anyways, Just in case ...

Thanks again for the reply.

Last edited by koodoo; 09-26-2005 at 08:47 AM.
 
Old 09-26-2005, 08:42 PM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
Nautilus will mount shares too. If you are using Gnome then you probably have it. You can mount the shares from /etc/fstab too. And you know of smb4k. You can also make a shell script to mount them. I can see what you mean about mounting lots of shares.

Good luck.
 
Old 09-27-2005, 07:55 PM   #5
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Hey, thanks for the reply. No I do not know of smb4k, will check it out. And yes, I'll be needing more of that Good Luck coz sometimes this problem becomes very frustrating.

Thanks again for sticking with me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Windows Shares careyd Linux - Networking 3 12-01-2005 04:18 PM
Accessing windows shares in GUI kaldenord Fedora 7 02-08-2005 10:52 AM
Accessing Shares from windows z9_87 Linux - Networking 1 02-07-2005 08:35 PM
weird behaviour with Ygl RGB windows stevewithhair Programming 0 01-12-2005 06:51 PM
Accessing Windows Shares haroldopaulino Linux - Networking 1 08-18-2004 12:01 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration