[Samba] issues with cifs mount
Thierry Lacoste
lacoste at univ-paris12.fr
Sat Jun 10 07:19:42 GMT 2006
I have a samba 3.0.14a PDC on FreeBSD 6.0-RELEASE.
With pam_mount on Ubuntu 5.10 users have their home
mounted with mount.cifs.
I have 2 issues with this setting.
First with the evolution email client, when I pop my mails
I have the following error:
Cannot append message to mbox
file: /home/profs/user1/.evolution/mail/local/Inbox: Permission denied
The log.smbd shows:
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/Inbox read=Yes write=Yes
(numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/InboxizR3Ga read=Yes write=Yes
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/InboxizR3Ga (numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/InboxizR3Ga read=Yes write=No
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/InboxizR3Ga (numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/.#Inbox.cmeta read=Yes write=Yes
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/.#Inbox.cmeta (numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/.#Inbox.cmeta read=Yes write=No
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/.#Inbox.cmeta (numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/Inbox.cmeta read=Yes write=No
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/Inbox.cmeta (numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/.#Inbox.cmeta read=Yes write=No
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/.#Inbox.cmeta (numopen=10)
[2006/06/10 08:25:33, 2] smbd/open.c:open_file(245)
user1 opened file .evolution/mail/local/Inbox.lock read=Yes write=No
(numopen=11)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/Inbox.lock (numopen=10)
[2006/06/10 08:25:33, 2] smbd/close.c:close_normal_file(272)
user1 closed file .evolution/mail/local/Inbox (numopen=9)
I checked the permissions on .evolution/mail/local/ which appear to be OK.
I have no problem with evolution if my home is on the local filesystem.
The second issue is about KDE applications.
For instance when running kmail from a terminal I have an endless series of
WARNING: Problem deleting stale
lockfile /home/profs/user1/.kde/share/config/kconf_updaterc.lock
The log.smbd shows:
[2006/06/10 08:47:19, 2] smbd/open.c:open_file(245)
user1 opened file .kde/share/config/kconf_updaterc.lock6GU7Wb.tmp read=Yes
write=Yes (numopen=6)
[2006/06/10 08:47:19, 2] smbd/close.c:close_normal_file(272)
user1 closed file .kde/share/config/kconf_updaterc.lock6GU7Wb.tmp
(numopen=5)
[2006/06/10 08:47:19, 2] smbd/open.c:open_file(245)
user1 opened file .kde/share/config/kconf_updaterc.lock6GU7Wb.tmp read=Yes
write=No (numopen=6)
[2006/06/10 08:47:19, 2] smbd/close.c:close_normal_file(272)
user1 closed file .kde/share/config/kconf_updaterc.lock6GU7Wb.tmp
(numopen=5)
I have exactly the same issues with samba 3.0.21b on FreeBSD 6.1.
Any help would be appreciated.
Regards,
Thierry.
More information about the samba
mailing list