Bug 10329 - can not substitute %H in path option
can not substitute %H in path option
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
4.1.2
x64 Linux
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-16 13:23 UTC by Andy Igoshin
Modified: 2014-01-15 09:21 UTC (History)
0 users

See Also:


Attachments
fix for this big (889 bytes, patch)
2013-12-17 20:25 UTC, Andy Igoshin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Igoshin 2013-12-16 13:23:58 UTC
[Profiles]
    path = %H/.winprofile
    read only = no


log.smbd

[2013/12/14 19:17:32,  0] ../source3/smbd/server.c:1198(main)
  smbd version 4.1.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/16 17:08:40.910796,  0] ../source3/smbd/service.c:784(make_connection_snum)
  canonicalize_connect_path failed for service Profiles, path /%H/.winprofile
[2013/12/16 17:08:40.913612,  0] ../source3/smbd/service.c:784(make_connection_snum)
  canonicalize_connect_path failed for service Profiles, path /%H/.winprofile
[2013/12/16 17:08:40.916992,  0] ../source3/smbd/service.c:784(make_connection_snum)
  canonicalize_connect_path failed for service Profiles, path /%H/.winprofile
[2013/12/16 17:08:40.919514,  0] ../source3/smbd/service.c:784(make_connection_snum)
  canonicalize_connect_path failed for service Profiles, path /%H/.winprofile
Comment 1 Andy Igoshin 2013-12-17 20:25:42 UTC
Created attachment 9530 [details]
fix for this big

should work but i could not test since i could not build samba with this patch.

i tried to add USER_UTIL deps to the places where they should be. if i add these deps to smbconf library then build system detects loop in deps.

so may be samba developers will fixed this issue themselfs?
Comment 2 Andy Igoshin 2013-12-17 20:27:29 UTC
(In reply to comment #1)
> Created attachment 9530 [details]
> fix for this big

bug
Comment 3 Rene van Schijndel 2014-01-15 09:21:36 UTC
This bug still exist in 4.1.14

[2014/01/15 10:10:19.395396,  0] ../source3/smbd/service.c:784(make_connection_snum)
  canonicalize_connect_path failed for service hyperlinks$, path /%H/.hyperlinks