Re: [newbie] Samba - Half there?
Sorry for the delay replying Anne I was busy upgrading to KDE3.01 (its very nice) SNIP Ping - the situation is complicated, when Mdk is running. Under W2K serving ping is OK and reasonable speed. Under Mdk, however - From W98 m/cs - ping by number is fast and returns 1 ms round trip. Ping by name gives similar statistics, but there is a delay of 1 3/4 minutes before anything appears on screen! From my m/c, ping by number is no problem. Ping by name does not work at all - 'unknown host Andy'. Does this suggest anything? Anne SNIP So your cabling/ethernet adapters are fine, but name lookup on the segment is really slow. This implies the Win98 machine is trying to resolve host names from lots of places before finally giving up and asking the linux box. The configuration advice Gerald gave you yesterday looks good. Adding the Linux machine to the Windows DNS list will enable it to resolve host names on the local segment. Once it has learned the name it will persist until it eventually expires from the cache. In any case DNS name lookup is not used for Samba which will learn 'Netbios' names in response to a poll. (I think) If 'Andy' is the Netbios name of the remote computer I do not think you can use that in a ping unless you configure nss_wins in the Linux machine as described in rangers comment to this post http://www.mandrakeforum.com/article.php?sid=2169mode=threadorder=0thold=0 But thats quite exotic. You do not need to install nss_wins in order to get Samba working. Have you managed to access shares on the Windows computer yet using komba2 or konqueror as described in that link I sent you? derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
On Thursday 30 May 2002 8:10 pm, Anne Wilson wrote: Quote from O'Reilly's Samba book: Gosh.. you are keen. ;-) If you are presented with a dialog requesting the password for a user IPC$, then Samba did not accept the password that was sent from the client. I presume this means that the client m/c sent the Win login and password, but it was refused, so requesting a new one? It goes on to say If you are using Windows 98 or Windows NT Service Pack 3 or above, this is probably because the client is sending encrypted passwords instead of plaintext passwords. You can remedy this situation by performing two steps on the Samba server. First, add the following entry to the [global] section of your Samba configuration file: encrypt password=yes. Second, find the smbpasswd program on the samba server...and use it to add an entry to Samba's encrypted password database. For example, to add user steve to Samba's encrypted password database, type smbpasswd -a steve. The first time you enter this password, the program will output an error message indicating that the password database does not exist; it will then create the database... I presume that Webmin added the users to the encrypted password list. Just to be sure, I tried adding Andy and Micky as advised. It didn't say 'I already know about them', but it didn't cure it either. Yes webmin will have done that for you. Now you are learning the command line as well as the GUI :-) Anne You _must_ be root when you use smbpasswd or else it acts differently. As root it will add a user to the database and set their password. As non root it will just change the local users password. The symptom you are getting is consistent with a conflict between encrypted/non encrypted passwords. I'm not even sure how to change that option in Win98 but maybe its worth a try changing it in Linux? Also are you quite sure that the password you have defined is the actual password your Win98 user used when logging into their computer? Win98 lets you use a computer even if the username/password does not exist, but then Networking does not work. (Well its security of a sort) Tell you what try this:- insert this line in the [Globals section] of your smb.conf file log level = 4 Then restart the Samba server (using Webmin or Mandrake Control CentreSystemServices) Now try accessing the Linux shares and take a look in /var/log/samba You should see a file for your Win98 machine, and the log will tell you what did and did not work. derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Brian Parish wrote: Anne, First step has got to be to get rid of netbui. I have set up many windows and windows/linux networks and have always used TCP/IP exclusively. If your W$ machines can't see each other without netbui, then tcp/ip is not correctly installed or configured. HTH Brian OK Brian if thats the case then mines not installed correctly either. I have to use Netbeui myself because my computer is 2k/linux, g/f's is win98. I tried in vain several times to use just TCP/IP. Email me offlist if you wish to help me get this crap sorted? -- Femme Good Decisions You boss Made: We'll do as you suggest and go with Linux. I've always liked that character from Peanuts. - Source: Dilbert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
daRcmaTTeR wrote: I've been loosely following this and I'm curious why you haven't tried setting up a Mandrake box to do the gateway/firewall/file serving duties for the other machines on your LAN. I started doing this - and still want to eventually - but ran into difficulties. Specifically, first hardware - I found that my floppy drive on the old box could not be accessed. I concluded that it was dead and bought a new one, but that couldn't be accessed either, so I presume it is a mobo fault. I am to upgrade two computers this summer, so another mobo will be available then. Secondly - a Cat5 cable running across a room, down a staircase, across the entrance hall and into this room is perilous, to say the least. It won't be necessary when I've done, but I need to be in here while I'm setting it up. Thirdly - I set up Mdk 8.1, and tried to set up mail and file serving, but this meant that I had to constantly change IP addresses so that the Win PCs looked to the Linux box, and back again when I had to leave it. Not surprisingly, neither Linux nor Wins were happy with these frequent changes. snip It took about a month to get everything squared away, but once it was all setup and working it was well worth the effort. I should mention that there are many here now that helped me a lot to get things up and working. couldn't have done it without them. I have been reading here for a week or two now, and am impressed both by the quality of replies, even when we ask the most stupid questions, and the speed of response. To be able to try again before losing heart is a great help. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Derek Jennings wrote: You are best off however just defining your Linux computer to use DHCP and let your Win2k machine serve an IP address to it. You should also define the win2k machine to be the 'default gateway' for the Linux computer, and set your ISP's DNS server addresses so that the Linux computer can resolve names on the Internet. W2K and Mdk are on separate partitions on this one machine, so only one at a time is running. I intend having a separate box when I can get to it, as I told daRc. You did not select Internet Connection Sharing did you? You select that if the Linux machine is the gateway. You are using Win2k as the gateway aren't you? Yes, I did. W2K is the gate way when running, and Mdk is to be the gateway otherwise. Currently, we run a MS peer-to-peer network, with my W2K box acting as gateway. I have read that it is notoriously difficult to set up Samba if NETBUI is installed (which it is on the W98 m/cs), and one should get rid of it if at all possible. True: Samba does not work over NETBEUI The Windows computers must have the TCP stack installed, and there should be a binding between TCP/IP and 'Client for Microsoft Networks' service in the Windows Network Control Panel. It does not matter if you remove Netbeui or not.(Right click on the TCP/IP protocol in the Windows Networking control panel, and select 'PropertiesBindings') This was set, but perhaps our old problem stemmed from the fact that NETBEUI had the same binding. I have removed Netbeui and confirmed that as long as W2K is up the W98 PCs can ping each other and me and share files. BTW: Did you see this http://www.mandrakeforum.org/article.php?sid=2169lang=en I'll look at that this evening, thanks. It should help you access Windows shares from Linux which is a lot easier than the other way round. Note komba2 is recommended. derek Ping - the situation is complicated, when Mdk is running. Under W2K serving ping is OK and reasonable speed. Under Mdk, however - From W98 m/cs - ping by number is fast and returns 1 ms round trip. Ping by name gives similar statistics, but there is a delay of 1 3/4 minutes before anything appears on screen! From my m/c, ping by number is no problem. Ping by name does not work at all - 'unknown host Andy'. Does this suggest anything? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Derek Jennings wrote: Hmm... Looks OK just like mine... Here is my /etc/samba/smb.conf file for you to compare. #=== Global Settings = [global] smb passwd file = /etc/samba/smbpasswd printing = cups dns proxy = no security = user encrypt passwords = yes workgroup = WORKGROUP server string = Samba Server %v socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 log file = /var/log/samba/log.%m load printers = yes max log size = 50 [homes] writable = yes comment = Home Directories [printers] comment = All Printers path = /var/spool/samba browseable = no # to allow user 'guest account' to print. guest ok = yes writable = no printable = yes create mode = 0700 # = # print command: see above for details. # = print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. [print$] path = /var/lib/samba/printers browseable = yes read only = yes write list = adm root [Windows] path = /mnt/windows Here is mine: [global] smb passwd file = /etc/samba/smbpasswd path = /mnt/win_d2/Public auto services = Anne_Public printing = cups dns proxy = no encrypt passwords = yes valid users = Andy,Gillian,Micky,nigel socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = lpstat max log size = 50 preferred master = no writable = yes security = user server string = Samba Server %v workgroup = WORKGROUP comment = Anne_Public netbios name = Anne_Linux log file = /var/log/samba/log.%m load printers = yes default = Anne_Public write list = Andy,Gillian,Micky,nigel [homes] path = comment = Home Directories [printers] comment = All Printers path = /var/spool/samba browseable = no [print$] path = /var/lib/samba/printers browseable = yes read only = yes write list = adm root [Anne_Public] user = Andy,Gillian,Micky,nigel,users write list = Andy,Gillian,Micky,nigel,users What about the [homes] line that has no path? Should it have? I do wonder about the Netbios name, too. It shows up on Neetwork Neighbourhood as Anne_linux, and Andy got a return ping from Anne_linux, but my Mdk shell prompt is anne-linux. Any comments, please? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Sorry that I sent this to your address, instead of the list - I forgot to change the 'Reply to' address. Derek, I have been thinking hard and reading all I can, and I wonder if the problems are a lot deeper rooted. For instance: What I'm trying to achieve is that the filesharing and ICS should be transparent to the kids - they shouldn't need to know which OS I'm running. Currently, we run a MS peer-to-peer network, with my W2K box acting as gateway. I have read that it is notoriously difficult to set up Samba if NETBUI is installed (which it is on the W98 m/cs), and one should get rid of it if at all possible. Unfortunately, it doesn't seem to be possible, as without it the W2K machines and the W98 machines cannot see each other. TCP/IP is on all m/cs, and is properly set up, as the W98 m/cs connect to the Internet from my W2K m/c over TCP/IP. I wonder, too about m/c names. Under the peer-to-peer setup, no name server is required. I don't see how a hosts list can be set up when two m/cs have static IP addresses and the other two have dynamic (provided by my m/c). We haven't used either DNS or WINS. This sets me to thinking about host names on Mdk - I haven't set this up, I think, and I guess I need it? How can Samba recognise and authenticate a m/c without DNS? And how could I set up DNS with m/cs that don't have a static IP address? I have a feeling that there are lots of things like this that I will have to set up. I forgot that this will not be peer-to-peer, but in fact I will be using this m/c as a server - and I didn't specify that at installation. Yet I was offered the ICS option? Just thinking aloud, but would welcome your comments. Anne PS I just got your smb.conf file, and I'll check it out. Again, pinging is a problem, as I don't have a static address. I think this is possibly the root of the problem and I don't know what to do about it. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
What I'm trying to achieve is that the filesharing and ICS should be transparent to the kids - they shouldn't need to know which OS I'm running. Quite right. A Samba server will look just like an NT server to the other computers. Currently, we run a MS peer-to-peer network, with my W2K box acting as gateway. I have read that it is notoriously difficult to set up Samba if NETBUI is installed (which it is on the W98 m/cs), and one should get rid of it if at all possible. True: Samba does not work over NETBEUI The Windows computers must have the TCP stack installed, and there should be a binding between TCP/IP and 'Client for Microsoft Networks' service in the Windows Network Control Panel. It does not matter if you remove Netbeui or not.(Right click on the TCP/IP protocol in the Windows Networking control panel, and select 'PropertiesBindings') Unfortunately, it doesn't seem to be possible, as without it the W2K machines and the W98 machines cannot see each other. Take a look at that binding. TCP/IP is on all m/cs, and is properly set up, as the W98 m/cs connect to the Internet from my W2K m/c over TCP/IP. I wonder, too about m/c names. Under the peer-to-peer setup, no name server is required. I don't see how a hosts list can be set up when two m/cs have static IP addresses and the other two have dynamic (provided by my m/c). We haven't used either DNS or WINS. This sets me to thinking about host names on Mdk - I haven't set this up, I think, and I guess I need it? How can Samba recognise and authenticate a m/c without DNS? And how could I set up DNS with m/cs that don't have a static IP address? Samba does not need the hosts table or DNS to find Windows computers. The Windows machines will respond to a broadcast poll and identify themselves with the name you define in 'Identity' in the Windows Network Control Panel You only need a hosts table or DNS lookup when you want to refer to a remote machine with a meaningful name instead of an IP address. So for example 'ping micky' requires the host name Micky to be either in the /etc/hosts table, or able to be looked up in a DNS server, or searchable in the localdomain. It is_permissable to have 1 machine with a static address while the others are dynamic so long as the static address is known to the DHCP server so it does not award the same IP address to someone else, and so it can resolve searches to that host. You are best off however just defining your Linux computer to use DHCP and let your Win2k machine serve an IP address to it. You should also define the win2k machine to be the 'default gateway' for the Linux computer, and set your ISP's DNS server addresses so that the Linux computer can resolve names on the Internet. A convenient GUI to set this all up in is KMenuConfigurationNetworkingnetconf I have a feeling that there are lots of things like this that I will have to set up. I forgot that this will not be peer-to-peer, but in fact I will be using this m/c as a server - and I didn't specify that at installation. Yet I was offered the ICS option? You did not select Internet Connection Sharing did you? You select that if the Linux machine is the gateway. You are using Win2k as the gateway aren't you? BTW: Did you see this http://www.mandrakeforum.org/article.php?sid=2169lang=en It should help you access Windows shares from Linux which is a lot easier than the other way round. Note komba2 is recommended. derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
On Wed, 29 May 2002, Anne Wilson wrote: Sorry that I sent this to your address, instead of the list - I forgot to change the 'Reply to' address. Derek, I have been thinking hard and reading all I can, and I wonder if the problems are a lot deeper rooted. For instance: What I'm trying to achieve is that the filesharing and ICS should be transparent to the kids - they shouldn't need to know which OS I'm running. Currently, we run a MS peer-to-peer network, with my W2K box acting as gateway. I have read that it is notoriously difficult to set up Samba if NETBUI is installed (which it is on the W98 m/cs), and one should get rid of it if at all possible. Unfortunately, it doesn't seem to be possible, as without it the W2K machines and the W98 machines cannot see each other. TCP/IP is on all m/cs, and is properly set up, as the W98 m/cs connect to the Internet from my W2K m/c over TCP/IP. I wonder, too about m/c names. Under the peer-to-peer setup, no name server is required. I don't see how a hosts list can be set up when two m/cs have static IP addresses and the other two have dynamic (provided by my m/c). We haven't used either DNS or WINS. This sets me to thinking about host names on Mdk - I haven't set this up, I think, and I guess I need it? How can Samba recognise and authenticate a m/c without DNS? And how could I set up DNS with m/cs that don't have a static IP address? I have a feeling that there are lots of things like this that I will have to set up. I forgot that this will not be peer-to-peer, but in fact I will be using this m/c as a server - and I didn't specify that at installation. Yet I was offered the ICS option? Just thinking aloud, but would welcome your comments. Anne PS I just got your smb.conf file, and I'll check it out. Again, pinging is a problem, as I don't have a static address. I think this is possibly the root of the problem and I don't know what to do about it. Hi Anne, I've been loosely following this and I'm curious why you haven't tried setting up a Mandrake box to do the gateway/firewall/file serving duties for the other machines on your LAN. That is how many of us here are doing it. I had many of the same questions you're asking when I first started home-networking, and realized quickly that not only did I not want a p2p network, but that I couldn't see how windows was going to talk to Mandrake with out something like Samba. thus began the journey. It took about a month to get everything squared away, but once it was all setup and working it was well worth the effort. I should mention that there are many here now that helped me a lot to get things up and working. couldn't have done it without them. At present I've got a Mandrake 8.2 machine takin care of the server duties. (all of them - the poor bugger is working very hard!) in addition I've got a mandrake workstation connecting to this LAN, one XP workstation, and one Win98 workstation. it all works very nicely. O, and this includes printing as well. that was a real PITA, but I was able to get it working. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
On Thu, 2002-05-30 at 02:55, Anne Wilson wrote: Sorry that I sent this to your address, instead of the list - I forgot to change the 'Reply to' address. Derek, I have been thinking hard and reading all I can, and I wonder if the problems are a lot deeper rooted. For instance: What I'm trying to achieve is that the filesharing and ICS should be transparent to the kids - they shouldn't need to know which OS I'm running. Currently, we run a MS peer-to-peer network, with my W2K box acting as gateway. I have read that it is notoriously difficult to set up Samba if NETBUI is installed (which it is on the W98 m/cs), and one should get rid of it if at all possible. Unfortunately, it doesn't seem to be possible, as without it the W2K machines and the W98 machines cannot see each other. TCP/IP is on all m/cs, and is properly set up, as the W98 m/cs connect to the Internet from my W2K m/c over TCP/IP. I wonder, too about m/c names. Under the peer-to-peer setup, no name server is required. I don't see how a hosts list can be set up when two m/cs have static IP addresses and the other two have dynamic (provided by my m/c). We haven't used either DNS or WINS. This sets me to thinking about host names on Mdk - I haven't set this up, I think, and I guess I need it? How can Samba recognise and authenticate a m/c without DNS? And how could I set up DNS with m/cs that don't have a static IP address? I have a feeling that there are lots of things like this that I will have to set up. I forgot that this will not be peer-to-peer, but in fact I will be using this m/c as a server - and I didn't specify that at installation. Yet I was offered the ICS option? Just thinking aloud, but would welcome your comments. Anne PS I just got your smb.conf file, and I'll check it out. Again, pinging is a problem, as I don't have a static address. I think this is possibly the root of the problem and I don't know what to do about it. Anne, First step has got to be to get rid of netbui. I have set up many windows and windows/linux networks and have always used TCP/IP exclusively. If your W$ machines can't see each other without netbui, then tcp/ip is not correctly installed or configured. HTH Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Derek Jennings wrote: On Monday 27 May 2002 4:58 pm, you wrote: Have you used webmin to make sure Micky is a 'normal' user and the password is set to the same as the Linux password? (Of course it is case sensitive) Yes - I checked, and I have re-entered a 'new' password, just to make sure. IPC$ is part of the Samba service. Not sure what it actually does, but it is not a valid share. It looks like you have not actually got any shares defined. Or if you do they are not browsable and so Network Neighbourhood cannot see them. This seems to be what is happening, and I can't see why. Here are settings from Webmin: Share Name PathSecurity homes All Home DirectoriesRead/write to all known users Anne_Public /mnt/win_d2/Public Read/write to all known users --- Home Directories Share Available Yes Browseable Yes Share Comment Home Directories --- Share name Anne_Public Directory to share /mnt/win_d2/Public Available Yes Browseable Yes Share Comments Anne_Public --- Edit Security for share Anne_Public Writable Yes Guest AccessNone Guest Unix user nobody Limit to possible list No Hosts to allow All Hosts to deny None Revalidate users No Valid users Andy Micky ... (I have now added them into the Possible Users list) Read/write usersAndy Micky ... For luck I addedPossible Groups users and Read/write Groups users Any ideas? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
On Tuesday 28 May 2002 5:40 pm, Anne Wilson wrote: Derek Jennings wrote: On Monday 27 May 2002 4:58 pm, you wrote: Have you used webmin to make sure Micky is a 'normal' user and the password is set to the same as the Linux password? (Of course it is case sensitive) Yes - I checked, and I have re-entered a 'new' password, just to make sure. IPC$ is part of the Samba service. Not sure what it actually does, but it is not a valid share. It looks like you have not actually got any shares defined. Or if you do they are not browsable and so Network Neighbourhood cannot see them. This seems to be what is happening, and I can't see why. Here are settings from Webmin: Share NamePathSecurity homes All Home DirectoriesRead/write to all known users Anne_Public /mnt/win_d2/Public Read/write to all known users --- Home Directories Share Available Yes Browseable Yes Share Comment Home Directories --- Share nameAnne_Public Directory to share/mnt/win_d2/Public Available Yes Browseable Yes Share CommentsAnne_Public --- Edit Security for share Anne_Public Writable Yes Guest Access None Guest Unix user nobody Limit to possible listNo Hosts to allowAll Hosts to deny None Revalidate users No Valid users Andy Micky ... (I have now added them into the Possible Users list) Read/write usersAndy Micky ... For luck I added Possible Groups users and Read/write Groups users Any ideas? Anne Hmm... Looks OK just like mine... Here is my /etc/samba/smb.conf file for you to compare. I know you said you have no firewall installed, but are you running one on your Windows computer? With Zone Alarm for example you have to put the Linux computer in the 'trusted' zone before you can network to it. Try 'pinging' from each computer to the other. HTH derek #=== Global Settings = [global] smb passwd file = /etc/samba/smbpasswd printing = cups dns proxy = no security = user encrypt passwords = yes workgroup = WORKGROUP server string = Samba Server %v socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 log file = /var/log/samba/log.%m load printers = yes max log size = 50 [homes] writable = yes comment = Home Directories [printers] comment = All Printers path = /var/spool/samba browseable = no # to allow user 'guest account' to print. guest ok = yes writable = no printable = yes create mode = 0700 # = # print command: see above for details. # = print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. [print$] path = /var/lib/samba/printers browseable = yes read only = yes write list = adm root [Windows] path = /mnt/windows Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Samba - Half there?
Running on Mdk 8.2, in a triple boot with W2K and Win98. If I am to progress at all I must be able to work while the rest of the family are on the LAN. That is, 1 W2K m/c and 2 Win98 m/cs. I need to share a FAT32 directory, identified in Linux as /mnt/win_d2/Public, and to make my m/c the gateway for ICS. I requested Samba and ICS when installing, so I'm fairly sure all necessary services will be installed. I have created users on my Linux partition, giving them the same name and password as they use on the Win m/cs. I have entered Samba passwords. Then, using Micky's PC for testing, I checked to see what was happening. I can see Anne_linux in Network Neighbourhood. Clicking on it shows me my 2 CUPS printer setups and a folder called Homes. Clicking on this asks for a password - and I can go no further. From my Linux screen I can see Micky/Public from Control Centre/Mount Points. 1) What did I do wrong? 2) How should I have entered Micky into the Samba Users Config. file? I just put 'Micky = Micky users', assuming that it had something to do with the groups she belongs to. If it is, do I need to add all the groups? 3) If I try to see Micky/Public under Konq I get 'cannot connect to host localhost'. When I get the other problems sorted out will this disappear, or is it a totally separate problem? TIA Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
It looks like you have missed out a few steps. The simplest way to configure Samba is to use 'Webmin' If it not already running install the webmin rpm and then in a browser url enter https://localhost:1 (note https !!) accept the certificate you are presented with and log on as username root. In webmin select ServersSambaWindows File sharingConvertUnix users to Samba users (at bottom of page) Select convert users then Edit users. Delete any user which got converted you did not want, and for any user you do want edit them and select 'new password' and give them the password Windows users must offer when trying to access a share. Go back to the page headed 'Samba Share Manager' if the shared folder you created before is listed then edit it, if not create a new shared folder. Select if the folder is browsable, and also set up any security you desire on that folder. (Might be a good idea to start with little security until you get it working) BTW: The special share called 'homes' will make the home directory of any user who logs into Samba shared. Go back to Global Configuration 'Windows Networking options' enter the correct windows workgroup name Now go back to 'Samba share Manager' and restart samba (botton of page) Your Samba shares should now be visible to windows machines, and the passwords should be accepted. To see the Windows computers in Linux I recommend komba2 It gives you a GUI very like 'Network Neughbourhood' in Windows. Any folder you mount using komba2 will appear in konqueror at ~/komba/ HTH derek On Monday 27 May 2002 11:34 am, Anne Wilson wrote: Running on Mdk 8.2, in a triple boot with W2K and Win98. If I am to progress at all I must be able to work while the rest of the family are on the LAN. That is, 1 W2K m/c and 2 Win98 m/cs. I need to share a FAT32 directory, identified in Linux as /mnt/win_d2/Public, and to make my m/c the gateway for ICS. I requested Samba and ICS when installing, so I'm fairly sure all necessary services will be installed. I have created users on my Linux partition, giving them the same name and password as they use on the Win m/cs. I have entered Samba passwords. Then, using Micky's PC for testing, I checked to see what was happening. I can see Anne_linux in Network Neighbourhood. Clicking on it shows me my 2 CUPS printer setups and a folder called Homes. Clicking on this asks for a password - and I can go no further. From my Linux screen I can see Micky/Public from Control Centre/Mount Points. 1) What did I do wrong? 2) How should I have entered Micky into the Samba Users Config. file? I just put 'Micky = Micky users', assuming that it had something to do with the groups she belongs to. If it is, do I need to add all the groups? 3) If I try to see Micky/Public under Konq I get 'cannot connect to host localhost'. When I get the other problems sorted out will this disappear, or is it a totally separate problem? You need to install and configure LISa for this to work. I think you will find komba2 is nicer/easier. TIA Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Derek Jennings wrote: It looks like you have missed out a few steps. The simplest way to configure Samba is to use 'Webmin' If it not already running install the webmin rpm and then in a browser url enter https://localhost:1 (note https !!) accept the certificate you are presented with and log on as username root. In webmin select ServersSambaWindows File sharingConvertUnix users to Samba users (at bottom of page) Select convert users then Edit users. Delete any user which got converted you did not want, and for any user you do want edit them and select 'new password' and give them the password Windows users must offer when trying to access a share. Go back to the page headed 'Samba Share Manager' if the shared folder you created before is listed then edit it, if not create a new shared folder. Select if the folder is browsable, and also set up any security you desire on that folder. (Might be a good idea to start with little security until you get it working) BTW: The special share called 'homes' will make the home directory of any user who logs into Samba shared. Go back to Global Configuration 'Windows Networking options' enter the correct windows workgroup name Now go back to 'Samba share Manager' and restart samba (botton of page) Your Samba shares should now be visible to windows machines, and the passwords should be accepted. To see the Windows computers in Linux I recommend komba2 It gives you a GUI very like 'Network Neughbourhood' in Windows. Any folder you mount using komba2 will appear in konqueror at ~/komba/ HTH derek On Monday 27 May 2002 11:34 am, Anne Wilson wrote: Running on Mdk 8.2, in a triple boot with W2K and Win98. If I am to progress at all I must be able to work while the rest of the family are on the LAN. That is, 1 W2K m/c and 2 Win98 m/cs. I need to share a FAT32 directory, identified in Linux as /mnt/win_d2/Public, and to make my m/c the gateway for ICS. I requested Samba and ICS when installing, so I'm fairly sure all necessary services will be installed. I have created users on my Linux partition, giving them the same name and password as they use on the Win m/cs. I have entered Samba passwords. Then, using Micky's PC for testing, I checked to see what was happening. I can see Anne_linux in Network Neighbourhood. Clicking on it shows me my 2 CUPS printer setups and a folder called Homes. Clicking on this asks for a password - and I can go no further. From my Linux screen I can see Micky/Public from Control Centre/Mount Points. 1) What did I do wrong? 2) How should I have entered Micky into the Samba Users Config. file? I just put 'Micky = Micky users', assuming that it had something to do with the groups she belongs to. If it is, do I need to add all the groups? 3) If I try to see Micky/Public under Konq I get 'cannot connect to host localhost'. When I get the other problems sorted out will this disappear, or is it a totally separate problem? You need to install and configure LISa for this to work. I think you will find komba2 is nicer/easier. TIA Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Fell at the first fence! I logged in as root, located Webmin on the DVD, installed the four failed dependencies, then installed webmin. Fired up Mozilla, typed in https://localhost:1 and got back error message connection refused trying to connect to localhost:1 or words to that effect. What did I forget? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
On Mon, 2002-05-27 at 22:50, Anne Wilson wrote: Fell at the first fence! I logged in as root, located Webmin on the DVD, installed the four failed dependencies, then installed webmin. Fired up Mozilla, typed in https://localhost:1 and got back error message connection refused trying to connect to localhost:1 or words to that effect. What did I forget? Anne Are you running a firewall on this system? If so, have you allowed trusted access via the LAN? You are effectively generating a network connection back to yourself doing this, so a firewall can get in the way in this circumstance (maybe). HTH Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Anne; make sure that you start webmin before logging into it. lanman - Original Message - From: Anne Wilson [EMAIL PROTECTED] To: Newbie List [EMAIL PROTECTED] Sent: Monday, May 27, 2002 8:50 AM Subject: Re: [newbie] Samba - Half there? Derek Jennings wrote: It looks like you have missed out a few steps. The simplest way to configure Samba is to use 'Webmin' If it not already running install the webmin rpm and then in a browser url enter https://localhost:1 (note https !!) accept the certificate you are presented with and log on as username root. In webmin select ServersSambaWindows File sharingConvertUnix users to Samba users (at bottom of page) Select convert users then Edit users. Delete any user which got converted you did not want, and for any user you do want edit them and select 'new password' and give them the password Windows users must offer when trying to access a share. Go back to the page headed 'Samba Share Manager' if the shared folder you created before is listed then edit it, if not create a new shared folder. Select if the folder is browsable, and also set up any security you desire on that folder. (Might be a good idea to start with little security until you get it working) BTW: The special share called 'homes' will make the home directory of any user who logs into Samba shared. Go back to Global Configuration 'Windows Networking options' enter the correct windows workgroup name Now go back to 'Samba share Manager' and restart samba (botton of page) Your Samba shares should now be visible to windows machines, and the passwords should be accepted. To see the Windows computers in Linux I recommend komba2 It gives you a GUI very like 'Network Neughbourhood' in Windows. Any folder you mount using komba2 will appear in konqueror at ~/komba/ HTH derek On Monday 27 May 2002 11:34 am, Anne Wilson wrote: Running on Mdk 8.2, in a triple boot with W2K and Win98. If I am to progress at all I must be able to work while the rest of the family are on the LAN. That is, 1 W2K m/c and 2 Win98 m/cs. I need to share a FAT32 directory, identified in Linux as /mnt/win_d2/Public, and to make my m/c the gateway for ICS. I requested Samba and ICS when installing, so I'm fairly sure all necessary services will be installed. I have created users on my Linux partition, giving them the same name and password as they use on the Win m/cs. I have entered Samba passwords. Then, using Micky's PC for testing, I checked to see what was happening. I can see Anne_linux in Network Neighbourhood. Clicking on it shows me my 2 CUPS printer setups and a folder called Homes. Clicking on this asks for a password - and I can go no further. From my Linux screen I can see Micky/Public from Control Centre/Mount Points. 1) What did I do wrong? 2) How should I have entered Micky into the Samba Users Config. file? I just put 'Micky = Micky users', assuming that it had something to do with the groups she belongs to. If it is, do I need to add all the groups? 3) If I try to see Micky/Public under Konq I get 'cannot connect to host localhost'. When I get the other problems sorted out will this disappear, or is it a totally separate problem? You need to install and configure LISa for this to work. I think you will find komba2 is nicer/easier. TIA Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Fell at the first fence! I logged in as root, located Webmin on the DVD, installed the four failed dependencies, then installed webmin. Fired up Mozilla, typed in https://localhost:1 and got back error message connection refused trying to connect to localhost:1 or words to that effect. What did I forget? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Samba - Half there?
Brian Parish wrote: On Mon, 2002-05-27 at 22:50, Anne Wilson wrote: Fell at the first fence! I logged in as root, located Webmin on the DVD, installed the four failed dependencies, then installed webmin. Fired up Mozilla, typed in https://localhost:1 and got back error message connection refused trying to connect to localhost:1 or words to that effect. What did I forget? Anne Are you running a firewall on this system? If so, have you allowed trusted access via the LAN? You are effectively generating a network connection back to yourself doing this, so a firewall can get in the way in this circumstance (maybe). HTH Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com No - not yet. Will need one, of course, but getting this lot set up seems the first priority. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com