Win95 and Samba
I have installed Samba and everything seem to be working fine if I want to access my Win95 computer shared files. (btw anyone know a GUI for Samba?) But If I want to acces shared files here on my linux computer (with my win95 computer) a window saying something like : you want to access //ELF/IPC$ please enter your password
What is this? What is IPC$ and what's this password (the only files I'm sharing are "guest access" without password... well I think) |
gui for samba=swat
you need to create user with samba which has same username/password than UR win95 use this smbpasswd -a YourName |
Ok... Can't I share my files to "any user" without any password?
|
Herm If I share a folder (example:/home/bill) can I deny user in my network to access other folders in this shared folder? (ex: /home/bill/Desktop)
|
What do you want?
Half_Elf, what exactly are you trying to accomplish? What do you want out of SAMBA? Maybe there's an easier way than what you currently have set up...
Do you want people to be able to log on to the Windoze workstation and have their username/password validated on the SAMBA server? Do you want each Linux user to have their own private share and a publicly accessible one at the same time? Just tell me what exactly you need and I'll do my best to help you... For example, at home I run a SAMBA PDC server, each member of my family has a username and a password. When they log on to the Windoze workstation(s), their start menus, registry settings and desktops get updated to their personal preferences, and they also get three shares mounted at login time: drive L: (their private disk space), drive W: (their public_html, an easy way to publish personal web pages), and drive P: (a place where all of them have write access and can share files among each other). The only thing that I have no experience in is printing, because I don't have a printer. :( |
btw, you can't have share open and folders underneath locked with password prompt
not possible in samba, not possible in windoze |
Quote:
|
I want to learn Sewer_Monkey!!!
I want my old crappy win95 computer to be able to access some files and folders in my linux box... Some folders must be protected by a password,some must be accessible to everyone. I also want some users to have the same "disk name" (like your L: ) but without sharing the same content (if you understand what I mean...) Can I share files to "any" users, not only users registered on my box? Oh and I want to access files shared on my Win computer with my Linux Box, but with a GUI if possible :D |
That's the spirit! ;)
OK, first off, take a peek at my smb.conf (a bit stripped down for simplicity's sake): Code:
[global] If you have any specifric questions, feel free to ask. I know you may have some, since the whole Windoze NT PDC scheme is pretty confusing... Machine accounts, user accounts... Go figure! ;) Also note, that you'll need a basic understanding of some SAMBA parameters before proceeding any further in this message. :) With regards to having freely-accessible shares (with no passwords), you can make a guest account (say, username "guest" and password "guest"), because SAMBA needs to work with a UNIX UID for any share. SAMBA needs a username for accessing any share it serves. Alternatively, you can make a guest share (see the man page for smb.conf), but you'll still have to tell SAMBA to use a UNIX username as the guest account (in the manpage they use the "ftp" account, but I prefer creating a separate account for SAMBA guests, or just use the username "nobody"). Now for password-level access (password-protected shares). Unfortunately you can't really do this nicely on SAMBA... Here's a quote from the smb.conf manpage: Quote:
What I would suggest is the following alternative (maybe there's a better way, but this is what comes to my mind): create a bogus account on your Linux box for the share, so that anyone can access it, if he/she knows the password for the bogus account. Note that you can have several "bogus" accounts like this in your smbpasswd file, and then you can use the user.map file to map these bogus usernames to actual UNIX usernames, such as "ftp" or "nobody". Here's what I mean (this is an example just to make it work, with no regards for security, such as create masks, e.t.c.): First of all, create a bogus username and a password in the /ets/passwd (and set the shell to something like /bin/false) and then in the smbpasswd file: smbpasswd -a bogususer Finally, add the needed share to your smb.conf: Code:
[someshare] I really suggest you go with the user-level security, though... Windoze 9x is not going to let you connect to anything unless you log on to it anyway... P.S. Are you a "Lord of the Rings" fan (you know, your username)? |
Woooow I think I will need a complete week to really understand all the content of this msg ;)
But thanx very useful, well the part I have understood yet :) Herm and yes I'm a Lord of The Ring fan but I use this nick since a very long time, not because of the movie :D |
You're welcome. And if you have any specific questions, feel free to ask. :)
|
I have only one question right now.
I want something having a GUI to access my files on my Win computer... You know, Samba is a text mode program... I really like text mode progz but if I want to get 3 specific files in... I dunno C:/Windows maybe?... well a very full folders, it will be a lot of trouble if I don't have a GUI. Do you know something that I can use in X to do that?? |
Yup, I have the same deal set up at home. ;)
What I did was add a line to my /etc/fstab, something like this: //newton/c /mnt/smb/newton/c smbfs user,_netdev 0 0 Which allows anyone to mount the share to /mnt/smb/newton/c, and once you get it mounted, it's only a matter of getting there with Konqueror, Nautilus, or whatever you want... Oh yeah, and I think KDE 2.x and above should have a GUI for smbclient built in, but I haven't played around with it... I know the URLs start with smb://... You might want to check this out. |
Quote:
If I understand your question correctly, you want something equivalent to Win 95/98's Network Neighborhood. In other words, something that will allow you to browse remote shares/folders with an "Explorer" kind of GUI presentation, yes? If so, Linneighborhood is what you want. It installs very easily, and is pretty intuitive to use. Once you're sure that your basic Samba/Linux<->Widows setup is functioning correctly, give it a try. :) |
sewer_monkey,
when you setup smb.conf file, I look at the line ................................................................ domain logons = yes (or domain logon = yes no "S") ................................................................. It tell me that ALL WINDOWS users must logon to this server (Linux box), isn't it? If YES, DO we need to do anything else with the Linux box or we ONLY need to edit smb.conf file to make it works like domain logon server for WINDOWs users? I have no problem with SAMBA at workgroup mode but don't know how to make it works like domain server. IF you have time, please drop me few lines to help me out. Thank you. |
All times are GMT -5. The time now is 03:48 PM. |