SAMBA 4.5 // Gentoo Linux Domain Member // File Server

krb5 pidSources: https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member https://wiki.samba.org/index.php/User_Home_Folders https://wiki.samba.org/index.php/Idmap_config_ad https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles Strategy This machine file server (domain member server). It will serve domain users profiles, homes and other file stuff. ADDC’s IP is 10.81.100.150. This machines IP is 10.81.100.151, host name is F4 Principles Users on a domain member will be authenticated by the domain controller. This process uses […]

Samba // wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND on linux domain member

linux domain member – idmap ad – getent passwd not working – wbinfo -i SAMDOM\\xyzuser returns wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND PROBLEM: Users per default primary group “domain users” has not set gidNumber per default installation. Edit these groups props with ldbedit and add a gidNumber entry. How solved? ( credits: https://stackoverflow.com/questions/30601942/consistent-uid-and-gid-across-linux-clients-for-multiple-domain-using-autorid): wbinfo -n SAMDOM\\user1 to give you […]

Gentoo // Samba 4.5 as AD DC

… still fighting – means: try and error + under construction. Sources: https://wiki.samba.org/index.php/Samba_Internal_DNS_Back_End https://wiki.gentoo.org/wiki/Samba/Active_Directory_Guide https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller https://wiki.samba.org/index.php/Samba_AD_DC_Troubleshooting https://wiki.samba.org/index.php/Adding_users_with_samba_tool https://wiki.samba.org/index.php?title=User_and_Group_management https://wiki.samba.org/index.php/User_Home_Folders https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles Configure NTP emerge ntp rc-update add ntp-client default Check /etc/hosts # CHECK # 10.81.100.150 dc.test.local dc Strategy Use Sambas own Heimdal kerberos. Using Sambas own internal DNS backend with DNS forwarder. This machine is a […]

Remote desktop keymap problem

Do you have keymap problems connecting from linux to windows? Maybe rdesktop -k KEYMAP cannot find the keymap file it is searching for. Check /usr/share for rdesktop/keymaps and copy this stuff to ~/.rdesktop/keymaps/

Gentoo | Midnight Commander umlaut problem.

The Midnight Commander shows crap instead of umlaut characters? Command locale -a doesn’t print something like de_DE.UTF-8? There is no de_DE.UTF-8 locale! Solution: First add de_DE.UTF-8 UTF-8 to /etc/locale.gen. Then type locale-gen. Then do eselect locale list. This should now list the new added de_DE.utf8. Activate the new locale with eselect locale set NUMBER. Type […]

gentoo – otrs – emerge error – ‘chown $S not allowed’

SetPermissions.pl –otrs-user=otrs –web-user=apache –otrs-group=apache –web-group=apache “${S}” dies with “Could not set permissions” Caused by running emerge as user portage. This user has sometimes insufficient file rights. This is the default behaviour since 2013SEP, when the portage FEATURE userpriv was enabled per default. See man make.conf. Disable this FEATURE using the awesome /etc/portage/package.env file. Edit this […]

gentoo – enable initramfs

# emerge genkernel then mount the boot volume # genkernel –install initramfs edit the grub.conf: > title Gentoo Linux 3.10.7-gentoo > root (hd0,0) > kernel /boot/kernel-3.10.7-gentoo root=/dev/sda3 rootfstype=ext3 > initrd /boot/initramfs-genkernel-x86_64-3.10.7-gentoo do not forget to create a new initramfs in case of building new kernels