Wiki source for SambaSetup
======Samba Setup======
>>{{{toc levels="h2,h3,h4"}}}>>Samba
====Related Packages====
Kerberos
Ldap
FreeIPA
====Internal Links====
http://wiki.votesmart.org/BriansNotes#hn_Dealing_with_The_join_operation_was_not_successful_error_when_attempting_to_join_Vista_domain_to_samba_DC
http://wiki.votesmart.org/SingleSignOn
http://wiki.votesmart.org/SingleSignOn%28FreeIPA%29
http://wiki.votesmart.org/AdminSamba\\
====External Links====
Samba Management and Administration
https://wiki.samba.org/index.php/Installing_RSAT
http://www.webmin.com/
Samba Migration
~- http://doxfer.webmin.com/Webmin/Webmin_Configuration#IP_Access_Control
~- https://wiki.samba.org/index.php/Main_Page
~- http://opentodo.net/2013/01/samba4-as-ad-domain-controller-on-centos-6/
~- https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
====Workstation Configuration====
Vista
\etc\hosts currently has no entry for domain
192.168.255.30 poprocks.votesmart.org poprocks
192.168.255.25 pez.votesmart.org poprocks
====Server Configuration====
||Server||Samba Version||IP||
||Poprocks||4.1.17||30||
||Pez||3.6.6||25||
Poprocks resolv.conf
<<
domain votesmart.org
search votesmart.org
nameserver 12.0.0.1
nameserver 192.168.255.30
<<::c::
Pez resolv.conf
<<
domain votesmart.org
search votesmart.org
nameserver 192.168.255.30
<<::c::
Poprocks /etc/krb5.conf configured correctly
Poprocks /etc/sysconfig/network
<<
NISDOMAIN=votesmart.org
<<::c::
Poprocks /etc/sysconfig/selinux
<<
SELINUXTYPE=targeted
<<::c::
Poprocks samba build
<<
Build environment:
Built by: mockbuild@buildhw-10.phx2.fedoraproject.org
Built on: Mon Feb 23 13:36:14 UTC 2015
Built using: /usr/bin/gcc
Build host: Linux buildhw-10.phx2.fedoraproject.org 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
SRCDIR: /builddir/build/BUILD/samba-4.1.17/source3
BUILDDIR: /builddir/build/BUILD/samba-4.1.17/source3
Paths:
SBINDIR: /usr/sbin
BINDIR: /usr/bin
CONFIGFILE: /etc/samba/smb.conf
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /etc/samba/lmhosts
LIBDIR: /usr/lib64
MODULESDIR: /usr/lib64/samba
SHLIBEXT: so
LOCKDIR: /var/lib/samba
STATEDIR: /var/lib/samba
CACHEDIR: /var/lib/samba
PIDDIR: /run
SMB_PASSWD_FILE: /var/lib/samba/private/smbpasswd
PRIVATE_DIR: /var/lib/samba/private
Builtin modules:
vfs_posixacl auth_sam auth_winbind auth_domain auth_builtin vfs_default nss_info_template idmap_tdb idmap_passdb idmap_nss idmap_ldap
<<::c::
Registry Entries for NTv4 style domain found at https://wiki.samba.org/index.php/Required_settings_for_NT4-style_domains
<<
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
"DomainCompatibilityMode"=dword:00000001
"DNSNameResolutionRequired"=dword:00000000
<<::c::
===Roaming Profiles and folder redirection===
Unassign 'logon path =' and 'logon home =' in smb.conf to disable roaming profiles
====Active Directory Support & Migration====
Prepping for AD on RANCH2 domain
yum update samba
Samba Version: 2:4.1.20-1.fc21
----
CategoryITDoc
>>{{{toc levels="h2,h3,h4"}}}>>Samba
====Related Packages====
Kerberos
Ldap
FreeIPA
====Internal Links====
http://wiki.votesmart.org/BriansNotes#hn_Dealing_with_The_join_operation_was_not_successful_error_when_attempting_to_join_Vista_domain_to_samba_DC
http://wiki.votesmart.org/SingleSignOn
http://wiki.votesmart.org/SingleSignOn%28FreeIPA%29
http://wiki.votesmart.org/AdminSamba\\
====External Links====
Samba Management and Administration
https://wiki.samba.org/index.php/Installing_RSAT
http://www.webmin.com/
Samba Migration
~- http://doxfer.webmin.com/Webmin/Webmin_Configuration#IP_Access_Control
~- https://wiki.samba.org/index.php/Main_Page
~- http://opentodo.net/2013/01/samba4-as-ad-domain-controller-on-centos-6/
~- https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
====Workstation Configuration====
Vista
\etc\hosts currently has no entry for domain
192.168.255.30 poprocks.votesmart.org poprocks
192.168.255.25 pez.votesmart.org poprocks
====Server Configuration====
||Server||Samba Version||IP||
||Poprocks||4.1.17||30||
||Pez||3.6.6||25||
Poprocks resolv.conf
<<
domain votesmart.org
search votesmart.org
nameserver 12.0.0.1
nameserver 192.168.255.30
<<::c::
Pez resolv.conf
<<
domain votesmart.org
search votesmart.org
nameserver 192.168.255.30
<<::c::
Poprocks /etc/krb5.conf configured correctly
Poprocks /etc/sysconfig/network
<<
NISDOMAIN=votesmart.org
<<::c::
Poprocks /etc/sysconfig/selinux
<<
SELINUXTYPE=targeted
<<::c::
Poprocks samba build
<<
Build environment:
Built by: mockbuild@buildhw-10.phx2.fedoraproject.org
Built on: Mon Feb 23 13:36:14 UTC 2015
Built using: /usr/bin/gcc
Build host: Linux buildhw-10.phx2.fedoraproject.org 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
SRCDIR: /builddir/build/BUILD/samba-4.1.17/source3
BUILDDIR: /builddir/build/BUILD/samba-4.1.17/source3
Paths:
SBINDIR: /usr/sbin
BINDIR: /usr/bin
CONFIGFILE: /etc/samba/smb.conf
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /etc/samba/lmhosts
LIBDIR: /usr/lib64
MODULESDIR: /usr/lib64/samba
SHLIBEXT: so
LOCKDIR: /var/lib/samba
STATEDIR: /var/lib/samba
CACHEDIR: /var/lib/samba
PIDDIR: /run
SMB_PASSWD_FILE: /var/lib/samba/private/smbpasswd
PRIVATE_DIR: /var/lib/samba/private
Builtin modules:
vfs_posixacl auth_sam auth_winbind auth_domain auth_builtin vfs_default nss_info_template idmap_tdb idmap_passdb idmap_nss idmap_ldap
<<::c::
Registry Entries for NTv4 style domain found at https://wiki.samba.org/index.php/Required_settings_for_NT4-style_domains
<<
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
"DomainCompatibilityMode"=dword:00000001
"DNSNameResolutionRequired"=dword:00000000
<<::c::
===Roaming Profiles and folder redirection===
Unassign 'logon path =' and 'logon home =' in smb.conf to disable roaming profiles
====Active Directory Support & Migration====
Prepping for AD on RANCH2 domain
yum update samba
Samba Version: 2:4.1.20-1.fc21
----
CategoryITDoc