SAMBA on REDHAT 7
http://www.geocities.com/artecz/localhost.jpg
Please click the link above to see my problem.. This is what im getting when I try to enter the localhost in the network neighborhood of windows98. If i enter the password. The error is invalid passwrd. What do i do? Any help? |
your link is dead, if you could describe the problem a little.
Your problem with windows 98 is common due to the fact that it will only log you in using the current user instead of prompting for a username, it prompt for a password only. You need to make sure you are actually logged into windows under a username that is valid on the samba server and has access permission to the shares. did you add the users with smbadduser? there are log files in /var/log/samba and your smb.conf file may not be setup right. try smbclient -L host see if you are listing shares |
username are all the same and passwrd for samba and redhat and windows 'test = username' 'testing = password'.
when i use this command #smbclient -L localhost I can see all my shares 'public' and 'temp' when i try to go into \\localhost\public it prompts me to enter a password i enter the password. Error messg 'invalid password' please try i again to copy and paste the address link http://www.geocities.com/artecz/localhost.jpg |
one thing that you might need to consider. On windows you have a guest account that is broadcasting shares, so you will see them even if you cannot access them. However on samba, if you do not have access and you do not allow the guest account you will not be able the list shares.
the share is IPC$ windows sometimes has autoshare enabled so you have C$ D$ etc.. when you share a folder on the default autoshare you will see it even if you have no access. On linux this would be like having a guest share but setting file permissions to block users. The way samba works is much better if you have your users setup. |
I do have the user 'test' added in Samba.
here is my smbconf [global] workgroup = Frinux server string = Samba Server encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd [public] path = /Share guest only = yes writeable = yes read only = yes [temp] path = /test guest only = yes writeable = no read only = yes |
guest only = yes
are you sure that's what you want? this would mean that a user connot access it, only the guest user which may be nobody by default |
writable and read only are opposites just use
writable = no or writable = yes |
here's one that works
try to ignore the force group apache, maybe make it something else or leave it out. Just something I'm doing If you can go back to the default config file and enable [homes] and get that working first. [global] workgroup = HOME server string = Samba hosts allow = 192.168.1. 192.168.0. 127. printcap name = /etc/printcap load printers = yes printing = lprng log file = /var/log/samba/%m.log max log size = 0 security = share encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd #ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 192.168.0.1/24 192.168.1.1/24 remote announce = 192.168.1.255 192.168.0.255 local master = yes os level = 85 domain master = yes preferred master = yes name resolve order = wins lmhosts bcast wins support = yes dns proxy = no #============================ Share Definitions ============================== [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes printable = yes [myfiles] comment = Users Files path = /home/%u/myfiles read only = no guest ok = no force group = apache force create mode = 770 create mask = 770 force directory mode = 770 browsable = yes [public] comment = Public path = /var/www/pub read only = no guest ok = no force group = apache force create mode = 775 create mask = 775 force directory mode = 775 browsable = yes |
All times are GMT -5. The time now is 05:17 AM. |