Ticket #3123 (closed defect: fixed)
Error Experienced in Importing Users to New Master LDAP server
| Reported by: | aldrin@… | Owned by: | cperez@… |
|---|---|---|---|
| Milestone: | Component: | users | |
| Severity: | blocker | Keywords: | migrate, migration, migrate users, ldap |
| Cc: |
Description
Problem: error: Couldn't bind to LDAP server, result code: 49
- Setting up the Zentyal master LDAP server
- Installed Ubuntu 10.04 using minimal CD
- Installed Zentyal using apt-get
- Creating the config file to be imported to new Zentyal Master LDAP server
- Exported configuration of original Zentyal server
- Exported configuration of new Zentyal server from step A.
- Transferred users.bak of file from step 3 to file of step 4
- Deleted the entry of root from master-data.ldif of file from step 3. The deleted data is below:
uid=root,ou=Users,dc=SG-FS,dc=allproperty,dc=org uid: root sambaSID: S-1-5-21-3818554400-921237426-3143208535-1002 displayName: root objectClass: sambaSamAccount objectClass: account structuralObjectClass: account entryUUID: fb829dd0-dce3-102f-999e-abc4fa884e0b creatorsName: cn=ebox,dc=SG-FS,dc=allproperty,dc=org createTimestamp: 20110307085231Z sambaNTPassword: 6CF5B8FE5261B23C09AF7B6DED69FE7A sambaPasswordHistory: 00000000000000000000000000000000000000000000000000000000
00000000
sambaAcctFlags: [U ]
sambaHomePath:
SG-FS\homes\root
sambaPwdLastSet: 1313036220
entryCSN: 20110811041700.076990Z#000000#000#000000
modifiersName: cn=ebox,dc=SG-FS,dc=allproperty,dc=org
modifyTimestamp: 20110811041700Z
dn:
If step 6 is not done, the import of the config file to new server will fail because user root already exists.
- Importing the config file to the new Zentyal Master LDAP server
- Disabled MD5sum check from new Master LDAP server. (Based from here: http://trac.zentyal.org/ticket/2709).
- Imported the config file.
- Saved settings
- Enabled Users & Groups Module
-> Err: Couldn't bind to LDAP server, result code: 49
Attachments
Change History
Changed 22 months ago by anonymous
-
attachment
exported config of new zentyal master ldap server.tar
added
Changed 22 months ago by anonymous
-
attachment
exported & edited config of new zentyal master ldap server.tar
added
Changed 22 months ago by aldrin@…
-
attachment
original exported config of new zentyal master ldap server.tar
added
the un-edited exported config file of new master zentyal server
comment:1 Changed 22 months ago by aldrin@…
- Keywords migrate, migration, migrate users, ldap added
- Severity changed from normal to blocker
Basically, what I'm doing is migrating users & groups from one Zentyal server (w/ multiple enabled modules) to a Zentyal server w/ LDAP only.
I need a way on how to easily do this without using scripting. The steps as described here, http://trac.zentyal.org/wiki/Documentation/Community/HowTo/MigrateUsers, are unclear & incomplete (e.g. see step 3).
Using 2 test zentyal master ldap servers, I was able to migrate users w/ no problems by simply copying & pasting users.bak folder from one exported configuration file to another. However, I'm unable to do this w/ our current zentyal ldap production server.
Changed 22 months ago by aldrin@…
-
attachment
exported config of original zentyal master ldap server.zip.001
added
1st part of the exported configuration of our production server
Changed 22 months ago by aldrin@…
-
attachment
exported config of original zentyal master ldap server.zip.002
added
2nd part of the exported configuration of our production server
Changed 22 months ago by aldrin@…
-
attachment
exported config of original zentyal master ldap server.zip.003
added
3rd part of the exported configuration of our production server
comment:2 Changed 22 months ago by aldrin@…
The 3-part zip file of the exported configuration file is the file from our Zentyal production server. It can be extracted using 7-zip.
comment:3 Changed 22 months ago by aldrin@…
- Status changed from new to closed
- Resolution set to fixed
I've resolved my problem.
Steps:
- Updated our production server's core Zentyal files from 2.0.21 to 2.0.22.
- Exported config of production server.
- Changed users.bak of exported config file of test LDAP master server to users.bak of exported config of production server.
- Imported the edited config file to test LDAP master server.