samba error
hi everyone i have been working on this prob for about 2 weeks. and ive made some progress however i have come to another problem. i can now access the samba client but the error is "no service is operating at the destination network end point on the remote system" i started samba by typing ./smb start the daemons smb and nmb start. when you setup your smb.conf do i have to enter a username and password in the passwd file for windows. what im trying to say is does my windows password and logon have to be entered into the passwd file on linux?
thanks |
So you are trying to connect to your Samba server from a Windows machine yeah? Or are you trying to use smbclient on your linux box to connect to a Windows share?
cheers Jamie... |
try smbclient '\\192.168.0.100\homes' -U masand
the ip adress should be of the destnation and masand is the username which is in the files of the destination machine homes is the directory on which u want to log onto also u can try out an gui samba manager from samba.org called "xsmbrowser" it is quite usefull also which op. sys. u r accessing from which os. |
im using xp and rh8. i want to connect from both.
i can access the samba server from linux by typing smbclient //bmlinux/tmp -U bm then linux prompts for a password and im in. but i cannont connect to samba from windows or from windows to samba tmp in my smb.conf file looks like [tmp] comment= temporary file path = /home/bm read only = no public = yes thanks |
In which case yes, you need a user with the same username as you using under Windows on the Samba server. You'll need to first create the normal Linux user, then add that user to the Samba password file using the smbpasswd command.
I've also heard about problems with session encryption when you are trying to use XP to talk to your Samba server, but I've not actually tried myself. HTH Jamie... |
im not sure what a normal linux user is. i already have a user called bm. do i need a default user. and is this default user in the smb.conf file or just add him to the passwd with no password? am i making any sense? this is an error when i try to access windows from linux
[begin] added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0 session request to 192.168.1.1 failed (Called name not present) session request to 192 failed (Called name not present) Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- E$ Disk Default share IPC$ IPC Remote IPC SharedDocs Disk print$ Disk Printer Drivers ADMIN$ Disk Remote Admin C$ Disk Default share Printer Printer Acrobat Distiller Server Comment --------- ------- BMLINUX linux BMWIN windows Workgroup Master --------- ------- MSHOME BMWIN [end] any ideas thank s |
Quote:
Quote:
Quote:
Quote:
cheers Jamie... |
perhaps u should try "smbaduser masand:gaurav"
masand - ur username gaurav- name of group u shpuld have these peviously in ur linux account then smbpasswd userbane will do it |
Re: samba error
Quote:
But if windows only asks for a password then it is assuming that you are connecting with your windows username. In that case, try either adding your xp username in linux or change your xp username to a linux´s user one. P.D. I´ve not used xp too much but when it asks for just a password I think there´s an option like "connect using a different username" then you can type your linux´s user and pass. |
i cant ping the windows hostname from windows if that has anything to do with the prob. i have added my windows username and password to linux using passwd -a my windows user is called root. is that ok? the error message i posted was when i was trying to access windows from linux. heres my smb.conf
[begin] workgroup = MSHOME server string = linux hosts allow = 192.168.1.1. 192.168.1.2. 127. printcap name = /etc/printcap load printers = yes printing = lprng log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [tmp] comment = temporary file space path = /home/bm read only = no public = yes [end] thanks for everyones help this far |
All times are GMT -5. The time now is 10:48 PM. |