On Wed, 2004-07-28 at 22:50, Kardianto Cakra wrote:
Hi all,
Is anyone know what is the easiest wa to use linux suse as a client for windows file server and print server? Because I find linux is very suitable for a workstation until I can't print or share file or download a share file through windows file server. It's like I can't be free from windows bind. Please guide...
Hi, I can't help with file sharing ('cause I haven't really explored it yet, but that's supposed to be the easy part), but I just set up 2 W2K boxes to print to the HP DJ932c connected to my SuSE 9.1 box. Do the following as root: 1) Make sure the Linux domain is the same as your W*ndows workgroup name (W*ndows: Control Panel > System > Network Identification) Make sure Samba is running. You can use Yast2 for this. 2) Make sure to add the W*ndows users as regular Linux users on the SuSE box, with the same passwords they use on the W*ndows boxes. (again, Yast2) 3) Enable SWAT (for Samba administration through a browser). Open /etc/xinetd.d/swat with your editor, and change disabled = yes to disabled = no 4) Restart xinetd: >/etc/init.d/xinetd stop >/etc/init.d/xinetd start 5) Load SWAT (http://localhost:901) 6) Make sure the following lines are in the [globals] section of your Samba configuration: encrypt passwords = yes use client driver = yes If any W*ndows usernames are mixed-case, add this, too: username level = 3 7) Add the W*ndows users to the Samba users. Click "Passwords" and add each user's name/pw. Now, on each W*ndows box (I'm assuming TCP/IP is already loaded): 1) Start > Settings > Printers > Add Printer > Network printer 2) Browse the network to find the linux printer. (you may need to load the printer drivers locally on the W*ndows boxes) Go back to SWAT, where you should see the connections from the W*ndows boxes. Try printing from W*ndows. I don't think I missed any steps, but if you get error messages, Google them (search Google with the exact error message in double-quotes). That's how I got it to work. Cheers, Carlos