Bug 4532 - smbd bug: path smb://comp/share/dir1/share/dir2 refer to smb://comp/share/dir2
smbd bug: path smb://comp/share/dir1/share/dir2 refer to smb://comp/share/dir2
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.24
Other Linux
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-23 09:01 UTC by Mikhail Kshevetskiy
Modified: 2007-04-27 05:45 UTC (History)
0 users

See Also:


Attachments
override (35 bytes, text/plain)
2007-04-27 05:45 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kshevetskiy 2007-04-23 09:01:11 UTC
any request to samba-server like smb://comp/share/dir/share/path refer to smb://comp/share/path. See the sample to understand the problem

1) try to create 'test' and 'test/test' subdirs on smb://laska/bbs

   smbclient -N //laska/bbs -c 'mkdir test'
   smbclient -N //laska/bbs -c 'mkdir test\test'

   result: OK

2) try to create 'test/bbs' subdir on smb://laska/bbs

   smbclient -N //laska/bbs -c 'mkdir test\bbs'
   Anonymous login successful
   Domain=[NT] OS=[Unix] Server=[Samba 3.0.24]
   NT_STATUS_OBJECT_NAME_COLLISION making remote directory \test\bbs
   
   result: ERROR, no directory was created

3) create 'test/bbs' subdir on smb://laska/bbs  via ssh

4) try to create 'test/bbs/test1' subdir on smb://laska/bbs

   smbclient -N //laska/bbs -c 'mkdir test\bbs\test1'

   result: ERROR, the smb://laska/bbs/test1 was created instead of
                      smb://laska/bbs/test/bbs/test1
Comment 1 SPAMMER 2007-04-27 05:42:39 UTC
Created attachment 2450
Comment 2 Volker Lendecke 2007-04-27 05:45:52 UTC
Created attachment 2454 [details]
override

override spam attachement