McHenry wrote:
(various snippages)
To connect to the shared drive XP allows me to specify a username &
password other than the one I use locally.
To connect to a Samba server, you will need to either create the
matching user account/password in the Linux distro and in Samba OR
change Samba's default to allow guest access (disabled by default
because guest is a security risk). Here is my standard blurb about
setting up Samba:
1. On Windows boxen, make sure all accounts are properly named (no
damned spaces) and there are no null passwords. Configure any firewalls
to allow lan traffic. Create shares as desired. Remember please that XP
Home will not allow you to share users' home directories (My
Documents).
2. On Linux, create identical user account/passwords with whatever
method you use for your distro.
3. Make sure you've installed Samba server/client.
4. Make sure nmb and smb daemons will start at bootup.
5. Now add your users to Samba. Make these match the ones on Windows. I
think the easiest way is from the console, so open one, su to root, and
type:
smbpasswd -a username [enter]
(enter password)
(enter password again)
6. Set your Samba server and client Identity to match your Windows
Workgroup name.
7. I use KDE, so if you use Gnome you'll need to figure this next bit
out yourself. Open up the Control Center and go to Internet/Network and
then Samba. Click on the Administrator Mode (enter root password). I
use User security level. Check to make sure Shares (these are for the
Linux box of course) are the way you want them. Apply and close that
part.
8. Click on File Sharing and enable Administrator Mode. Check "Enable
local network file sharing". I have mine set on "Advanced sharing".
Check the box for "Use Samba" rather than NFS.
And that's pretty much it. Now if you want to make a new share - say a
folder that isn't in your /home, you can right-click it to set Sharing
Properties. If all you want to share is your /home, you're done.
If you do this, then you will be able to connect to Samba shares from
your XP Home box. If you have a lot of people connecting to the Samba
server, you can use generic user logons. For instance, I have set up a
Samba server for a school laptop program. The generic user accounts are
Student and Teacher. That way we don't need to create lots of different
user accounts.
Malke