Samba
Hi
when i activate samba i get the Server showing in Windows 2k/xp but i cannot browse the server, when i try to map a drive i get Network name not found, although i can ping it by name, so i have name resoloution. I have stopped and started the SMB and NMB Services to no avail.Also if i try to use SWAT to configure SAMBA http://localhost:901 I get " the connection was refused when trying to connect to ......" I have edited the XINETD.conf file as some of you suggested in various forums, could anyone give me a copy of a working xinetd.conf and smb.conf that i can test ? what have i missed here. I have shares specified also that when i run testparm all comes back o.k.:cry: |
If you see the samba server from windows then do not change much in smb.conf, just one thing: uncomment the encrypted password line (window$, and, especially the XP one prefers sending encrypted passwords), and sighup samba.
Then create the user's samba password like this: smbpasswd -a username (The unix user password should be the same) Always map your network drives with that username and password on window$. (Theoretically, you could also hack XP to use plain text passwords like samba does by default, but I would not recommend that: XP tends to forget those passwords and you will be always asked for them anytime you connect to a share the first time after restarting your machine. At least this was the case for me.) |
If you see the samba server from windows then do not change much in smb.conf, just one thing: uncomment the encrypted password line (window$, and, especially the XP one prefers sending encrypted passwords), and sighup samba.
Then create the user's samba password like this: smbpasswd -a username (The unix user password should be the same) Always map your network drives with that username and password on window$. (Theoretically, you could also hack XP to use plain text passwords like samba does by default, but I would not recommend that: XP tends to forget those passwords and you will be always requested for them anytime you connect to a share the first time after restarting your machine. At least this was the case for me.) |
If you change in smb.conf , edit there .
# vi /etc/xinetd.d/swat service swat { disable = no port = 901 socket_type = stream wait = no only_from = 127.0.0.1 192.168.0.0/24 user = root server = /usr/sbin/swat log_on_failure += USERID } #service xinetd restart http://eth0(eth1):901 |
I just had one more practical experience with xp home and samba.
A user's username and password were correctly set up both in xp home and samba (unix and samba password were the same); that user saw the samba server, but could not connect to its shares on any ways. The solution was to enable wins in xp and samba, and also netbios over tcp in xp. I do not know why this trouble occurred on this machine, since there was nothing like that with other xp home machines on the same network (the only difference between this machine and others was that here the xp administrator's username was renamed to the actual username, while on other xp homes a new, limited user account was set up for the actual user) |
When you install linux , do you select firewall "high" ?
If you select "high" , I think your xp machine can't connect to samba-server. I'm not good at an English, Sorry. |
All times are GMT -5. The time now is 04:58 PM. |