Iam using netatalk 2.x on a Debian 3 Linux. When Iam creating a afp-share on
a normal directory (like /tmp) everything looks fine and the user from one
mac os x 10.2.8 Client can connect to the share and write and read data. Now
I have mount a windows server 2003 share on the linux machine with cifs.
Also that works fine and I can insert, delete and update files on this
share, when Iam on the linux machine. Now I want to create a share with
netatalk on the mounted share to windows (for example I have mounted
/media/data with cifs to \\windows2003servername\data and now I want to
access the mac os x clients to that share). The share can be connected on
the macs and I can see all files and folders - I can even create new folders
and go throw the folders- , but when Iam try to open or copy a file, an
error (By opening the file an error occoured Macintosh System
Error-50 -Translated from german-) is displayed on the mac side. In
/var/log/syslog on the linux side stands: afpd[3992]:
afp_openfork(test.pdf): ad_lock: Eingabe-/Ausgabefehler (in english:
Input-/Outputerror).
The syslog by starting und using the server is:
Nov 15 10:54:46 testserver01 papd[3978]: restart (2.0.2)
Nov 15 10:54:46 testserver01 papd[3978]: CUPS support enabled (1.1)
Nov 15 10:54:46 testserver01 afpd[3980]: Registering CNID module [last]
Nov 15 10:54:46 testserver01 afpd[3980]: Registering CNID module [cdb]
Nov 15 10:54:46 testserver01 afpd[3980]: Registering CNID module [dbd]
Nov 15 10:54:46 testserver01 afpd[3980]: Loading ConfigFile
Nov 15 10:54:52 testserver01 afpd[3980]: testserver01:AFPServer@* started on
65280.237:128 (2.0.2)
Nov 15 10:54:52 testserver01 afpd[3980]: ASIP started on 10.1.1.53:548(6)
(2.0.2)
Nov 15 10:54:52 testserver01 afpd[3980]: DSIConfigInit: Error registering
afp://10.1.1.53/?NAME=testserver01&ZONE= with SRVLOC
Nov 15 10:54:52 testserver01 afpd[3980]: uam: loading
(/usr/lib/netatalk/uams_dhx.so)
Nov 15 10:54:52 testserver01 afpd[3980]: uam: uam not found (status=-1)
Nov 15 10:54:52 testserver01 afpd[3980]: uam: loading
(/usr/lib/netatalk/uams_clrtxt.so)
Nov 15 10:54:52 testserver01 afpd[3980]: uam: uams_clrtxt.so loaded
Nov 15 10:54:52 testserver01 afpd[3980]: uam: loading
(/usr/lib/netatalk/uams_randnum.so)
Nov 15 10:54:52 testserver01 afpd[3980]: uam: uam not found (status=-1)
Nov 15 10:54:52 testserver01 afpd[3980]: uam: "Cleartxt Passwrd" available
Nov 15 10:54:52 testserver01 afpd[3980]: Finished parsing Config File
Nov 15 10:55:01 testserver01 /USR/SBIN/CRON[3985]: (root) CMD
(/usr/sbin/ntpdate 10.1.1.1 >/dev/null 2>&1)
Nov 15 10:55:39 testserver01 afpd[3990]: ASIP session:548(6) from
10.1.5.250:49188(8)
Nov 15 10:55:39 testserver01 afpd[3980]: server_child[1] 3990 done
Nov 15 10:55:44 testserver01 afpd[3992]: ASIP session:548(6) from
10.1.5.250:49189(8)
Nov 15 10:55:44 testserver01 afpd[3992]: cleartext login: marketing
Nov 15 10:55:44 testserver01 afpd[3992]: login marketing (uid 1002, gid
1002) AFP3.1
Nov 15 10:55:44 testserver01 afpd[3992]: Warning: No CNID scheme for volume
/tmp/. Using default.
Nov 15 10:55:44 testserver01 afpd[3992]: Setting uid/gid to 0/0
Nov 15 10:55:44 testserver01 afpd[3992]: CNID DB initialized using Sleepycat
Software: Berkeley DB 4.2.52: (December 3, 2003)
Nov 15 10:55:45 testserver01 cnid_dbd[3993]: Setting uid/gid to 0/0
Nov 15 10:55:45 testserver01 cnid_dbd[3993]: Startup, DB dir
/var/netatalk/.AppleDB
Nov 15 10:55:55 testserver01 afpd[3992]: getquota: special
/media/macserveripvolume/Bilder/ fails
Nov 15 10:55:55 testserver01 afpd[3992]: ipc_write: command: 2, pid: 3992,
msglen: 24
Nov 15 10:55:55 testserver01 afpd[3980]: ipc_read: command: 2, pid: 3992,
len: 24
Nov 15 10:55:55 testserver01 afpd[3980]: Setting clientid (len 16) for 3992,
boottime 5BC75A45
Nov 15 10:55:55 testserver01 afpd[3980]: ipc_get_session: len: 24, idlen 16,
time 5bc75a45
Nov 15 10:56:01 testserver01 /USR/SBIN/CRON[3998]: (root) CMD
(/usr/sbin/ntpdate 10.1.1.1 >/dev/null 2>&1)
Nov 15 10:56:38 testserver01 afpd[3992]: afp_openfork(testfile.pdf):
ad_lock: Eingabe-/Ausgabefehler
Nov 15 10:56:58 testserver01 last message repeated 4 times
The Config-Files are untached. Only in the AppleVolumes.default the
following line is from me:
/media/macserveripvolume/Bilder/ "MacServerBilder" cnidscheme:dbd
dbpath:/var/netatalk
The Samba Share is mounted with the following:
mount -t cifs -o
username=marketing,password=test12,uid=marketing,gid=0,dir_mode=0777,file_mo
de=0666,rw /
/windows2003server/macserveripvolume /media/macserveripvolume/
All folders have 777 and all files have 666 rights.
Does anyone has any answer or tip why the Mac User has not the needed rights
on the cifs shares?
Thanks for all answers.
> Iam using netatalk 2.x on a Debian 3 Linux. When Iam creating a afp-share on
> a normal directory (like /tmp) everything looks fine and the user from one
> mac os x 10.2.8 Client can connect to the share and write and read data. Now
> I have mount a windows server 2003 share on the linux machine with cifs.
(snip)
Just wondering, why not use NFS which tends to fit better with unix
systems, though it works fine with others, too.
Appletalk was fine in the pre-unix MacOS days.
-- glen