[Samba] Samba 4.1.3 and MS-CLIENT 3

Uwe Nass unass at astro.uni-bonn.de
Tue Jan 14 02:22:16 MST 2014


Jeremy Allison wrote:
> On Fri, Jan 10, 2014 at 08:10:25PM +0100, Günter Kukkukk wrote:
>> Am 10.01.2014 10:51, schrieb Uwe Nass:
>>> Günter Kukkukk wrote:
>>>> Am 02.01.2014 13:32, schrieb Uwe Nass:
>>>>> Hi all,
>>>>>
>>>>>    I have the following problem: I installed Samba 4.1.3
>>>>> on my Linux computer. I tested everything via smbclient
>>>>> and it works. If I connect my MS-DOS Client 3 to this
>>>>> server strange things happens. Using
>>>>>
>>>>>          net use h: \\<sambaserver>\<username>
>>>>>
>>>>> I get the correct (?) answer
>>>>>
>>>>>          H: connected to \\<sambaserver>\<username>
>>>>>
>>>>> But using "H: dir" I get the first line of this directory
>>>>> and it is displayed continually. I can stop this, of course,
>>>>> by ^C. Trying to copy a file from dos to H: gives
>>>>>
>>>>>          Access denied (?) (German: "Zugriff verweigert")
>>>>>
>>>>> what's wrong? My smb.conf file (without the printing stuff) is:
>>>>>
>>>>> [global]
>>>>>           workgroup = ASTRO
>>>>> #      interfaces = 127.0.0.1
>>>>>           lanman auth = Yes
>>>>>           security = user
>>>>>           passdb backend = tdbsam
>>>>>           printing = cups
>>>>>           printcap name = cups
>>>>>           printcap cache time = 750
>>>>>           cups options = raw
>>>>>           map to guest = Bad User
>>>>> #      include = /etc/samba/dhcp.conf
>>>>>           logon path = \\%L\profiles\.msprofile
>>>>>           logon home = \\%L\%U\.9xprofile
>>>>>           logon drive = P:
>>>>>           usershare allow guests = No
>>>>>           wins server =
>>>>>           wins support = No
>>>>> [homes]
>>>>>           comment = Home Directories
>>>>>           path = /home
>>>>>           valid users = %S, %D%w%S
>>>>>           browseable = No
>>>>>           read only = No
>>>>>           inherit acls = Yes
>>>>>           veto files = /aquota.user/groups/shares/
>>>>>           create mask = 0640
>>>>>           directory mask = 0750
>>>>> [profiles]
>>>>>           comment = Network Profiles Service
>>>>>           path = %H
>>>>>           read only = No
>>>>>           store dos attributes = Yes
>>>>>           create mask = 0600
>>>>>           directory mask = 0700
>>>>> [users]
>>>>>           comment = All users
>>>>>           path = /home
>>>>>           read only = No
>>>>>           inherit acls = Yes
>>>>>           veto files = /aquota.user/groups/shares/
>>>>> [groups]
>>>>>           comment = All groups
>>>>>           path = /home/groups
>>>>>           read only = No
>>>>>           inherit acls = Yes
>>>>>
>>>>> I think something is missing, but what?
>>>>>
>>>>> Any help appreciated!
>>>>>
>>>>> Greetings and a happy New Year,
>>>>>
>>>>> Uwe.
>>>> can you confirm that your samba server is running 64Bit?
>>>>
>>>> Months ago a similar behavior was seen, but only on 64Bit systems.
>>>> When running the _same_ samba version on 32Bit, this bug was not seen.
>>>>
>>>> AFAIR, Jeremy fixed this one - was related to legacy SMBsearch (0x81) request.
>>>>
>>>> I'll have a look, could be a regression...
>>>>
>>>> Cheers, Günter
>>>>
>>> Hi Guenter,
>>>
>>>   YES, my samba server is running on a 64Bit system, and YES iI know the
>>> bug report by Christian Gosslar! So, I can only confirm his findings.
>>>
>>> Greetings and a "Happy New Year"
>>>
>>> Uwe
>>>
>> Hi Uwe,
>>
>> thanks for the confirmation.
>>
>> Possibly you already found the link to
>>    https://bugzilla.samba.org/show_bug.cgi?id=9772
>>
>> It's also related to the same problem - but some file system "workarounds"
>> are noted there.
>>
>> Cheers, Günter
>>
>> -- 
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
> Hi Uwe,
>
> Could you test the following patchset ? It should fix
> your problem (it does in my tests here).
>
> Cheers,office
>
> 	Jeremy.
Hi Jeremy,

  as Guenter told you already, your patch seems to fix the problem.
So could you PLEASE incorporate this patch in the next Samba release
(4.1.5 (?))!!!!

Thanks a lot for your help,

Uwe.


More information about the samba mailing list