View previous topic :: View next topic |
Author |
Message |
manny15 Guru
Joined: 01 Dec 2002 Posts: 473 Location: USA
|
Posted: Tue Jan 07, 2003 4:37 pm Post subject: Samba won't share. |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue Jan 07, 2003 6:31 pm Post subject: |
|
|
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 |
|
|
|