Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: shuiend on 2 November 2002, 00:57

Title: samba
Post by: shuiend on 2 November 2002, 00:57
i am just now getting around to installing and setting up samba in my house. I am useing Red Hat 8.0 and a windows XP home computer. Right now i have it so the Xp computer can see the samba server but it cannot connect to it. I think it is b/c i do not have a login name for it but i do not know how to make one. Also how would i go about seeing what the XP computer is sharing in linux?
Title: samba
Post by: Stryker on 2 November 2002, 06:28
quote:
Originally posted by wild_jester / BOB:
i am just now getting around to installing and setting up samba in my house. I am useing Red Hat 8.0 and a windows XP home computer. Right now i have it so the Xp computer can see the samba server but it cannot connect to it. I think it is b/c i do not have a login name for it but i do not know how to make one. Also how would i go about seeing what the XP computer is sharing in linux?


to have windows view linux samba shares...
make a user, or use an already made user... just have something non-root.
as root:
smbpasswd -a <username>
it'll ask for a password, give it one.

smbpasswd -a root

give your root password

chkconfig swat on

open a browser from the server and go to http://localhost:901 (http://localhost:901)

make a share and set the owner to the non-root and change the read only and whatever you want.

save

in shell:

/etc/init.d/smb restart

to view windows from linux...
open konqueror and go to smb://servername/share or smb://servername
Title: samba
Post by: voidmain on 2 November 2002, 07:44
quote:
Originally posted by Stryker:

in shell:

/etc/init.d/smb restart



You can also restart Samba from swat.
Title: samba
Post by: Stryker on 2 November 2002, 10:55
quote:
Originally posted by void main:


You can also restart Samba from swat.



yeah, but i hate doing it that way... i never trust it.
Title: samba
Post by: voidmain on 2 November 2002, 11:01
quote:
Originally posted by Stryker:


yeah, but i hate doing it that way... i never trust it.



Yeah, me too. But then I don't even use swat. I edit the files directly, but swat *is* the best graphical samba configuration tool and it's what I recommend for people to use.
Title: samba
Post by: shuiend on 2 November 2002, 18:22
after a little bit of work i have it so when i goto "smb://dad" it shows his c drive but nothing that is in it and i cannot copy items into the folder. From his computer when i click on the samba server it says cannot access localhost because duplicate names exist on the network. I am not sure what that means. i am debating over weather or not to upgrade xp to pro and see if it works b/c pro is better fpr networking. and thanks Stryker for the help