search for: users_old_dn

Displaying 2 results from an estimated 2 matches for "users_old_dn".

2017 Mar 22
0
Rename Samba 4 Users
...t;cn" field don't change. That might be your problem, you do not use an ldif with ldbrename, the command is: ldbrename -H /usr/local/samba/private/sam.ldb \ CN=ldap05,CN=Users,DC=samdom,DC=example,DC=com \ CN=User20,CN=Users,DC=samdom,DC=example,DC=com i.e. ldbrename -H /path/to/sam.ldb users_old_dn users_new_dn You need to run this on the DC. This will change the 'cn' as well, it has to, because 'cn' has to be the same as the first part of the user DN, in this case 'CN=ldap05' or to be even more blunt, look at the first two letters of 'CN=ldap05' > >...
2017 Mar 13
4
Rename Samba 4 Users
Hi guys! Do you know if there is a away to rename a list of samba 4 user accounts ? I need to change a list of 2000 users from "login name" to a "login number" i would not like to do this one by one. I know that in windows server i can do using powershell script, but it doesn´t work with samba. If you have any ideia on how to do this i appreciate. Thanks!! --