to network wired (ethernet) windows xp and wireless opensuse 11.4 and everything is working great. i can see windows from opensuse and opensuse from windows but have a few questions.
First, when i got to the section to Open firefox or Konqueror and in the address bar type localhost:901 and press the Enter key in articles photo it shows i should have, home-globals-shares-printers-wizard-status-view but i only have home-status-view-password in my firefox when i typed localhost:901, is that all i should have?
another question, is do i have to do any more tweaking, did I miss anything that I need to do or do something i shouldnt have?
So I use Samba and this is called Samba SWAT, though I have not seen this article before. I do know that you must install samba-doc from YaST, which is not installed by default and several other things. Check out and install samba-doc if not installed and I will look at this article you posted in more detail tonight.
samba-doc is not installed and when i searched for it, it doesnt appear in software managerment, not there?
look forward to your reply to find out what I exactly did installing samba swat and for the correct installation directions
So if you open up YaST (Enter the Root Password) / Software / Software Management / Search Tab and enter samba as the search term and up pops samba-doc from the default openSUSE OSS repository which gets added for you when openSUSE is installed. Follow this procedure and you will find it. Put a check on it and allow it to be installed. Keep in mind all things samba will come up so look down in the list of uninstalled programs if it does not already show up as being installed. The article seems pretty nice, but just says to install samba and samba-doc is not installed by default and does have an effect on the SWAT screen that you see. You can find another resource on using Samba here:
To see all the options of SWAT you need to authenticate as root. When you
enter “localhost:901” you are asked for a username and password. If you use
your login name and password you only see a few options that can be changed by
an ordinary user. To see all of the options you need to use root and root’s
password. Only root is allowed to make changes to Samba, save a users own
password.
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
The OSS repository is missing to install samba-doc. Use the following URL but without the quotes. Use Add / URL but uncheck the option at the bottom that says “Download repository description files”:
As venzkep wrote, you do need to be a root user to run SWAT. Now I use this method all of the time and it works better that the YaST tools in my opinion.
when i type in my root & root password after typing in localhost:901, it wont let me get into it using my root and root password, says authenication failed, do you want to try again? keeps asking for a username & password , the only way to get into localhost:901 is by only using my loginname and password, need correction directions
when i type in my root & root password after typing in localhost:901, it wont let me get into it using my root and root password, says authenication failed, do you want to try again? keeps asking for a username & password , the only way to get into localhost:901 is by only using my loginname and password, need correction directions
thanks
That is very unusual. So, the user name would be root and the password the very same one you use to start YaST. By default, the root password is the same as your password, but either password can then be changed, which I have no idea if you have done that or not. Are there any other root user tasks that fail? For instance, open a terminal session, and enter the following:
su -
password:
fdisk -l
The word password: is a request by the su - command and you just type in the actual root password and not the word password. Then you run the command fdisk -l (that is a lower case L) and if it works, one could assume something is wrong in Firefox perhaps.
everytime ive opened a terminal and type in root and password it always works. when i typed your command into a terminal, it came up with the properties of my hard drive
disk /dev/sda: 250.1gb, 25009350016 bytes… i dont think you need to know the rest, i was just testing a terminal right? so you think something is messed up in firefox but i get the same results when i type in localhost:901 into konqueror, only four home-status-view-password. and root doesnt work there too to gain complete access
So something about this setup is wrong. Lets start by modifying three text files as root to make sure they are correct. Restart your PC when complete.
kdesu kwrite /etc/xinetd.d/servers
Change disable=yes to disable=no AND place a # pound sign in front of the “only_from = 127.0.0.1” line.
# default: off
# description: An internal xinetd service, listing active servers.
service servers
{
type = INTERNAL UNLISTED
port = 9099
socket_type = stream
protocol = tcp
wait = no
disable = no
# only_from = 127.0.0.1
FLAGS = IPv6 IPv4
Once complete, save this file. Next edit:
kdesu kwrite /etc/xinetd.d/services
Change disable=yes to disable=no AND place a # pound sign in front of the “only_from = 127.0.0.1” line.
# default: off
# description: An internal xinetd service, listing active services.
service services
{
type = INTERNAL UNLISTED
port = 9098
socket_type = stream
protocol = tcp
wait = no
disable = no
# only_from = 127.0.0.1
FLAGS = IPv6 IPv4
}
Once complete, save this file. Next edit:
kdesu kwrite /etc/xinetd.d/swat
Place a # pound sign in front of the “only_from = 127.0.0.1” line AND change disable=yes to disable=no
SWAT is the Samba Web Administration Tool.
service swat
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/swat
# only_from = 127.0.0.1
log_on_failure += USERID
disable = no
}
Once complete, save this file. Next we must visit the Run Level Control in YaST, but one thing at a time. Reboot your computer and tell me if any of this was not done.
linux-l9ds:/home/diablo # kdesu kwrite /etc/xinetd.d/servers
kdesu(5505): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application ‘kdesu’ crashing…
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-linux-l9ds.site/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
drkonqi(5506): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
change and saved all three files just in the last file saved i had to add the entire disable = no it wasnt there at all
So that last file was the main SWAT file and you would think it would not work if disabled. I wonder if the default is no if this line is missing? Did this change cause anything to change?
One important statement was the following from the guide you gave to be set in the YaST / System / System Services (Runlevel) which said to Enable & Start these services:
Highlight and then click Enable (or ensure that they are enabled) button for the following services: nmb smb xinetd
Then click OK.
Double check this to make sure. There was a known problem with openSUSE 11.4 with nmb you need to check:
You use the GUI with this workaround:
Yast -> Novell AppArmor -> AppArmor Control Panel,
Click on Set profile modes (Configure) button,
Highlight the entries ‘usr.sbin.nmbd’ and ‘usr.sbin.smbd’ in turn and, for each, click the Toggle Mode button to set the mode from ‘enforce’ to ‘complain’.
nmb, smb,xinetd were all enabled but i hit the enable button again then hit ok
‘usr.sbin.nmbd’ & ‘usr.sbin.smbd’ are set to ‘complain’.
everything else is still the same, i can see my other computer from opensuse and when i bring up firefox I still cant access thru root and root password but my login username and password works, and still the four home-view-status-password still no global
>
> nmb, smb,xinetd were all enabled but i hit the enable button again then
> hit ok
> ‘usr.sbin.nmbd’ & ‘usr.sbin.smbd’ are set to ‘complain’.
> everything else is still the same, i can see my other computer from
> opensuse and when i bring up firefox I still cant access thru root and
> root password but my login username and password works, and still the
> four home-view-status-password still no global
>
>
diablo1;
Make sure your PAM configuration for Samba/SWAT is correct. The correct
content of:
/etc/pam.d/samba is:
#%PAM-1.0
auth include common-auth
account include common-account
password include common-password
session include common-session
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
Is it ok to run samba SWAT the way I have it, I’m able to see my networks from each computer, window sees my opensuse files and folders and opensuse sees my window’s files and folders? …with it installed incorrectly should remove it?
If i remove it can i just use the article which I used to install it and follow it backwards to remove samba swat or is there an easier way? Also do i reserve what i did to the three files as well, the kdesu kwrite /etc/xinetd.d/servers, kdesu kwrite /etc/xinetd.d/services, kdesu kwrite /etc/xinetd.d/swat?
If advised to remove samba Swat, what is a good and easy article I can follow this time to install samba the correct way?