Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-14 Thread Victor Adsuar Abaldea
Hi Rowland We got it With these files is imported correctly. I'm going to comment some details... - The files are in DOS format if you open with vim you must convert to UNIX format (:set ff=unix) - The attribute file can be imported full, but the class file must be split in different

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-11 Thread Victor Adsuar Abaldea
Hi Bob, Unfortunally yes! I'm using Freepbx, but it's a test environment, I want to evaluate Samba4's integration capabilities, one of them was Asterisk, but also I want to evaluate with Cisco devices, and software developed in my company. But after I read your post I have been searching about

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-10 Thread Victor Adsuar Abaldea
Hi Rowland, I split schema file in two files( Attribute file and Object file) and I have replaced the name of attribute/object with his OID. I attach both. The output of oLschema2ldif for attribute file is perfect! /usr/local/samba/bin/oLschema2ldif -b DC=XXX,DC=LOCAL -I

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-10 Thread Victor Adsuar Abaldea
Sorry, here are the files On 10 September 2013 09:59, Victor Adsuar Abaldea vads...@teralco.comwrote: Sorry I forgot the files! On 10 September 2013 09:58, Victor Adsuar Abaldea vads...@teralco.comwrote: Hi Rowland, I split schema file in two files( Attribute file and Object file) and

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-10 Thread Bob Miller
Hi Victor, I looked at using asterisk real-time ldap with samba4 a few years ago. I determined that by using it, though, I would be unable to use freepbx. Basically it makes a situation where the extensions database needs to be in ldap and mysql at the same time, and I did not find a way where

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-09 Thread Victor Adsuar Abaldea
Hi Penny, Thank you for response, but I'm not able to import Alterisk ldif into SAMBA 4. I split the files in asterisk_attr.ldif and asterisk_obj.ldif but still get the same error. I've been searching answer to this topic and sincerely and ldap syntax have been changed to Microsoft world. I

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-09 Thread Rowland Penny
On 09/09/13 10:12, Victor Adsuar Abaldea wrote: Hi Penny, Thank you for response, but I'm not able to import Alterisk ldif into SAMBA 4. I split the files in asterisk_attr.ldif and asterisk_obj.ldif but still get the same error. I've been searching answer to this topic and sincerely and

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-09 Thread Victor Adsuar Abaldea
Hi Penny, Oh!!! I didn't notice the ldif format can be translate to ldb. Even when I try to convert with oLschema2ldif I got errors. I attach two files one with the errors and ldif file. Thank you to much for your support! On 9 September 2013 12:03, Rowland Penny

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-09 Thread Rowland Penny
On 09/09/13 12:23, Victor Adsuar Abaldea wrote: Hi Penny, Oh!!! I didn't notice the ldif format can be translate to ldb. Even when I try to convert with oLschema2ldif I got errors. I attach two files one with the errors and ldif file. Thank you to much for your support! On 9 September

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-09 Thread Victor Adsuar Abaldea
Hi Rowland!! 1) First I want to excuse me. I was confused I'm sorry! At this moment and in a future I will referrer to you through your first name ;-) 2) Now when I use de schema file i get only 4 new errors, so I think i'm in correct way... I attach the asterisk ldap schema file and paste the

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-09 Thread Rowland Penny
On 09/09/13 14:06, Victor Adsuar Abaldea wrote: Hi Rowland!! 1) First I want to excuse me. I was confused I'm sorry! At this moment and in a future I will referrer to you through your first name ;-) 2) Now when I use de schema file i get only 4 new errors, so I think i'm in correct way... I

[Samba] Samba4 LDAP Integration with Asterisk

2013-09-06 Thread Victor Adsuar Abaldea
Hi, I am turning crazy. I try to integrate Asterisk 11.5.1 into Samba4 LDAP, but when I import the ldif file from contrib directory I get this error. ldbmodify -H /usr/local/samba/private/sam.ldb asterisk.ldif --option=dsdb:schema update allowed=true ERR: (No such object) objectclass: Cannot add

Re: [Samba] Samba4 LDAP Integration with Asterisk

2013-09-06 Thread Rowland Penny
On 06/09/13 11:04, Victor Adsuar Abaldea wrote: Hi, I am turning crazy. I try to integrate Asterisk 11.5.1 into Samba4 LDAP, but when I import the ldif file from contrib directory I get this error. ldbmodify -H /usr/local/samba/private/sam.ldb asterisk.ldif --option=dsdb:schema update

[Samba] Samba4 LDAP password hashes

