Package: netatalk
Version: 2.0.2-3

Dear netatalk maintainers:

I am having a problem using netatalk with a DBD (transactional) backend. The CNID database is not getting created properly and the afpd server is unable to access it. The default CDB backend works fine. Creating the database using the CDB backend and then trying to then switch to using DBD (which should work) also does not work - afpd gives the same syslog message as below and clients cannot connect to the share.

Steps to replicate:
add to /etc/netatalk/AppleVolumes.default
        /data/test "test folder" cnidscheme:dbd
mkdir /data/test
chown nobody.nogroup /data/test
/etc/init.d/netatalk start

Connect from a client (OS X 10.4.2), select "test folder". Client will time out and give the error "Sorry, the operation could not be completed because an unexpected error occurred (Error code -5014)."

On the server, the folder /data/test/.AppleDB and the file /data/ test/:2eDS_Store will _not_ be created as expected (it is created and populated with database files when a CDB backend is specified.) The .AppleDesktop, .AppleDouble, "Network Trash Folder" and "Temporary Items" are created in /data/test, all owned by nobody.nogroup.

In /var/log/syslog:

Jul 24 18:29:12 localhost afpd[23737]: Menno file server:[EMAIL PROTECTED] started on 65280.23:128 (2.0.2) Jul 24 18:29:12 localhost afpd[23737]: ASIP started on 172.20.200.10:548(5) (2.0.2) Jul 24 18:29:12 localhost afpd[23737]: Sucessfully registered afp:// 172.20.200.10/?NAME=Menno%20file%20server&ZONE= with SRVLOC Jul 24 18:29:12 localhost afpd[23737]: uam: loading (/usr/lib/ netatalk/uams_guest.so)
Jul 24 18:29:12 localhost afpd[23737]: uam: uams_guest.so loaded
Jul 24 18:29:12 localhost afpd[23737]: uam: "No User Authent" available
Jul 24 18:42:24 localhost afpd[23765]: ASIP session:548(5) from 172.20.200.20:52936(8)
Jul 24 18:42:24 localhost afpd[23737]: server_child[1] 23765 done
Jul 24 18:42:28 localhost afpd[23766]: ASIP session:548(5) from 172.20.200.20:52937(8)
Jul 24 18:42:28 localhost afpd[23766]: login noauth
Jul 24 18:42:28 localhost afpd[23766]: login nobody (uid 65534, gid 65534) AFP3.1 Jul 24 18:42:30 localhost afpd[23766]: getfd: connect localhost: Connection refused
Jul 24 18:43:00 localhost last message repeated 7 times
Jul 24 18:43:10 localhost last message repeated 2 times
Jul 24 18:43:15 localhost afpd[23766]: afp_openvol(/data/test): Fatal error: Unable to get stamp value from CNID backend
Jul 24 18:43:15 localhost afpd[23766]: logout nobody
Jul 24 18:43:15 localhost afpd[23766]: 0.16KB read, 0.12KB written
Jul 24 18:43:15 localhost afpd[23737]: server_child[1] 23766 done

The system is Debian stable (sarge):
    db4.2-util    4.2.52-18
    libdb4.2       4.2.52-18

menno:~# uname -a
Linux menno 2.6.8-2-k7 #1 Thu May 19 18:03:29 JST 2005 i686 GNU/Linux

glibc-2.3.2.ds1-22

/etc/netatalk/afpd.conf - as installed
/etc/netatalk/AppleVolumes.default - one line added above, homes directory line commented out
/etc/netatalk/AppleVolumes.system - as installed
/etc/netatalk/atalkd.conf - as installed
/etc/netatalk/papd.conf - as installed
/etc/default/netatalk - below

# Appletalk configuration
# Change this to increase the maximum number of clients that can connect:
AFPD_MAX_CLIENTS=50

# Change this to set the machine's atalk name and zone, the latter containing # the '@' sign as first character -- compare with nbp_name(3) if in doubt
#
# NOTE: If Netatalk should register AppleTalk services in the standard zone
#       then you need not to specify a zone name here.
#
#       If your zone has spaces in it, you're better off specifying
#       it in afpd.conf if you realize that your distribution doesn't
#       handle spaces correctly in the startup script. Remember to use
#       quotes here if the zone name contains spaces.
#
#ATALK_ZONE="@some zone"
##ATALK_NAME=`/bin/hostname --short`
ATALK_NAME="Menno file server"

# specify the Mac and unix charsets to be used
ATALK_MAC_CHARSET='MAC_ROMAN'
##ATALK_UNIX_CHARSET='LOCALE'
ATALK_UNIX_CHARSET='UTF8'

# specify this if you don't want guest, clrtxt, and dhx
# available options: uams_guest.so, uams_clrtxt.so, uams_dhx.so,
#                    uams_randnum.so
##AFPD_UAMLIST="-U uams_clrtxt.so,uams_dhx.so"
AFPD_UAMLIST="-U uams_guest.so"

# Change this to set the id of the guest user
AFPD_GUEST=nobody

# Set which daemons to run (papd is dependent upon atalkd):
ATALKD_RUN=yes
##PAPD_RUN=yes
PAPD_RUN=no
CNID_METAD_RUN=yes
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no

# Control whether the daemons are started in the background
ATALK_BGROUND=no

# export the charsets, read form ENV by apps
export ATALK_MAC_CHARSET
export ATALK_UNIX_CHARSET



Thanks,

Tim Miller Dyck


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to