samba-TNG smbd crashing

Luke Kenneth Casson Leighton lkcl at samba.org
Wed Apr 12 02:19:23 GMT 2000


On Tue, 11 Apr 2000, Tom Crummey wrote:

> Hello Luke,
> 
> TNG: cvs update 1200BST 11/04/00 Sparc 64 Solaris 2.7 
> MAIN: cvs co 1400BST 11/04/00 Sparc 64 Solaris 2.7
> 
> 
> I've got samba-MAIN running. It gives exactly the same problem with 
> profile loading as TNG.

good.
 
> It doesn't make sense to me as the profile share is local to the samba
> server machine, so if smbd were running as root, it could access the
> file and if it were running as the user, it should still ba able to
> access the file. Any clues??

no, but i will run it by andrew.  if we can't repro it here, we may need
your entire profile directory :)
 
> You'll may be pleased to know that neither TNG or MAIN have crashed
> on me today.
> 
> I should also be able to produce core files from tomorrow onwards if
> it does crash again. Also, I could reinstal the crashing version and
> get you a stack trace from it if you want.

that's ok, that was last decade's code...

> Extract from log file of MAIN:
> 
> [000] 5C 74 6F 6D 5C 41 70 70  6C 69 63 61 74 69 6F 6E  \tom\App lication
> [010] 20 44 61 74 61 5C 49 64  65 6E 74 69 74 69 65 73   Data\Id entities
> [020] 5C 7B 44 41 33 32 44 41  35 42 2D 36 35 33 39 2D  \{DA32DA 5B-6539-
> [030] 34 30 45 36 2D 39 39 32  31 2D 45 38 31 37 30 42  40E6-992 1-E8170B
> [040] 43 30 46 30 42 42 7D 00                           C0F0BB}. 
> switch message SMBntcreateX (pid 1533)
> Skipping become_user - already user
> map_create_disposition: Mapped create_disposition 1 to 1
> get_filename: data_offset = 87, data_len = 72, fname_len = 72
> map_share_mode: Mapped desired access 20089, share access 3, file attributes 0 
> to open_mode 40
> unix_convert called on file "\tom\Application 
> Data\Identities\{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}"
> unix_clean_name [/tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}]
> Checking {DA32DA5B-6539-40E6-9921-E8170BC0F0BB} for 8.3
> allocated file structure 915, fnum = 5011 (1 used)
> open_file_shared: fname = tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}, share_mode = 40, ofun = 
> 1, mode = 744, oplock request = 3
> is_in_path: tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}
> is_in_path: no name list.
> unix_clean_name [tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}]
> calling open_file with flags=0x0 flags2=0x0 mode=0744
> tom opened file tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB} read=Yes write=No 
> (numopen=1)
> is_in_path: tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}
> is_in_path: no name list.
> set_file_oplock: granted oplock on file tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}, dev = 2200007, inode = 
> 781572, tv_sec = 38f33b5c, tv_usec = 73a92
> dos_mode: tom/Application Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}
> is_in_path: tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB}
> is_in_path: no name list.
> dos_mode returning d
> tom closed file tom/Application 
> Data/Identities/{DA32DA5B-6539-40E6-9921-E8170BC0F0BB} (numopen=0) 
> freed files structure 5011 (0 used)
> error packet at line 895 cmd=162 (SMBntcreateX) eclass=1 ecode=5
> error string = Not owner
> size=35
> smb_com=0xa2
> smb_rcls=1
> smb_reh=0
> smb_err=5
> smb_flg=136
> smb_flg2=1
> smb_tid=1
> smb_pid=204
> smb_uid=102
> smb_mid=45763
> smt_wct=0
> smb_bcc=0
> write_socket(7,39)
> write_socket(7,39) wrote 39
> 
> ls -al of file in question:
> 
> drwxr-xr-x   2 tom      staff        512 Mar  6 17:56 
> {DA32DA5B-6539-40E6-9921-E8170BC0F0BB}/
> 
> extract from smb.conf
> 
>         logon script = %a.exe
>         logon drive = m:
>         logon home = \\sonic\homes
>         logon path = \\sonic\profile\%username%
> [profile]
>         comment = User Profiles
>         path = /opt/samba-MAIN/profile
>         writeable = yes
> 
> Tom.
> 
> ----------------------------------------------------------------------------
>  Tom Crummey, Systems and Network Manager,      EMAIL: tom at ee.ucl.ac.uk
>  Department of Electronic and Electrical Engineering,                  
>  University College London,                       TEL: +44 (0)20 7679 3898    
>  Torrington Place,                                FAX: +44 (0)20 7388 9325
>  London, UK, WC1E 7JE.                         
> ----------------------------------------------------------------------------
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list