Bluehost.com Web Hosting $6.95

[Samba] Samba and Vista Home Prem login problems

This is a discussion on [Samba] Samba and Vista Home Prem login problems within the Samba forums, part of the Networking and Network Related category; I have a simple peer to peer setup with security = user. I only have two machines, one Vista and one ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-16-2008
Brad Sacks
 
Posts: n/a
Default [Samba] Samba and Vista Home Prem login problems

I have a simple peer to peer setup with security = user. I only have
two machines, one Vista and one Linux. I have two shares, one is the
tmp folder and I enabled public access, the other is a user owned
folder with read, write and execute permissions. I can see my Samba
shares from my Vista machine and I can access the tmp folder, but I
can't log on to the user protected one. I have encrypted passwords and
password level 8. I used force user in the share definition. I can map
the drive, but I can't access it.

When I try smbclient -L \\Mybox\share -Uuser I can connect to it from
the samba machine. I'm sort of at a loss now. I've tried a lot of
stuff. Any ideas would be appreciated.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 08-17-2008
Ryan Novosielski
 
Posts: n/a
Default Re: [Samba] Samba and Vista Home Prem login problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brad Sacks wrote:
> I have a simple peer to peer setup with security = user. I only have
> two machines, one Vista and one Linux. I have two shares, one is the
> tmp folder and I enabled public access, the other is a user owned
> folder with read, write and execute permissions. I can see my Samba
> shares from my Vista machine and I can access the tmp folder, but I
> can't log on to the user protected one. I have encrypted passwords and
> password level 8. I used force user in the share definition. I can map
> the drive, but I can't access it.
>
> When I try smbclient -L \\Mybox\share -Uuser I can connect to it from
> the samba machine. I'm sort of at a loss now. I've tried a lot of
> stuff. Any ideas would be appreciated.


What do the logs say about why you can't connect? That's your first stop.

- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIp3Qumb+gadEcsb4RAlohAJ49x6jTQt3gLdaHky4AAt GJcnuL0ACfdf2m
2bz70fliOb6+Y7ejPTaENMg=
=ljru
-----END PGP SIGNATURE-----

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #3 (permalink)  
Old 08-17-2008
David C. Rankin
 
Posts: n/a
Default Re: [Samba] Samba and Vista Home Prem login problems

---- Ryan Novosielski <novosirj@umdnj.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Brad Sacks wrote:
> > I have a simple peer to peer setup with security = user. I only have
> > two machines, one Vista and one Linux. I have two shares, one is the
> > tmp folder and I enabled public access, the other is a user owned
> > folder with read, write and execute permissions. I can see my Samba
> > shares from my Vista machine and I can access the tmp folder, but I
> > can't log on to the user protected one. I have encrypted passwords and
> > password level 8. I used force user in the share definition. I can map
> > the drive, but I can't access it.
> >
> > When I try smbclient -L \\Mybox\share -Uuser I can connect to it from
> > the samba machine. I'm sort of at a loss now. I've tried a lot of
> > stuff. Any ideas would be appreciated.

>
> What do the logs say about why you can't connect? That's your first stop.
>


Concur. I have vista home premium running and I have now connection problems whatsoever. CIFS was broken for a time in the3.2.0xy version, but it is performing great now on 3.2.1

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #4 (permalink)  
Old 08-17-2008
Brad Sacks
 
Posts: n/a
Default Re: [Samba] Samba and Vista Home Prem login problems

Hi,
Thanks for the replies. I haven't used Samba that much so I appreciate
the help. I guess I didn't have logging turned on and I wasn't on
3.2.1. So I got 3.2.1 and turned on logging. This is the error I get
when I connect on that share:

[2008/08/17 09:35:57, 1] lib/util_sock.c:get_peer_name(1791)
get_peer_name: getnameinfo failed for 192.168.1.3 with error
Temporary failure in name resolution

This is what my general config looks like:

workgroup = XXXXX
server string = Samba Server Version %v
netbios name = MYBOX
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=8192 SO_SNDBUF=8192
;passdb backend = tdbsam
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
password level = 8
; null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes

I found some of this stuff online so I'm not sure I need all of it.

My share def looks like this:

[webroot]
comment = Web Server Root
path = /var/www/html
browseable = yes
writeable = yes
create mask = 0644
directory mask = 0755
valid users = %S


On Sun, Aug 17, 2008 at 12:14 AM, David C. Rankin
<drankinatty@suddenlinkmail.com> wrote:
> ---- Ryan Novosielski <novosirj@umdnj.edu> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Brad Sacks wrote:
>> > I have a simple peer to peer setup with security = user. I only have
>> > two machines, one Vista and one Linux. I have two shares, one is the
>> > tmp folder and I enabled public access, the other is a user owned
>> > folder with read, write and execute permissions. I can see my Samba
>> > shares from my Vista machine and I can access the tmp folder, but I
>> > can't log on to the user protected one. I have encrypted passwords and
>> > password level 8. I used force user in the share definition. I can map
>> > the drive, but I can't access it.
>> >
>> > When I try smbclient -L \\Mybox\share -Uuser I can connect to it from
>> > the samba machine. I'm sort of at a loss now. I've tried a lot of
>> > stuff. Any ideas would be appreciated.

>>
>> What do the logs say about why you can't connect? That's your first stop.
>>

>
> Concur. I have vista home premium running and I have now connection problems whatsoever. CIFS was broken for a time in the3.2.0xy version, but it is performing great now on 3.2.1
>
> --
> David C. Rankin, J.D., P.E.
> Rankin Law Firm, PLLC
> 510 Ochiltree Street
> Nacogdoches, Texas 75961
> (936) 715-9333
> (936) 715-9339 fax
> www.rankinlawfirm.com
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>




--
if (!this.atWork()) {
try{
__o
_-\<,_
(*)/ (*)
````````````````````
} catch(e) {}
}
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #5 (permalink)  
Old 08-22-2008
David C. Rankin
 
Posts: n/a
Default Re: [Samba] Samba and Vista Home Prem login problems

Brad Sacks wrote:
> Hi,
> Thanks for the replies. I haven't used Samba that much so I appreciate
> the help. I guess I didn't have logging turned on and I wasn't on
> 3.2.1. So I got 3.2.1 and turned on logging. This is the error I get
> when I connect on that share:
>
> [2008/08/17 09:35:57, 1] lib/util_sock.c:get_peer_name(1791)
> get_peer_name: getnameinfo failed for 192.168.1.3 with error
> Temporary failure in name resolution

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You have a problem with the 2 computers being able to talk to each other, a
"name resolution" problem. I see you have configured samba to act as a "wins"
server for your network. Is there another MS server acting as a wins server or
domain controller?

Also, basic name resolution. Are you using /etc/hosts for name resolution or
are you using a DNS. If so is it configured properly? Are you using dhcp to get
your IP or do you have static IPs assigned? This is where the immediate problem
lies. Your config look OK

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0