[Samba] Samba and Windows XP

Slavisa Popravak spop at 4net.co.yu
Thu Sep 16 07:32:30 GMT 2004


Jason Johnson wrote:

> I just created the samba user 'jason' now.  However, it never prompts 
> me to enter in a username or password.  Is there some security setting 
> that I need to enable on the samba side to make it prompt me when I 
> double click on the icon in Windows XP?
>
> Jason
> ----- Original Message ----- From: "Slavisa Popravak" <spop at 4net.co.yu>
> To: "Jason" <jason at emt-jason.us>
> Cc: <samba at lists.samba.org>
> Sent: Wednesday, September 15, 2004 11:48 PM
> Subject: Re: [Samba] Samba and Windows XP
>
>
>> Jason wrote:
>>
>>> I am trying to setup a samba server on Redhat Fedora 2 and trying to 
>>> connect to it through Windows XP Professional.
>>> This samba server is a standalone server.  I can see it in the 
>>> Network Places.  Every time I try to connect to it I get the 
>>> following error in Windows.
>>>
>>> "\\Samba is not accessible.  You might not have permission to use 
>>> this network resource.  Contact the administrator of this server to 
>>> find out if you have access permissions.  The network path was not 
>>> found."
>>>
>>> Here is my smb.conf file that I created using SWAT.  Can anyone help 
>>> me?
>>>
>>> Thank You
>>>
>>> Jason
>>>
>>> # Samba config file created using SWAT
>>> # from 192.168.1.2 (192.168.1.2)
>>> # Date: 2004/09/15 23:22:05
>>>
>>> # Global parameters
>>> [global]
>>> log file = /var/log/samba/%m.log
>>> max log size = 50
>>> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>>> dns proxy = No
>>> ldap ssl = no
>>> idmap uid = 16777216-33554431
>>> idmap gid = 16777216-33554431
>>> hosts allow = 192.168.1., 192.168.2., 127.
>>>
>>> [homes]
>>> comment = Home Directories
>>> path = /home
>>> read only = No
>>>
>>> [printers]
>>> comment = All Printers
>>> path = /var/spool/samba
>>> printable = Yes
>>> browseable = No
>>>
>>> [myshare]
>>> comment = Jason Test Share
>>> path = /home/jason
>>> valid users = jason
>>> read only = No
>>> create mask = 0765
>>>
>> Did you create username " jason " on server as a samba user??
>>
>> smbpasswd -a jason
>>
>> Then enter password, and when later try to connect to server suply 
>> that username and password.
>>
>>
>>
>> -- 
>> Slaviša Popravak
>> inženjer informatike
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  http://lists.samba.org/mailman/listinfo/samba
>>
>
>

> I think that samba will allways ask you for username and  password, 
> when try to connect. Maybe you should do some configuration with your 
> windows machine.

Try to log on your win box with the same username and pass, as you 
created them on samba server. , and if it works it could be problem with 
win configuration,...
or
Check samba status    /etc/init.d/smb status      /etc/init.d/nmb status
or
Check local file permission on share that you want to access. Samba is 
configured to allow access to share to Jason, but local file permission 
should be configured to allow him access to. When you try to access some 
share, it's chesked local and share permission.



-- 
Slaviša Popravak
inženjer informatike



More information about the samba mailing list