AIX Open Source

 View Only
  • 1.  Samba winbind separator

    Posted Thu February 09, 2023 04:11 AM

    Hello team,

    Would you please advise  with following thing,  I have following behavior with samba 4.16.x installed on AIX 7.2, when i specified into the smb.conf following line

    winbind separator = \

    so in the theory is equal with default 
    wbinfo -u shows:

    DOMAIN
    DOMAIN
    ...

    after comment out mentioned line into the smb.conf
    wbinfo -u shows

    DOMAIN\domuser1
    DOMAIN\domuser2
    ...

    Thank you.

    Slawek



    ------------------------------
    Slawomir Ksiazek
    ------------------------------


  • 2.  RE: Samba winbind separator

    Posted Thu February 09, 2023 06:02 AM
    Edited by Samba Support SerNet Thu February 09, 2023 06:03 AM

    Hi,

    you should use two backslashes. Backslash is used for escaping otherwise.



    ------------------------------
    --
    Samba Support: https://samba.plus
    SAMBA+ for AIX: https://samba.plus/samba-aix
    phone: +49-551-370000-0
    mailto:samba@sernet.de
    ------------------------------



  • 3.  RE: Samba winbind separator

    Posted Thu February 09, 2023 07:00 AM

    Hello,

    Unfortunately the same when i use two backslashes,

    winbind separator = \\

    additionally testparm shows

    ...

    ERROR: the 'winbind separator' parameter must be a single character.

    ...

    Kind Regards



    ------------------------------
    Slawomir Ksiazek
    ------------------------------



  • 4.  RE: Samba winbind separator

    Posted Thu February 09, 2023 08:15 AM

    did you restart winbind? I just tested this with our current sambaplus 4.17.5 and this works with two backslashes here. Testparm complains however, yes. You might want to file this to bugzilla samba.org or contact a company offering commercial Samba support (like us) to fix this if you need this addressed urgently.



    ------------------------------
    --
    Samba Support: https://samba.plus
    SAMBA+ for AIX: https://samba.plus/samba-aix
    phone: +1 415 248-7818
    mailto:samba@sernet.de
    ------------------------------



  • 5.  RE: Samba winbind separator

    Posted Fri February 10, 2023 05:57 AM

    but you know that \ is the default winbind separator and that you could also simply remove that parameter to use the (default) backslash separator also. But as mentioned, if you need for some reason the explicit setting of the default value to get fixed, feel free to contact us.



    ------------------------------
    --
    Samba Support: https://samba.plus
    SAMBA+ for AIX: https://samba.plus/samba-aix
    phone: +1 415 248-7818
    mailto:samba@sernet.de
    ------------------------------