[Samba] error with rd /s in windows 2000 shell

Thomas Sondag thomas at microdop.org
Thu Aug 18 09:45:55 GMT 2005


Jeremy Allison a écrit :

>On Wed, Aug 17, 2005 at 06:12:48PM +0200, Thomas Sondag wrote:
>  
>
>>So I build a freshly svn checkout of the SAMBA_3_0_RELEASE tree with the
>>/debian directory package source files of the current (sarge / 
>>3.0.14a-3) version (with lot of hunk problems with the debian patch)
>>
>>That doesn't solve the problem.
>>
>>This a reproductible bug, I try it with different win2000 stations and
>>sarge/samba servers.
>>
>>I'll try to rebuild the samba debian package without the debian patch,
>>but I'm not sure to have the time to do it before this week end.
>>    
>>
>
>If you're not building with the source we ship then we can't predict
>what the problems will be. Why does Debian have a set of specific
>patches ? If they work, they should be in the main tree. If they
>don't, they shouldn't be in the build at all.
>
>Jeremy.
>  
>
Ok I re-build all with a basic autogen, configure, make.

--prefix=/usr --sysconfdir=/etc --libdir=/etc/samba
--with-privatedir=/etc/samba --with-piddir=/var/run/samba
--localstatedir=/var --with-ldap


But it still not working :(

no special files in my test dir (just empty text files)

the end of the log file with the error :
/usr/sbin/smbd -i -S -d 4
[....]

Transaction 476 of length 76
switch message SMBtrans2 (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1035
call_trans2qfilepathinfo test/Copie (91) de test.txt (fnum = 9829)
level=1035 call=7 total_data=0
Transaction 477 of length 81
switch message SMBtrans2 (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
call_trans2setfilepathinfo(8) test/Copie (91) de test.txt (fnum 9829)
info_level=1013 totdata=1
Transaction 478 of length 45
switch message SMBclose (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
close fd=-1 fnum=9829 (numopen=2)
thomas.sondag closed file test/Copie (91) de test.txt (numopen=1)
Transaction 479 of length 130
switch message SMBtrans2 (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
call_trans2findnext: dirhandle = 256, max_data_bytes = 16384, maxentries
= 1366, close_after_request=0, close_if_end = 2 requires_resume_key = 4
resume_key = 0 resume name = Copie (91) de test.txt continue=0 level = 260
fetching dirptr 256 for path test
dptr_num is 256, mask = *, attr = 16, dirptr=(0x8335CE0,1604867840)
closing dptr key 256
SMBtrans2 mask=* directory=test dirtype=22 numentries=0
Transaction 480 of length 90
switch message SMBtrans2 (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
call_trans2qfilepathinfo test (fnum = -1) level=1004 call=5 total_data=0
Transaction 481 of length 90
switch message SMBtrans2 (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1035
call_trans2qfilepathinfo test (fnum = -1) level=1035 call=5 total_data=0
Transaction 482 of length 52
switch message SMBrmdir (pid 10013) conn 0x8401bb0
change_to_user: Skipping user change - already user
fetch sid from uid cache 1037 ->
S-1-5-21-3777391135-2178167557-3978351487-3074
fetch sid from gid cache 100 ->
S-1-5-21-3777391135-2178167557-3978351487-1201
se_access_check: user sid is S-1-5-21-3777391135-2178167557-3978351487-3074
se_access_check: also S-1-5-21-3777391135-2178167557-3978351487-1201
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
rmdir_internals: couldn't remove directory test : Fonction non implantée
unix_error_packet: error string = Fonction non implantée
error packet at smbd/trans2.c(2593) cmd=1 (SMBrmdir)
NT_STATUS_OBJECT_PATH_NOT_FOUND


My smb.conf :

[global]

## Browsing/Identification ###
   workgroup = cnerta-interne
   netbios name = linux-thomas
   server string = %h server (Samba %v)
   wins support = no
   dns proxy = no


#### Debugging/Accounting ####
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

   security = share
   encrypt passwords = true

   guest account = nobody
   invalid users = root

   dos charset   = CP850
   domain master = no
   domain logons = no
   local master = no


[homes]
   comment = Mon répertoire personnel
   browseable = no
   writable = yes
   create mask = 0640
   directory mask = 0750
   hide unreadable = yes



Does something's else could help  ?

  Thomas.



More information about the samba mailing list