Browse Source

Splitted files to "*add.ldif" and "*replace.ldif"

Dmitry Yu Okunev 6 years ago
parent
commit
bada9a22d5

+ 0 - 6
samba-adduser-student-fix.ldif

@@ -1,8 +1,5 @@
 dn: uid=@USER@,ou=users,dc=mephi,dc=ru
 changetype: modify
-replace: userPassword
-userPassword: @PASS@
--
 add: objectClass
 objectClass: sambaSamAccount
 -
@@ -11,6 +8,3 @@ sambaSID: S-1-5-21-1830565157-2496563256-1598117729
 -
 add: employeeType
 employeeType: 1
--
-replace: gecos
-gecos: student

+ 7 - 0
samba-adduser-student-fix-replace.ldif

@@ -0,0 +1,7 @@
+dn: uid=@USER@,ou=users,dc=mephi,dc=ru
+changetype: modify
+replace: userPassword
+userPassword: @PASS@
+-
+replace: gecos
+gecos: student

+ 0 - 9
samba-adduser-teacher-fix.ldif

@@ -1,8 +1,5 @@
 dn: uid=@USER@,ou=users,dc=mephi,dc=ru
 changetype: modify
-replace: userPassword
-userPassword: @PASS@
--
 add: objectClass
 objectClass: sambaSamAccount
 -
@@ -11,9 +8,3 @@ sambaSID: S-1-5-21-1830565157-2496563256-1598117729
 -
 add: employeeType
 employeeType: 2
--
-replace: gecos
-gecos: teacher
--
-replace: gidNumber
-gidNumber: 514

+ 10 - 0
samba-adduser-teacher-fix-replace.ldif

@@ -0,0 +1,10 @@
+dn: uid=@USER@,ou=users,dc=mephi,dc=ru
+changetype: modify
+replace: userPassword
+userPassword: @PASS@
+-
+replace: gecos
+gecos: teacher
+-
+replace: gidNumber
+gidNumber: 514