Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-05-28 Thread GG
the sambaSID? It appears to be required! Cheers, Giorgio -Original Message- From: Vladimir Psenicka vladimir.pseni...@prodeco.cz Sent: sabato 10 aprile 2010 18.40 To: GG joj...@gmail.com Cc: samba@lists.samba.org Subject: Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-12 Thread Giorgio Gallo
: Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04 Hi GG 1. no delete, change objectClass:sambaAccount to objectClass:sambaSamAccount in ldif, sambaAccount is deprecated 2. uncomment lines with rid in samba.schema in HISTORICAL if you want to preserve

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-11 Thread Vladimir Psenicka
@lists.samba.org Subject: Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04 Hi GG 1. no delete, change objectClass:sambaAccount to objectClass:sambaSamAccount in ldif, sambaAccount is deprecated 2. uncomment lines with rid in samba.schema in HISTORICAL

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-10 Thread Vladimir Psenicka
Hi GG 1. no delete, change objectClass:sambaAccount to objectClass:sambaSamAccount in ldif, sambaAccount is deprecated 2. uncomment lines with rid in samba.schema in HISTORICAL if you want to preserve rid attribute, else delete it (don't see rid in our ldif) 3. make all dn:uid=uid attribute And

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-10 Thread Vladimir Psenicka
sambaSID is unique ID for every user in domain and must be present when use objectclass: sambaSamAccount. Exist sambaSID in your ldif in users attributes? On Sat, 10 Apr 2010 18:40:38 +0200, Vladimir Psenicka vladimir.pseni...@prodeco.cz wrote: Hi GG 1. no delete, change

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-10 Thread GG
Hello! Actually I have no sambaSID. a question: if i started off by having an ldap server and I then wanted to add samba (so now I'd import ldif with no references to samba), would there be the way of syncronizing from ldap to samba? Cheers, Gio On 4/10/10, Vladimir Psenicka

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-09 Thread GG
Hello! So I added openldap.schema and qmail.schema, deleted /var/lib/ldap/* and slapadd the ldif; I still get the same errors though! Being on the first line it seems as if dn: uid=,dc=,dc=,dc= is not ok for the new version, because it imports groups correctly dn: dc=,dc=,dc= Ideas? Cheers,

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-09 Thread Vladimir Psenicka
Hi. Can you change *objectClass: sambaAccount* to *objectClass: sambaSamAccount* in whole ldif, but object class 'sambaSamAccount' requires attribute 'sambaSID' and maybee other samba* attributes. Or delete objectClass: sambaAccount from this dn when no samba* attribute is specified in this dn. I

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-09 Thread GG
Hello, I would delete sambaAccount but all users also use samba to logon to windows machines, wouldn't this prevent them from entering the domain etc? dn: *uid=Christian Sanvi*,dc=Sistemi *uid: csanvi* - I see what you mean. correct uid is csanvi: shall I make all dn: uid=*uid later

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-08 Thread Vladimir Psenicka
1. comments to slapd.conf: if slapd.conf.destination is on your new server, then you are missing samba schema in your slapd.conf.destination. slapd.conf on new server: include /etc/ldap/schema/samba.schema Get samba.schema from your current samba instalation on new server. It

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-08 Thread Vladimir Psenicka
You have in gg-edited.ldif (first error on line 52): dn: uid=Christian Sanvi,dc=Sistemi Informativi,dc=People,dc=GG-s-Domain,dc=it structuralObjectClass: inetOrgPerson entryUUID: e969a5fc-584e-1027-9dc7-fa88d05ed16f creatorsName: cn=Manager,dc=GG-s-Domain,dc=it createTimestamp: 20030801093311Z

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-07 Thread GG
Hello Vladimir and anyone else reading :-) ! Attaching these files: - gg-edited.ldif - slapd.conf.destination.txt - slapd.conf.source.txt - ldap.conf.destination.txt - ldap.conf.source.txt - slapadd-ing.LOG this was the log while importing ldif NET SID ETC net setlocalsid

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-07 Thread Gaiseric Vandal
They should be the same SID. The SID of a DC should the same as the SID of the domain itself. And if you had multiple DC's they should all have the same SID. At least that is what I have and it seems to work for me. On 04/07/2010 10:14 AM, GG wrote: Hello Vladimir and anyone else

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-07 Thread GG
you are right! please excuse me I misread! Giorgio On 4/7/10, Gaiseric Vandal gaiseric.van...@gmail.com wrote: They should be the same SID. The SID of a DC should the same as the SID of the domain itself. And if you had multiple DC's they should all have the same SID. At least that is

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-06 Thread Vladimir Psenicka
Hi Gorgio Dne 2.4.2010 17:01, GG napsal(a): Hi all, So I have openldap2-2.1.12-74 samba-2.2.7a-72 I would like to migrate this existing PDC service to a new server and to current production / stable releases (especially for windows 7 joining to the domain). New server is Debian

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-04-02 Thread GG
Hi all, So I have openldap2-2.1.12-74 samba-2.2.7a-72 I would like to migrate this existing PDC service to a new server and to current production / stable releases (especially for windows 7 joining to the domain). New server is Debian Lenny stable. I have exported the domain SID, and ldap.ldif

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-27 Thread Vladimir Psenicka
On Fri, 26 Mar 2010 15:32:50 +0100, GG joj...@gmail.com wrote: wow I made it! I copied net and all the libs it complained about from another suse server which was not missing it :-) [2010/03/26 15:07:37, 0] param/loadparm.c:map_parameter(2435) Unknown parameter encountered: domain admin

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread Vladimir Psenicka
Hi Dne 25.3.2010 17:41, GG napsal(a): Hello Vladimir, John and all the NG :-) Thanks so much for answering. I really hoped someone would :-) So I installed Debian latest stable netinst on the future production server and here are my issues in the quotes :-( no net command on my suse 8.2

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread GG
Hi! I'll be at it in a few minutes installing samba client / net command :-) I have a question about the samba sernet repos: Shall I apt-get remove samba and use http://enterprisesamba.com/index.php?id=148 + http://enterprisesamba.com/index.php?id=56 instead from start? What is the real

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread Vladimir Psenicka
Dne 26.3.2010 10:59, GG napsal(a): Hi! I'll be at it in a few minutes installing samba client / net command :-) I have a question about the samba sernet repos: Shall I apt-get remove samba and use http://enterprisesamba.com/index.php?id=148 + http://enterprisesamba.com/index.php?id=56

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread GG
Hello! Have you samba-client package installed? yes I do at least smbclient is there! but no net command :-/ pavouk\pseni...@psenicka:~ rpm -qf `which net` samba-client-3.5.1-4.1.x86_64 So here are the issues encountered... file /usr/share/man/man1/smbclient.1.gz from install of

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread Vladimir Psenicka
Dne 26.3.2010 13:50, GG napsal(a): Hello! Have you samba-client package installed? yes I do at least smbclient is there! but no net command :-/ pavouk\pseni...@psenicka:~ rpm -qf `which net` samba-client-3.5.1-4.1.x86_64 So here are the issues encountered... file

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread GG
Hello! I'm stuck on getdomainsid: Net command is missing even though libs and smbclient are installed. I tried this: # ldapsearch -x -h localhost -D cn=Manager,dc=domain,dc=it -W -b sambaDomainName=WORKGROUP,dc=domain,dc=it Enter LDAP Password: # extended LDIF # # LDAPv3 # base

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread Vladimir Psenicka
try this: ldapsearch -x -h localhost -D cn=Manager,dc=WORKGROUP,dc=it -W -b sambaDomainName=WORKGROUP,dc=WORKGROUP,dc=it Dne 26.3.2010 15:00, GG napsal(a): Hello! I'm stuck on getdomainsid: Net command is missing even though libs and smbclient are installed. I tried this: # ldapsearch

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-26 Thread Vladimir Psenicka
Paste ldap admin dn or ldap suffix in your smb.conf Dne 26.3.2010 15:24, Vladimir Psenicka napsal(a): try this: ldapsearch -x -h localhost -D cn=Manager,dc=WORKGROUP,dc=it -W -b sambaDomainName=WORKGROUP,dc=WORKGROUP,dc=it Dne 26.3.2010 15:00, GG napsal(a): Hello! I'm stuck on

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-25 Thread Vladimir Psenicka
What about Debian Stable with Sernet samba repo, where you can choose Samba 3.4.x or 3.5.x My hints on migrating to new server: 1. install new server (Samba,ldap etc.) 2. set same hostname on new server 3. export ldap data from old server and import them to new server 4. export SID (net

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-25 Thread John H Terpstra
On 03/25/2010 03:33 AM, Vladimir Psenicka wrote: What about Debian Stable with Sernet samba repo, where you can choose Samba 3.4.x or 3.5.x My hints on migrating to new server: 1. install new server (Samba,ldap etc.) 2. set same hostname on new server 3. export ldap data from old server

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-25 Thread GG
Hello Vladimir, John and all the NG :-) Thanks so much for answering. I really hoped someone would :-) So I installed Debian latest stable netinst on the future production server and here are my issues in the quotes :-( no net command on my suse 8.2 Cheers :-) Giorgio On Thu, Mar 25, 2010 at

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-24 Thread Vladimir Psenicka
Dne 23.3.2010 15:48, Giorgio napsal(a): Hello, Hopefully I'm in the right place asking for help :-) I need to move from an old physical Suse 8.2 - samba 2.2.7 + ldap - to latest samba versions, I would like to use an ubuntu 8.04 virtual machine. The domain is in production on the physical

Re: [Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-24 Thread GG
Hello Vladimir and hi all, Thanks very much for replying! Any suggested os? I'd go for debian or what advised, I just happen to know ubuntu more... Any strategy or hint on migrating from ancient ldap + samba to a new server? Already tried rsyncing (using all options to keep perms and

[Samba] PDC migration from suse 8.2 - samba 2.2.7 ldap - to latest versions on ubuntu 8.04

2010-03-23 Thread Giorgio
Hello, Hopefully I'm in the right place asking for help :-) I need to move from an old physical Suse 8.2 - samba 2.2.7 + ldap - to latest samba versions, I would like to use an ubuntu 8.04 virtual machine. The domain is in production on the physical server, to be dismissed after migration. It is