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 Advertisements
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’)”
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 […]
Check the /etc/network/interfaces file. If there is nothing but lo – you are hijacked by the network-manager. Edit /etc/network/interfaces like: auto enp1s0f0 iface enp1s0f0 inet static address 192.168.100.120 netmask 255.255.0.0 gateway 192.168.100.1 dns-nameservers 192.168.100.2 18.104.22.168 dns-search MYDOMAIN.ORG Then do # systemctl stop network-manager # systemctl disable network-manager replace the symlink /etc/resolv.conf with a proper file.
You have had created a large gpt partition and run into mkfs (mke2fs) problems like ‘There is a PMBR record. Continue? y/N’ and nothing happens? # mke2fs -t ext4 -F -L “” /dev/sdX … or try gparted like a looser. ;)
Avoid all these linux console tools named like ‘radiusclient’. Install freeradius Test your stuff with # radtest USERNAME USERPASS HOST 0 THESECRET Testing with SQUID: # /usr/libexec/squid/basic_radius_auth -h HOST -w SECRET Then type USERNAME USERPASS at the prompt. Will return OK or ERR…