DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-11-16 00:43:04

jannej
New member
Registered: 2008-11-09
Posts: 3

Rendezvous and AFPD?

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

 

#2 2008-11-16 09:35:28

mikeglass
Member
Registered: 2008-06-19
Posts: 7

Offline

 

#3 2008-11-17 21:37:23

trepex
Member
Registered: 2008-11-09
Posts: 12

Re: Rendezvous and AFPD?

woohoo someone else cares!  It wasn't a futile effort to write the how-to tongue

Offline

 

#4 2008-12-06 14:55:06

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

trepex wrote:

woohoo someone else cares!  It wasn't a futile effort to write the how-to tongue

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

 

#5 2008-12-06 22:31:17

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Rendezvous and AFPD?

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


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#6 2008-12-07 17:34:05

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

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

 

#7 2008-12-08 02:22:38

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Rendezvous and AFPD?

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)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#8 2008-12-08 21:52:27

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

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

 

#9 2008-12-09 17:36:46

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Rendezvous and AFPD?

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)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#10 2008-12-09 22:16:12

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

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

 

#11 2008-12-11 19:10:18

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Rendezvous and AFPD?

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?


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#12 2008-12-11 21:48:08

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

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

 

#13 2008-12-11 22:40:27

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

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

 

#14 2008-12-14 21:09:27

a_b_c
Member
Registered: 2008-12-06
Posts: 10

Re: Rendezvous and AFPD?

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 smile

Last edited by a_b_c (2008-12-14 21:11:38)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB