Dear sir, i am a newbie for using samba. i got some problems . 1. in the command shell, when i typed "smbclient -U% -L 'hostname'" then it occur an error message "SSL: Error error setting CA cert locations:error:00000000:lib(0):func(0):reason(0). so what is the error means here ? 2. i try to using the SWAT to share my folder, but after i typed "http:/localhost:901" in the browser. it came out an error message "Could not connect to host localhost (port 901)" . what is it means ? i already followed all the step that setup the SWAT. the version of samba i am using now is ver 2.2.2. but i found that the documents which include in the zip file are all old version. do you have a new version documentation ??? Hope to hear from you soon, please reply me by using this email address. Thank You. Regards, Kenny -------------- next part -------------- HTML attachment scrubbed and removed
> > 2. i try to using the SWAT to share my folder, but after i typed "http:/localhost:901" in the browser. > it came out an error message "Could not connect to host localhost (port 901)" . > what is it means ? i already followed all the step that setup the SWAT.Try typing the address correctly. There should be two /'s in the address. You should have this in inetd.conf: swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat -a You should have this in /etc/services: swat 901/tcp swat # Samba Web Administration Tool And, you should restart inetd. Note: The -a starts swat without checking for a password. Very insecure. If you still can't connect, think about firewall issues. Joel
I can't tell you anything about xinetd. Are you sure there is no firewall issue here? And, is swat in /usr/local/samba/bin ? Do you have inetd or xinetd running? Check with ps ax | grep inetd. I think RH gives you a choice, not sure. Joel swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat -a On Mon, Jan 28, 2002 at 11:25:37AM +0800, Kenny Lee wrote:> Joel, > > thank you for your reply. > > anyway i need to modify the " inetd.conf " or " xinetd.conf " ? i am using > the Red Hat ver7.1 and samba 2.2.2 .... so if i need to modify the " > xinetd.conf " file, then what should i type in that file ? i already created > a file called " swat " in /etc/xinetd.d folder. and the content of the " > swat " file is .... > > service swat > { > disable = no > type = INTERNAL > socket_type = stream > protocol = tcp > wait = no > user = root > server = /usr/local/samba/bin/swat > port = 901 > } > > is it correct ? >