Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9485 closed defect (obsolete)

Netatalk needs to be configured without shadow passwords

Reported by: anonymous Owned by: flyn
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Password authentication in the netatalk package from trunk does not work.
Adding "--without-shadow" to the configuration options in the makefile fixes the problem.

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by dirtyfreebooter <openwrt-devel@…>

As of r27035 (and all builds for the past year since I started using netatalk), netatalk as is works fine for me. I have a user "transmission" in both /etc/passwd and /etc/shadow. In /etc/passwd the password field has "!" in it, in shadow it has the encrypted password. I have shadow support enabled in the global build settings and in the busybox login/password menu. My afpd.conf looks like this:

- -noddp -unixcodepage utf8 -uampath /usr/lib/uams -uamlist uams_passwd.so,uams_dhx_passwd.so -defau
ltvol /etc/netatalk/AppleVolumes.default -systemvol /etc/netatalk/AppleVolumes.system -nouservol -sl
eep 48 -icon -ipaddr 10.0.0.1 -nodebug

comment:2 Changed 7 years ago by anonymous

I apparently build my firmware without shadow passwords. I thought that was the default option?

comment:3 Changed 7 years ago by anonymous

I moved to Backfire 10.03.1-rc5 now. There seems to be no shadow password support in the provided image although netatalk from the standard repository is configured for shadow passwords:

Mar 28 01:58:26.432254 afpd[11186] {dsi_tcp.c:209} (I:DSI): AFP/TCP session from 192.168.2.130:51101
Mar 28 01:58:26.440201 afpd[11186] {uams_dhx_passwd.c:112} (I:UAMS): dhx login: afpuser
Mar 28 01:58:26.449194 afpd[11186] {uams_dhx_passwd.c:118} (I:UAMS): no shadow passwd entry for afpuser
Mar 28 01:58:26.458387 afpd[11186] {afp_dsi.c:89} (I:AFPDaemon): 0.09KB read, 0.05KB written
Mar 28 01:58:26.469849 afpd[11149] {server_child.c:389} (I:Default): server_child[1] 11186 done

comment:4 Changed 6 years ago by swalker

  • Owner changed from developers to flyn
  • Status changed from new to assigned

comment:5 Changed 6 years ago by nbd

  • Resolution set to obsolete
  • Status changed from assigned to closed

shadow support is enabled

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.