I have a question ... How can I migrate existing LDAP users ( or schemas) on Ubuntu 10.04.2 to the new Samba4 (Ubuntu 12.04.2) server? Does anyone have an idea? Thanks for support Alex -- View this message in context: http://samba.2283325.n4.nabble.com/Samba4-migration-tp4646168.html Sent from the Samba - General mailing list archive at Nabble.com.
I've tried with Apache Directory Studio to export LDAP (Schema) into LDIF file. Its works. But convert to (AD ldif) with oLschema2ldif don't work. S. message: sudo /usr/local/samba/bin/oLschema2ldif -b DN=domainname -I /home/alxgrb/ldapschemas/old_ldap_schema_250313.ldif -O converted.ldif malformed entry on line 1265 Converted 0 records with 1 failures Any Idea? (The line 1265 is empty) Can I use ldbadd? Thanks, Alex -- View this message in context: http://samba.2283325.n4.nabble.com/Samba4-migration-tp4646168p4646272.html Sent from the Samba - General mailing list archive at Nabble.com.
I've tried with Apache Directory Studio to export LDAP (Schema) into LDIF file. Its works. But convert to (AD ldif) with oLschema2ldif don't work. S. message: sudo /usr/local/samba/bin/oLschema2ldif -b DN=domainname -I /home/alxgrb/ldapschemas/old_ldap_schema_250313.ldif -O converted.ldif malformed entry on line 1265 Converted 0 records with 1 failures Any Idea? (The line 1265 is empty) Can I use ldbadd? Thanks, Alex -- View this message in context: http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646274.html Sent from the Samba - General mailing list archive at Nabble.com.
On Thu, 2013-04-11 at 01:00 -0700, alxgrb wrote:> Hi, > > please look at this:=> > > alxgrb at ubsrv:~ sudo /usr/local/samba/bin/smbclient -L localhost -U% > Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5] > > Sharename Type Comment > --------- ---- ------- > netlogon Disk > sysvol Disk > home Disk Home drive > data Disk Data disk > IPC$ IPC IPC Service (Samba 4.0.5) > Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5] > > Server Comment > --------- ------- > > Workgroup Master > --------- ------- > > The testuser.ldif file:=> > cat testuser.ldif > dn: uid=bmontag,ou=Users,dc=demo,dc=lan > objectClass: inetOrgPerson > objectClass: organizationalPerson > objectClass: person > objectClass: posixAccount > objectClass: shadowAccount > objectClass: top > cn: Brigitte Montag > gidNumber: 10001 > homeDirectory: /home/bmontag > sambaSID: -59220 > sn: Montag > uid: bmontag > uidNumber: 29110 > displayName: Brigitte Montag > givenName: Brigitte > loginShell: /bin/bash > mail: brigitte.montag at mailserver.com > > I have tried add the testuser.ldif file to sam.ldb:=> > sudo /usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb > testuser.ldif > ERR: No such object : "objectclass: Cannot add > uid=bmontag,ou=Users,dc=demo,dc=lan, parent does not exist!" on DN > uid=bmontag,ou=Users,dc=demo,dc=lan at block before line 18 > Add failed after processing 0 records > > What do I have to do to make my ldbadd work??change ou=users to cn=users. -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org
Follow the classic upgrade howto: https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO On Tue, Apr 2, 2013 at 10:28 AM, alxgrb <alexander.grober at nowcast.de> wrote:> I have a question ... > > How can I migrate existing LDAP users ( or schemas) on Ubuntu 10.04.2 to > the > new Samba4 (Ubuntu 12.04.2) server? > > Does anyone have an idea? > Thanks for support > > Alex > > > > -- > View this message in context: > http://samba.2283325.n4.nabble.com/Samba4-migration-tp4646168.html > Sent from the Samba - General mailing list archive at Nabble.com. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Atentamente, Andreas Calvo