2013-03-20 Thread Tim Vangehugten
Hello, I'm running samba4 and I installed phpldapadmin to connect to the samba ldap. When I am logged in as administrator i can't see the password hashes of my users or myself. Does samba need any extra configuration/ compile parameters to view the password hashes? Or does samba has a default

Re: [Samba] Samba4 LDAP password hashes

2013-03-20 Thread Andrew Bartlett
On Wed, 2013-03-20 at 11:44 +0100, Tim Vangehugten wrote: Hello, I'm running samba4 and I installed phpldapadmin to connect to the samba ldap. When I am logged in as administrator i can't see the password hashes of my users or myself. Does samba need any extra configuration/ compile

Re: [Samba] Samba4 LDAP ACLs - access to POSIX attributes from a non-admin account

2012-12-16 Thread Rob McCorkell
Sorry for the late reply - was running it through testing in our environment. But so far it seems to be working a treat! Thanks for this, much appreciated. Rob On 15/12/12 16:42, Thomas Simmons wrote: Hello Rob, You can enable anonymous binding to AD by creating the attribute dsHeuristics

Re: [Samba] Samba4 LDAP ACLs - access to POSIX attributes from a non-admin account

2012-12-16 Thread Andrew Bartlett
On Fri, 2012-12-14 at 18:03 +, Rob McCorkell wrote: In our current testing environment, we are using nslcd to get user and group information from the Samba4 LDAP server, using the last part of objectSid as uidNumber. The configuration is designed to pull down unixHomeDirectory and

Re: [Samba] Samba4 LDAP ACLs - access to POSIX attributes from a non-admin account

2012-12-15 Thread Rob McCorkell
On 15/12/12 13:31, Achim Gottinger wrote: It might work if you give Anonymous full read Access to the cn=Users branch via AD User and Group management. How is it possible to do this from the Samba4 server? Unfortunately Windows is out of the question here, because this will be part of Karoshi

Re: [Samba] Samba4 LDAP ACLs - access to POSIX attributes from a non-admin account

2012-12-15 Thread Thomas Simmons
Hello Rob, You can enable anonymous binding to AD by creating the attribute dsHeuristics with a value of 002001001 under the DN: CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration The Microsoft instructions mention below mention using the ADSI Edit tool on Windows, but it can be

[Samba] Samba4 LDAP ACLs - access to POSIX attributes from a non-admin account

2012-12-14 Thread Rob McCorkell
In our current testing environment, we are using nslcd to get user and group information from the Samba4 LDAP server, using the last part of objectSid as uidNumber. The configuration is designed to pull down unixHomeDirectory and loginShell if they exist, but they default to standard values if

Re: [Samba] Samba4 LDAP ACLs - access to POSIX attributes from a non-admin account

2012-12-14 Thread Rob McCorkell
On the samba-technical mailing list there is this exact problem detailed, so your help is no longer needed to configure reading of unixHomeDirectory and loginShell by other users, but the question about anonymous access still stands - it would be much better for each client to have anonymous

[Samba] Samba4 LDAP returns wrong responses in some cases, BIND-DLZ refuses to update

2012-09-28 Thread Dmitry Khromov
Hello. We have a couple of questions regarding Samba 4.1.0pre1-GIT-aad669b running on Gentoo GNU/Linux 1) Is MS 1.2.840.113556.1.4.1941 operator support implemented (planned to be implemented) in Samba 4 internal LDAP server? Please compare: $ ldapsearch -h 192.168.1.32 -x -D

Re: [Samba] Samba4 LDAP: how to write to idmap.ldb

2012-05-14 Thread Matthieu Patou
On 05/13/2012 07:49 PM, Andrew Bartlett wrote: On Sun, 2012-05-13 at 10:40 -0700, Matthieu Patou wrote: On 05/12/2012 11:30 PM, steve wrote: Hi everyone I can change a mapping in idmap.ldb according to the samba4 wiki:

[Samba] Samba4 LDAP: how to write to idmap.ldb

2012-05-13 Thread steve
Hi everyone I can change a mapping in idmap.ldb according to the samba4 wiki: https://wiki.samba.org/index.php/Samba4/HOWTO#Managing_Samba_4_Active_Directory_From_Windows_XP_Pro But if I delete an object via ldbmodify or ldbedit, it doesn't delete the entry in idmap.ldb. We have users who we

Re: [Samba] Samba4 LDAP: how to write to idmap.ldb

2012-05-13 Thread Matthieu Patou
On 05/12/2012 11:30 PM, steve wrote: Hi everyone I can change a mapping in idmap.ldb according to the samba4 wiki: https://wiki.samba.org/index.php/Samba4/HOWTO#Managing_Samba_4_Active_Directory_From_Windows_XP_Pro But if I delete an object via ldbmodify or ldbedit, it doesn't delete the

