On Thu, Jul 13, 2006 at 10:07:18AM +0300, Aharon Schkolnik wrote: > Please tell me what I need to learn to get started with a minimum setup which > will allow me to share files between my Linux box and my XP box. I am not > sure if this is crucial, but the XP machine is part of a (LDAP) domain.
1. Install Samba RPM, debs, whatever. 2. Modify the default SMB.CONF (usually in /etc or /etc/samba) to restrict access to the machines you want to have access. 3. If you don't have one create an /etc/printcap it can be a one line "# dummy file". 4. If you want to use your unix user id for file access, then skip this. Create a userid for file access. It should have the correct user number and groups. 5. "smbpasswd -a username" to set a password for the username. This is a samba only password, so you can set it one thing and your login password to something else if you want to use your login. (not recommended except in private networks). 6. Remove all the default shares and set one up explicitly for the data you want. DO NOT call it "homes". On XP, open a cmd prompt and type "net use <driveletter>: \\system\share /p:y /savecred /u:<userid>" for example: net use z: \\sambabox\files /p:y /savecred /u:elmerfudd This will set up your files as drive Z: every time you boot. Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM IL Voice: (07)-7424-1667 IL Fax: 972-2-648-1443 U.S. Voice: 1-215-821-1838 Visit my 'blog at http://geoffstechno.livejournal.com/ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]