Problem: You have a lot of files with strange encoded names like: Your filesystem, transfered from older samba servers, contains files with windows-1252 encoded characters ibn their names, who won’t be displayed by samba. Solution: Use the magic convmv tool: # convmv –notest -r -f windows-1252 -t utf-8 /path/to/your/data Thank you, Bjoern JACKE! Advertisements
Hints: The workstations DNS entry should point to your domain contollers builtin DNS-Server. This DNS-Server redirects to your companys main DNS-Server.
mount.cifs does not accept your arguments? add vers=1.0 to your options
LDAP TIME is calculated in nanoseconds (factor 10000000) from 01/01/1601 echo $((($LDAPTIME/10000000)-11644473600)) 01/01/1601 .. 01/01/1970 in seconds: 11644473600
OBJECT2DELETE=Workstation03 ldbdel -H $SAMBA_LDB “$(ldbsearch -H $SAMBA_LDB “(sAMAccountName=$OBJECT2DELETE)” dn | grep -v ‘^#’ | head -n 1 | grep ‘dn:’ | sed ‘s|dn:\ ||’ | grep ‘DC’)”
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 […]
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 […]