Re: [Samba] Samba4 LDAP: how to write to idmap.ldb

2012-05-13 Thread steve
On 05/13/2012 07:40 PM, Matthieu Patou wrote: On 05/12/2012 11:30 PM, steve wrote: the space used in idmap for a user mapping is ridiculously small That's fine for us. If we wanted, I suppose we could delete the sid DN in idmap using a ldbsearch on xidNumber. But as you say. Who cares?

Re: [Samba] Samba4 LDAP: how to write to idmap.ldb

2012-05-13 Thread Andrew Bartlett
On Sun, 2012-05-13 at 10:40 -0700, Matthieu Patou wrote: On 05/12/2012 11:30 PM, steve wrote: Hi everyone I can change a mapping in idmap.ldb according to the samba4 wiki: https://wiki.samba.org/index.php/Samba4/HOWTO#Managing_Samba_4_Active_Directory_From_Windows_XP_Pro But if

Re: [Samba] samba4 ldap?

2011-11-21 Thread Daniel Müller
Auftrag von steve Gesendet: Samstag, 19. November 2011 08:24 An: samba@lists.samba.org Betreff: Re: [Samba] samba4 ldap? Robert Adam Tauno Williams a écrit : On Thu, 2011-11-17 at 12:34 -0600, John Heim wrote: I am confused... Using an ldap server as a backend for samba4 is not recommended

Re: [Samba] samba4 ldap?

2011-11-21 Thread Dennis Dryden
On Mon, Nov 21, 2011 at 9:54 AM, Daniel Müller muel...@tropenklinik.dewrote: Hi, samba 4 does not use external ldap anymore. Instead it uses his own ldap server. To administrate ADS you can use ads admin tool from Microsoft or I think samba-tool or ldbedit. Hi, Is it possible to setup

Re: [Samba] samba4 ldap?

2011-11-21 Thread Jorell
I think Samba4 will replicate itself with other samba4 hosts (I believe this is a feature of Active Directory) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

[Samba] samba4 ldap?

2011-11-18 Thread John Heim
I am confused... Using an ldap server as a backend for samba4 is not recommended? We are primarily a linux shop. We have an ldap database we use for authentication. I can't use that anymore if I switch to samba4? -- To unsubscribe from this list go to the following URL and read the

Re: [Samba] samba4 ldap?

2011-11-18 Thread Adam Tauno Williams
On Thu, 2011-11-17 at 12:34 -0600, John Heim wrote: I am confused... Using an ldap server as a backend for samba4 is not recommended? Not only not recommended, it will not work and is not supported. We are primarily a linux shop. We have an ldap database we use for authentication. I can't

Re: [Samba] samba4 ldap?

2011-11-18 Thread Matthieu Patou
On 18/11/2011 17:33, Adam Tauno Williams wrote: On Thu, 2011-11-17 at 12:34 -0600, John Heim wrote: I am confused... Using an ldap server as a backend for samba4 is not recommended? Not only not recommended, it will not work and is not supported. We are primarily a linux shop. We have an

Re: [Samba] samba4 ldap?

2011-11-18 Thread Cybionet
Greeting Adam, Just to be sure, because this post is interesting for those who build solution with Samba/OpenLDAP (like me who use it since 2004), 1. Samba4 don't support LDAP backend, but have is own LDAPv3 server? (ref.: http://wiki.samba.org/index.php/Samba4/FAQ) 2. It's possble to use

Re: [Samba] samba4 ldap?

2011-11-18 Thread David Magda
On Thu, November 17, 2011 13:34, John Heim wrote: I am confused... Using an ldap server as a backend for samba4 is not recommended? We are primarily a linux shop. We have an ldap database we use for authentication. I can't use that anymore if I switch to samba4? If you don't need to emulate

Re: [Samba] samba4 ldap?

2011-11-18 Thread John Heim
From: Matthieu Patou m...@samba.org To: samba@lists.samba.org Not that if your schema is compatible it can be loaded in the AD LDAP, but in anycase you'll have to migrate your data into the AD database and cope with the partitioning of it. The reason I was considering converting to samba4

Re: [Samba] samba4 ldap?

2011-11-18 Thread John Heim
From: David Magda dma...@ee.ryerson.ca To: John Heim jh...@math.wisc.edu Cc: samba@lists.samba.org Sent: Friday, November 18, 2011 12:24 PM Subject: Re: [Samba] samba4 ldap? On Thu, November 17, 2011 13:34, John Heim wrote: I am confused... Using an ldap server as a backend for samba4

