rfc2307 with winbind?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have centos 6.9 working this way but I was trying to get fedora27
working with the same smb.conf file I used for centos 6.9 and ubuntu
16.04.

authconfig --updateall --smbrealm ${SUBDOMAIN}.${DOMAIN} --krb5realm
${SUBDOMAIN}.${DOMAIN} --enablewinbindauth --enablewinbind
--enablecache --enablewinbindkrb5 --enablewinbindoffline
cp domain.smb.conf /etc/samba/smb.conf

restart smbd
restart winbind

[root@fedora27 ~]# cat /etc/samba/smb.conf| sed
"s/${SUBDOMAIN}/SUBDOMAIN/g" | sed "s/${DOMAIN}/DOMAIN/g"
[global]
   security = ads
   realm = SUBDOMAIN.DOMAIN
   workgroup = SUBDOMAIN
   idmap config * : backend = tdb
   idmap config * : range = 2000-7999
   idmap config SUBDOMAIN:backend = ad
   idmap config SUBDOMAIN:schema_mode = rfc2307
   idmap config SUBDOMAIN:range = 8000-9999999
   winbind nss info = rfc2307
   winbind use default domain = yes
   # so that the users show up in getent
   winbind enum users = yes
   # so that the groups show up in getent
   winbind enum groups = yes
   restrict anonymous = 2
   #added the following 2 for the Badlock updates that change the defaults
   #to no longer work with my domain controllers
   ldap server require strong auth = no
   client ldap sasl wrapping = plain

Expected result:
root@ubuntu16:~# getent passwd jefftest
jefftest:*:11507:8004:Jeff Test:/nfsmount/jefftest:/bin/bash

Fedora27 result:
[root@fedora27 ~]# getent passwd jefftest
jefftest:*:11507:8513::/home/SUBDOMAIN/jefftest:/bin/false
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux