Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have installed fun_plug and have Netatalk running on my NAS. Does anyone know if there is any Rendezvous (a.k.a. Zeroconf) module, so the AFP share is automatically displayed in the Finder?
Fire Fly uses mdnsresponder, but can you use it for Netatalk as well?
Thanks!
Offline
woohoo someone else cares! It wasn't a futile effort to write the how-to
Offline
trepex wrote:
woohoo someone else cares! It wasn't a futile effort to write the how-to
Quite a nice guide that made me successfully set up SMB and AFP shares being advertised properly to my macbook. The problem I am having though is that when accessing the shares it doesnt prompt me for username/password and therefore I get guest logins only, which don't allow me access to my files. On SMB shares I do see the disk directory, and get the error that it cant find the object (access rights I assume) if i access one of the dirs. On AFP I get a connection failed right away and no dirlist. If I connect with the finder through the Go/Connect to server and providing my credentials all works fine, both for SMB and AFP.
I have googled for hours, but still lost on how to go from guest accounts to accounts with proper credentials.
Is there some expert around that could point me into the right direction?
thanks a lot!
Offline
To get rid of the guest account you need to edit the smb.conf and change the
security = SHARE to security = USER
see http://dns323.kood.org/forum/t3418-auth … rd%3F.html
for a recent dicussion
Offline
mig wrote:
To get rid of the guest account you need to edit the smb.conf and change the
security = SHARE to security = USER
see http://dns323.kood.org/forum/t3418-auth … rd%3F.html
for a recent dicussion
Thanks Mig. Tried it, but doesn't seems to work unfortunately. I have set the security to user and made it survive reboots. My macbook still doesnt ask for user credentials. Any other tip I could try?
Thanks!
Offline
Sorry that suggestion didn't solve your problem.
Can you post the contents of your smb.conf file?
Last edited by mig (2008-12-08 02:30:24)
Offline
The strange thing is that direct connects on my Macbook using smb://ipaddress/Volume_1 does prompt for user credentials. It looks like below:
[ global ]
interfaces = egiga0
unix charset = UTF8
workgroup = workgroup
netbios name = Brain
server string = Data
hosts allow =
hosts deny =
security = USER
encrypt passwords = yes
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
max xmit = 65535
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
load printers = Yes
printcap name = /usr/local/LPRng/etc/printcap
min print space = 2000
max print jobs = 1000
printing = lprng
print command = /usr/local/LPRng/bin/lpr -P%p -r %s
lpq command = /usr/local/LPRng/bin/lpq -P%p
lprm command = /usr/local/LPRng/bin/lprm -P%p %j
lppause command = /usr/local/LPRng/sbin/lpc hold %p %j
lpresume command = /usr/local/LPRng/sbin/lpc release %p %j
queuepause command = /usr/local/LPRng/sbin/lpc -P%p stop
queueresume command = /usr/local/LPRng/sbin/lpc -P%p start
use sendfile =yes
[ web_page ]
comment = Enter Our Web Page Setting
path = /mnt/web_page
valid users =
read only = yes
guest ok = yes
[printers]
path = /mnt/HD_a4/.lpd
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[ Volume_1 ]
comment =
path = /mnt/HD_a2
valid users = Hans
read only = no
guest ok = no
oplocks =
map archive =
[ Volume_2 ]
comment =
path = /mnt/HD_b2
valid users = Hans
read only = no
guest ok = no
oplocks =
map archive =
Last edited by a_b_c (2008-12-08 21:53:07)
Offline
It looks to me like you have setup your smb.conf correctly.
One thing you might try is to use the option
map to guest = bad user
at the end of the [global] section
Bad User - Means user logins with an invalid password are rejected, unless the username does not
exist, in which case it is treated as a guest login and mapped into the guest account.
Since you have the option
guest ok = no
on each of your shares [Volume_1] and [Volume_2] this option should cause samba to prompt
you for an user and password, because the "guest" account is not allowed.
BTW, the 'map to guest' option is not useful for the samba security mode: "security = SHARE"
Last edited by mig (2008-12-09 17:39:41)
Offline
mig wrote:
It looks to me like you have setup your smb.conf correctly.
One thing you might try is to use the option
map to guest = bad user
at the end of the [global] section
Thanks again for your tips Mig. Tried this, but it still doesn't work unfortunately. It tried to connect and then goes into connection failed. If I add a share to smb.conf like
[ Data ]
comment =
path = /mnt/HD_a2/Data
valid users =
read only = yes
guest ok = yes
oplocks =
map archive =
then i can perfectly access the data directory in readonly mode. It also shows I am connected as a guest. So my conclusion is that connectivity wise everything is ok and the problem is really with the user credentials.
Anything else worth trying?
Offline
Sorry, I really can't tell why this is happening.
How did you create your users on the DNS-322?
Are you using the same usernames and passwords on the
DNS-323 as on the Mac?
Offline
mig wrote:
Sorry, I really can't tell why this is happening.
How did you create your users on the DNS-322?
Are you using the same usernames and passwords on the
DNS-323 as on the Mac?
Ah, this rings a bell. I do have the same users on the CH3SNAS and the macbook, but different passwords. Will try making them equal and post results!
Thanks again for thinking with me.
Last edited by a_b_c (2008-12-11 21:48:45)
Offline
a_b_c wrote:
mig wrote:
Sorry, I really can't tell why this is happening.
How did you create your users on the DNS-322?
Are you using the same usernames and passwords on the
DNS-323 as on the Mac?Ah, this rings a bell. I do have the same users on the CH3SNAS and the macbook, but different passwords. Will try making them equal and post results!
Thanks again for thinking with me.
Hm, no luck. I guess I have to give up.
Offline
Finally got it. The NAS was in my keychain, but with an ip-address. The same ip address (i use a static address for my NAS) was mapped to a hostid on the NAS itself, but to a different hostid in my router (which is DNS as well). Accessing the NAS through its name caused guest logins, since my keychain was tied to ip-address. When setting the hostname equal accross all devices, and adding the hostname with username/password to my keychain it worked. Finally
Last edited by a_b_c (2008-12-14 21:11:38)
Offline