saltstack-formulas / samba-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
16 stars 72 forks source link

smb.service ERROR: failed to setup guest info #59

Open noelmcloughlin opened 5 years ago

noelmcloughlin commented 5 years ago

CentOS issue: https://bugzilla.redhat.com/show_bug.cgi?id=1648399 = Fix your configuration

noelmcloughlin commented 5 years ago

Ubuntu issue too: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899269 has bug-fix:

noelmcloughlin commented 5 years ago

Maybe this suggestion is better default-

    idmap config *:backend = tdb
    idmap config *:range = 3000-7999
    idmap config {{ default_workgroup }} : backend = rid
    idmap config {{ default_workgroup }} : range = 10000-999999

Or this suggestion-

    idmap config *:backend = tdb
    idmap config *:range = 3000-7999
    idmap config {{ default_workgroup }} : backend = ad
    idmap config {{ default_workgroup }} : range = 10000-999999
noelmcloughlin commented 5 years ago

@spirritus do you have suggestions on this?

spirritus commented 5 years ago

We use this: idmap config : backend = tdb idmap config : range = 1000000 - 2000000

idmap config {{ default_workgroup }}: backend = rid idmap config {{ default_workgroup }}: range = 100000 - 200000

I have no experience with backend = ad.