Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Can See Samba At WINXP Network Places, But Cant Login

Posted on 2004-11-10
11
Medium Priority
?
293 Views
Last Modified: 2010-03-18
Help ....
Hi, Do you have such experience ?

I try to setup Samba and sharing the public folder and printer.

I can see my Linux PC ( Name: RedhatPC ) from my network places, when I try to double click this PC icon,
it prompt me "RedhatPC is not accessible. YOu might  not have permission to use this network resource ...."

I wonder what is happening ? From my RedhatPC , i can use command smbmount mount to WinXP PC share folder,
but my WinXP cannot access Redhat PC.

The /etc/hosts.allow already put ALL:ALL.

This is my smb.conf contents:

[global]
netbios name=garden
workgroup=garden
server string=Samba Server
guest account=nobody
security=user
password level=8
syslog only=Yes
encrypt passwords=Yes
hosts allow=10.0.0.
wins support=Yes

[homes]
comment=Home directory
browseable=no
writeable=yes

[public]
path=/home/public
comment=Public directory
guest ok=yes
public=yes
browseable=yes
writable=yes

Thank you very much if you would help me !

regards,
xiaoy
0
Comment
Question by:xiaoytan
  • 2
  • 2
  • 2
  • +4
10 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12552644
> security=user
You need to have Linux local/NIS accounts match your Windows accounts.

Wesly
0
 

Author Comment

by:xiaoytan
ID: 12552925
hi, Wesly.

Thank for your fast reply. But  I not really understand it.
Where can I set it ??
Do you have MSN ? Can we discuss via MSN ?

Thank you !!!

xiaoytan@hotmail.com
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12553380
The username & password logged into the Windows machines have to exist on the redhat box. Ie if you are logged into the windows box as xaoi with password secret, you have to have an account on the linux box called xiao with password secret.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 38

Expert Comment

by:wesly_chen
ID: 12557189
Hi,

   Here is my smb.conf, for your reference

----- /etc/samba/smb.conf ----
workgroup = <your Windows domain>   <====
server string = RedhatPC  Samba server
security = SERVER    <================
encrypt passwords = Yes
password server = <Your Active Directory server's OP address>    <=====
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*
unix password sync = Yes
----------------------

Besides, you need to have/create Windows' username/password on your Linux box.

Wesly
0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 12557656
No.

you need the sign or seal registry file. look for it on your linux machine, copy it to your windows XP, and then XP will be able to log to the linux via samba.

why is this? well, it is because microsoft has several ways to connect. all of them doing the same, but samba team choose to support only one (the best one). so please run the signorseal.reg on your XP and you should be working okay after that.
0
 
LVL 3

Expert Comment

by:jeiler
ID: 12627462
What version of Samba are you running, there were some fixes to winbind that addressed a couple of issues like this.  I would recommend upgrading to 3.0.7 or later.
0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 12628145
any news?
0
 

Author Comment

by:xiaoytan
ID: 13033372
Hi, The Issues have been solved, I re-do all the setting and find the answer from the books.
The browseable should always set to "YES".
Thank you.
Can Administrator close the topic ?
0
 
LVL 3

Expert Comment

by:snedelchev
ID: 13744752
security = share

[global]
        local master = no
        interfaces = 192.168.66.1
        bind interfaces only = yes
        workgroup = TRAKIA
        netbios name = PENGUIN
        server string = DarkStar
        security = SHARE
        encrypt passwords = Yes
        lanman auth = No
        log level = 1
        log file = /var/log/samba/%m.log
        min protocol = NT1
       change notify timeout = 300
       deadtime = 15
       socket options = TCP_NODELAY SO_RCVBUF=8192 IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        lm announce = No
        guest ok = yes
        hosts allow = 192.168.66.0/255.255.0.0
#        hosts deny = ALL
        hide unreadable = Yes
        browsable = Yes
[homes]
        comment = Home Directories
        create mask = 0750
        browsable = No

[Share]
        comment = Temporary file space
        path = /home/stasy/share
        guest ok = Yes
        browsable = Yes
        writable = Yes
        Browsable = Yes
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 16238483
PAQed with points refunded (250)

CetusMOD
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question