Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba won't share.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
manny15
Guru
Guru


Joined: 01 Dec 2002
Posts: 473
Location: USA

PostPosted: Tue Jan 07, 2003 4:37 pm    Post subject: Samba won't share. Reply with quote

I'm trying to get samba to share a printer and some directories without requiring a user/password. It will be used by just a few computers so I don't want to bother with passwords. Here's my smb.conf

[global]
netbios name = ER-GENTOO
workgroup = WORKGROUP
;security = user
;encrypt passwords = yes
[tmp]
path =/tmp
read only = no

When I try to access it I get an error...

smbclient //er-gentoo/tmp
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a]
tree connect failed: NT_STATUS_WRONG_PASSWORD

using the -N option of smbclient fails with the same error. None of the samba documentation I've read even covers authentication with nor without passwords. Any ideas?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Jan 07, 2003 6:31 pm    Post subject: Reply with quote

Do you have "ldap" enabled in your USE variables? If so, and if you're not actually using ldap authentication, try remerging samba without ldap, either by removing it in your make.conf file or by doing:

Code:
# USE="-ldap" emerge samba


--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum