NFS + samba + Microsoft Office... More info...

Christian Barth barth at cck.uni-kl.de
Tue Sep 25 11:17:03 GMT 2001


> 
> Some more information..
> 
> I raised the log level and find something that don't make sense to me...
> 
> When I have my home share from smbserver-stud I get the following error:
> 
> [2001/09/25 18:18:01, 3] smbd/vfs.c:vfs_ChDir(643)
>   vfs_ChDir to /home/mentos/staff/pc
> [2001/09/25 18:18:01, 3] smbd/vfs.c:reduce_name(913)
>   reduced to doc/Bankomaten.doc
> [2001/09/25 18:18:01, 2] smbd/open.c:check_share_mode(426)
>   Share violation on file (1,4,2,25515,doc/Bankomaten.doc,fcbopen = 0,
> flags = 0) = 0
> [2001/09/25 18:18:01, 2] smbd/open.c:open_file(216)
>   PC opened file doc/Bankomaten.doc read=Yes write=No (numopen=1)
> [2001/09/25 18:18:01, 3] smbd/error.c:error_packet(123)
>   error string = Not owner
> [2001/09/25 18:18:01, 3] smbd/error.c:error_packet(141)
>   error packet at line 1706 cmd=45 (SMBopenX) eclass=1 ecode=32
> [2001/09/25 18:18:01, 3] smbd/process.c:process_smb(837)
>   Transaction 158 of length 87
> [2001/09/25 18:18:01, 3] smbd/process.c:switch_message(650)
>   switch message SMBtrans2 (pid 17520)
> [2001/09/25 18:18:01, 3] smbd/trans2.c:call_trans2findfirst(673)
>   call_trans2findfirst: dirtype = 22, maxentries = 6, close_after_first=0,
> close_if_end = 0 requires_resume_key = 0 level = 260, max_data_bytes =
> 2432
> [2001/09/25 18:18:01, 3] lib/util.c:unix_clean_name(403)
> 
> This error string:
> error string = not owner
> 
> I am the owner and samba can authenticate me....
> We are using NIS+, but for samba we are using smbpasswd.
> Could there be a problem that the teachers is in another NIS+domain?

I don't get this NIS+ situation in my mind. But it can be a problem: 
smbpasswd is only for "passwort information" you need "account 
information" for the theachers as well. And this comes from NIS+. Can 
the theachers log into the studens server with telnet or similar? Any 
way, this would unlikely lead to a Office specific problem.

> We have the NIS+domain for the students to do a lookup in the NIS+domain
> for the teachers so the teachers can log on to machines in NIS+domain for
> students.
> 
> 
>  
> ------------------------------------------------------
> Patrik Carlsson			Högskolan i Gävle
> Driftsansvarig, IT-enheten	Kungsbäcksvägen 47
> 026-64 85 00, 070-329 88 25	801 76 Gävle
> Patrik.Carlsson at hig.se
> ------------------------------------------------------
> 
> On Tue, 25 Sep 2001, Patrik Carlsson wrote:
> 
> > Hi there...
> > 
> > We have two samba-servers on different nets..
> > One for the students and one for the teachers..
> > 
> > When teachers is in computerlabs they can logon with their
> > usernames and map up disks.
> > They have their home-directory on the server for teachers (called
> > smbserver-teach)
> > The computerlabs is set up to map homedirectories from the other server
> > (called smbserver-stud)
> > And smbserver-stud have the teachers homes NFS-mounted from
> > smbserver-teach, so the teachers can map their homes even in the
> > computerlabs.
> > 
> > But when the teachers try to open a Microsoft-file (Word, Excel..) from
> > their home-directory it's not possible to open their files... 
> > But when they are back on their own computers which is on the same
> > net as smbserver-teach and map from that server it is no problem...
> > It's possible to open other files as *.jpg or *.txt it's only
> > Microsoft Office-files which have this problem....
> > We figured that this is some problem with sharing files which are
> > NFS-mounted... Could it be so?
> > 
> > We are using samba 2.2.1a on both samba-servers and the OS is Solaris 7...
> > We hade to turn off everything with oplocks to get 2.2.1a to work under
> > Solaris. 
set locking = no in smb.conf. mount the NFS-mount with nolock, 
restart samba and try again. It may be a looking Problem. We have 
these sometimes over NFS too.

Christian


> > 
> > Thanks In Advance
> > 
> > Patrik Carlsson
> > 
> > ------------------------------------------------------
> > Patrik Carlsson			Högskolan i Gävle
> > Driftsansvarig, IT-enheten	Kungsbäcksvägen 47
> > 026-64 85 00, 070-329 88 25	801 76 Gävle
> > Patrik.Carlsson at hig.se
> > ------------------------------------------------------
> > 
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list