rehanone / puppet-samba

Apache License 2.0
5 stars 8 forks source link

Winbind options? #60

Open simpz opened 1 month ago

simpz commented 1 month ago

In order to fully use Samba at our site and pretty much any enterprise site (with connections to Active Directory), you are likely to want to run Winbind. But it doesn't seem this module supports winbind options in the smb.conf file? Or am I missing something or a related module that can do this in tandem with this one?

winbind refresh tickets = yes

winbind enum users = yes

winbind enum groups = yes

winbind nss info = rfc2307

winbind nested groups = Yes

winbind use default domain = no
dadez73 commented 3 weeks ago

Hi, you can use the following... samba::additional_config: winbind_use_default_domain: false winbind_refresh_tickets: true winbind_offline_logon: true winbind_enum_groups: false winbind_enum_users: false

and the entries are dynamically added to the smb file.

simpz commented 2 weeks ago

Thanks that works to add this additional config lines.