[Samba] Samba and Windows XP

Slavisa Popravak spop at 4net.co.yu
Thu Sep 16 08:06:39 GMT 2004


Jason Johnson wrote:

> Samba appears to be up
>
> [root at samba samba]# /etc/init.d/smb status
> smbd (pid 1988) is running...
> nmbd (pid 1992) is running...
>
> Local file permissions on the directory appear to be fine
>
> [root at samba home]# ls -al /home/jason
> total 24
> drwxr-xr-x  2 jason jason 4096 Aug 31 15:05 .
> drwxr-xr-x  4 root  root  4096 Aug 31 13:20 ..
> -rw-------  1 jason jason   34 Sep 15 21:07 .bash_history
> -rw-r--r--  1 jason jason   24 Aug 31 13:20 .bash_logout
> -rw-r--r--  1 jason jason  191 Aug 31 13:20 .bash_profile
> -rw-r--r--  1 jason jason  124 Aug 31 13:20 .bashrc
> [root at samba home]#
>
> My Windows XP account name is Jason with the same password that I use 
> for samba.
>
> I do not see anywhere in windows where I can configure anything.  When 
> I go into "My Network Places" on Windows XP and choose "View Workgroup 
> Computers".  I see the samba server icon.  When I double click it it 
> does not give me any prompt for a username and password.  It just pops 
> up that error message that I pasted in my initial email.   If there is 
> an area in Windows XP that I need to configure.  Please let me know
>
> Jason
>
> ----- Original Message ----- From: "Slavisa Popravak" <spop at 4net.co.yu>
> To: <samba at lists.samba.org>
> Sent: Thursday, September 16, 2004 12:32 AM
> Subject: Re: [Samba] Samba and Windows XP
>
>
>> 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
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  http://lists.samba.org/mailman/listinfo/samba
>>
>
>
>
>
>
Default in smb.conf is

encrypt password = yes

Win XP will send encripted password. I hope that you did not  change 
this option. Check this option.


-- 
Slaviša Popravak
inženjer informatike



More information about the samba mailing list