switching to uid for dn user defining