Re: [Samba] samba4 ldap?

2011-11-18 Thread Matthieu Patou
On 18/11/2011 18:43, Cybionet wrote: Greeting Adam, Just to be sure, because this post is interesting for those who build solution with Samba/OpenLDAP (like me who use it since 2004), 1. Samba4 don't support LDAP backend, but have is own LDAPv3 server? (ref.:

Re: [Samba] samba4 ldap?

2011-11-18 Thread Matthieu Patou
On 18/11/2011 19:24, David Magda wrote: On Thu, November 17, 2011 13:34, John Heim wrote: I am confused... Using an ldap server as a backend for samba4 is not recommended? We are primarily a linux shop. We have an ldap database we use for authentication. I can't use that anymore if I switch to

Re: [Samba] samba4 ldap?

2011-11-18 Thread Andrew Bartlett
On Fri, 2011-11-18 at 12:56 -0600, John Heim wrote: I found some messages from a year ago on this list that spoke about a script out there in cyberworld. But at the time, there was nothing in the official samba4 suite to help with this migration. Has that changed? Yes. See 'samba-tool

Re: [Samba] samba4 ldap?

2011-11-18 Thread steve
Robert Adam Tauno Williams a écrit : On Thu, 2011-11-17 at 12:34 -0600, John Heim wrote: I am confused... Using an ldap server as a backend for samba4 is not recommended? Not only not recommended, it will not work and is not supported. We are primarily a linux shop. We have an ldap database

[Samba] samba4 LDAP Timeout - Wrong IP?

2011-02-08 Thread Andrew Wilkinson
Greetings, all. I am trying to join a samba4 server to an existing Windows SBS 2003 domain as a DC. I've compiled samba4 from git and am following the howto. On what is essentially the first step, I get a failed to connect error with an ldap:// url, and the message NT_STATUS_IO_TIMEOUT. In

Re: [Samba] samba4 LDAP Timeout - Wrong IP?

2011-02-08 Thread Andrew Wilkinson
On Tue, Feb 8, 2011 at 11:27 AM, Andrew Wilkinson drukar...@gmail.comwrote: Greetings, all. I am trying to join a samba4 server to an existing Windows SBS 2003 domain as a DC. I've compiled samba4 from git and am following the howto. On what is essentially the first step, I get a failed to

Re: [Samba] samba4 LDAP Timeout - Wrong IP?

2011-02-08 Thread tms3
I am trying to join a samba4 server to an existing Windows SBS 2003 domain as a DC. I've compiled samba4 from git and am following the howto. On what is essentially the first step, I get a failed to connect error with an ldap:// url, and the message NT_STATUS_IO_TIMEOUT. In reviewing

Re: [Samba] Samba4 LDAP LDB Indexes

2010-12-12 Thread Matthieu Patou
On 07/12/2010 09:49, dmcfeeters wrote: I have a system running Samba 4 Alpha 11, and I seem to have a corrupted LDB file in my directory. (Probably the result of taking a backup without using tdbbackup). Right now, running tdbbackup on the file produces an error message similar to the following:

[Samba] Samba4 LDAP LDB Indexes

2010-12-11 Thread dmcfeeters
I have a system running Samba 4 Alpha 11, and I seem to have a corrupted LDB file in my directory. (Probably the result of taking a backup without using tdbbackup). Right now, running tdbbackup on the file produces an error message similar to the following: Failed to insert into

Re: [Samba] Samba4 LDAP LDB Indexes

2010-12-11 Thread dmcfeeters
As a quick followup--it seems that the ldbadd command WILL work, if I isolate the @INDEXLIST object and add it first to the newly created ldb file, and then load the remaining ldif. -- View this message in context:

Re: [Samba] Samba4 LDAP LDB Indexes

2010-12-11 Thread Michael Wood
Hi This sounds like a question for the samba-technical list, which is still the best place to ask about issues with samba 4. I have copied my reply there. On 7 December 2010 08:49, dmcfeeters doma...@fiforms.org wrote: I have a system running Samba 4 Alpha 11, and I seem to have a corrupted

[Samba] [samba4][LDAP]: memberOf: attribute type undefined

2009-04-10 Thread David Touzeau
Dear i'm trying to run samba4 on a debian lenny with LDAP backend when execute slapd -f /etc/samba/ldap/slapd.conf -h ldapi://%2Fetc%2Fsamba%2Fldap% 2Fldapi -d4294967295 the slapd server crash with this output : dnPrettyNormal: cn=samba-admin,cn=samba, cn=samba-admin,cn=samba line 57