NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

cs_giuseppe's avatar
cs_giuseppe
Apprentice
May 25, 2017
Solved

Change Samba idmap with AD

Hi

 

I have a nas that was installed long ago with a firmware pre 6.5 and then upgraded to the last, with this nas the idmap with ad is different that one started with a recent firmware.

It's possible change the way idmap work to the same automatic behaviour like in the new firmware, having in smb.conf from idmap config * : backend = tdb to idmap config * : backend = rid?

smb.conf is autogenerated so it cannon be modifiied

 

Thanks

 

  • Hi,

     

    SOLVED !!!

     

    here the step

     

    • Switch from AD to Local users. 
    • NEW - Disabled samba in each share
    • Wipe the permissions under File access tab / reset of each shares settings section.
    • Edit /etc/samba/smb.conf to replace tdb by: rid
    • Execute: net cache flush
    • NEW - Reboot
    • Join AD with "trusted domain" unchecked.

    After these steps now idmap use rid.

     

    Thank for all suggestions

     

     

9 Replies

Replies have been turned off for this discussion
    • cs_giuseppe's avatar
      cs_giuseppe
      Apprentice

      Hi jak0lantash,

       

      thank for the suggestion

       

      made:

       

      • Switch from AD to Local users - done
      • Set file owner to guest and group owner to guest - done
      • Wipe the permissions under File access tab / reset of each shares settings section. - done
      • Deleted the nas account on domain - done
      • Join AD with "trusted domain" unchecked. - done
      • Check smb.conf that it's using rid instead of tdb. - NO, still  idmap config * : backend = tdb

       

      I

      • jak0lantash's avatar
        jak0lantash
        Mentor

        cs_giuseppe wrote:
        • Check smb.conf that it's using rid instead of tdb. - NO, still  idmap config * : backend = tdb

         I wish this would behave differently...

         

        Try to edit smb.conf to replace tdb by: rid

        Then: net cache flush

        Then start the steps again. If you get to rid, the mapping table should be calculated consistently across both devices.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More