Re: Samba PDC with LDAP backend

2009-09-07 Thread Ruben de Groot
On Fri, Sep 04, 2009 at 02:43:00PM +0700, Olivier Nicole typed: > Hi Ruel, > > > But, I have one question left.. > > How do you join the Windows xp client on the domain? Is there another tweak > > must be done? > > The same way a PC would join any samba domain. > > The PC joining Samba does not

Re: Samba PDC with LDAP backend

2009-09-04 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 6:51 PM, Ruben de Groot wrote: > On Mon, Jul 20, 2009 at 06:22:50PM +0800, Ruel Luchavez typed: > > > > But to some one out their who has an idea to this > > > > you are very much WELCOME:-) > > I think this was mentioned before, but did you have to edit > /usr/local/e

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruben de Groot
On Mon, Jul 20, 2009 at 06:22:50PM +0800, Ruel Luchavez typed: > > But to some one out their who has an idea to this > > you are very much WELCOME:-) I think this was mentioned before, but did you have to edit /usr/local/etc/smbldap-tools/smbldap.conf and /usr/local/etc/smbldap-tools/smbldap

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 6:21 PM, Ruel Luchavez wrote: > > > On Mon, Jul 20, 2009 at 6:17 PM, Olivier Nicole wrote: > >> > #smbldap-populate -u 1 -g 1 -r 1 >> > Populating LDAP directory for domain MYDOMAIN >> > (S-1-5-21-2772587264-3389604304-3649373591) >> > (using builtin directory

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 6:17 PM, Olivier Nicole wrote: > > #smbldap-populate -u 1 -g 1 -r 1 > > Populating LDAP directory for domain MYDOMAIN > > (S-1-5-21-2772587264-3389604304-3649373591) > > (using builtin directory structure) > > > > adding new entry: dc=mydomain,dc=local > > fail

Re: Samba PDC with LDAP backend

2009-07-20 Thread Olivier Nicole
> #smbldap-populate -u 1 -g 1 -r 1 > Populating LDAP directory for domain MYDOMAIN > (S-1-5-21-2772587264-3389604304-3649373591) > (using builtin directory structure) > > adding new entry: dc=mydomain,dc=local > failed to add entry: modifications require authentication at In fact the

RE: {Disarmed} Re: Samba PDC with LDAP backend

2009-07-20 Thread Johan Hendriks
There is an improvement... this is my current /etc/rc.conf slapd_enable=YES slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://MailScanner warning: numerical links are often malicious: 127.0.0.1/ ldap://MailScanner warning: numerical links are often malicious: 1

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 5:10 PM, Ruel Luchavez wrote: > > > On Mon, Jul 20, 2009 at 4:55 PM, Polytropon wrote: > >> On Mon, 20 Jul 2009 16:50:48 +0800, Ruel Luchavez >> wrote: >> > On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole >> wrote: >> > > > I know this is running >> > > > >>slapd_flags=

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 4:55 PM, Polytropon wrote: > On Mon, 20 Jul 2009 16:50:48 +0800, Ruel Luchavez > wrote: > > On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole wrote: > > > > I know this is running > > > > >>slapd_flags='-h \"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > > > > ldap://0.0.0.0/

Re: Samba PDC with LDAP backend

2009-07-20 Thread Polytropon
On Mon, 20 Jul 2009 16:50:48 +0800, Ruel Luchavez wrote: > On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole wrote: > > > I know this is running > > > >>slapd_flags='-h \"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > > > ldap://0.0.0.0/ ldap://127.0.0.1/\";' > > > > > > as is issue a command ps -aux

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole wrote: > > I know this is running > > >>slapd_flags='-h \"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > > ldap://0.0.0.0/ ldap://127.0.0.1/\";' > > > > as is issue a command ps -aux | grep slap, hers whats the box give to me > > #ps -aux | grep slap >

Re: Samba PDC with LDAP backend

2009-07-20 Thread Olivier Nicole
> I know this is running > >>slapd_flags='-h \"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > ldap://0.0.0.0/ ldap://127.0.0.1/\";' > > as is issue a command ps -aux | grep slap, hers whats the box give to me > #ps -aux | grep slap > ldap 1273 0.0 6.6 341992 7816 ?? Is4:17PM 0:00.14 > /u

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 4:04 PM, Johan Hendriks wrote: > >> On Sat, Jul 18, 2009 at 12:53:40PM +0800, Ruel Luchavez typed: > >> > On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole > >> wrote: > >> > > >> > > > >> > > > Still it does not start the LDAP, hers my /etc/rc.conf: > >> > > > > >> > > >

RE: Samba PDC with LDAP backend

2009-07-20 Thread Johan Hendriks
>> On Sat, Jul 18, 2009 at 12:53:40PM +0800, Ruel Luchavez typed: >> > On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole >> wrote: >> > >> > > >> > > > Still it does not start the LDAP, hers my /etc/rc.conf: >> > > > >> > > > slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ >> > >

Re: Samba PDC with LDAP backend

2009-07-19 Thread Olivier Nicole
Rhuel, In your starting command you have: > ldaps://192.168.5.0/ ldap://127.0.0.1/";' This means TLS/SSL. If you don't want it, remove it from your command. > Is it necessary to have ssl/tls support? It is up to you. TLS/SSL will bring some extra security. It may be important if the network be

Re: Samba PDC with LDAP backend

2009-07-19 Thread Ruel Luchavez
On Sun, Jul 19, 2009 at 7:28 PM, Ruben de Groot wrote: > On Sat, Jul 18, 2009 at 12:53:40PM +0800, Ruel Luchavez typed: > > On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole > wrote: > > > > > > > > > Still it does not start the LDAP, hers my /etc/rc.conf: > > > > > > > > slapd_flags='-h

Re: Samba PDC with LDAP backend

2009-07-19 Thread Ruben de Groot
On Sat, Jul 18, 2009 at 12:53:40PM +0800, Ruel Luchavez typed: > On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole wrote: > > > > > > Still it does not start the LDAP, hers my /etc/rc.conf: > > > > > > slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > > ldaps:// > > > 192.168.5.0

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole wrote: > > > Still it does not start the LDAP, hers my /etc/rc.conf: > > > > slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > ldaps:// > > 192.168.5.0/ ldap://127.0.0.1/";' > > At this point it would be usefull that you have a lo

Re: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
> Still it does not start the LDAP, hers my /etc/rc.conf: > > slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps:// > 192.168.5.0/ ldap://127.0.0.1/";' At this point it would be usefull that you have a look in the logs at /var/log and see what is wrong in your command line.

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 11:11 AM, Olivier Nicole wrote: > Ruel, > > > I tried you idea with NO SPACE between each URL but when i restart the > LDAP > > it does not start anymore...hmmm > > what did i mess here!!?? > > in /etc/rc.conf I have: > > slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%

Re: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
Ruel, > I tried you idea with NO SPACE between each URL but when i restart the LDAP > it does not start anymore...hmmm > what did i mess here!!?? in /etc/rc.conf I have: slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps://192.41.170.6/ ldap://192.41.170.6/";' see the specific

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 10:25 AM, Olivier Nicole wrote: > Ruel, > > > And yes ldap is running > > #ps -aux | grep slap > > That the process slapd is running does not mean you can access it. > > That: > > > /usr/local/libexec/slapd -h > ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap:// > > 0.0.0.0/l

Re: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
Ruel, > And yes ldap is running > #ps -aux | grep slap That the process slapd is running does not mean you can access it. That: > /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap:// > 0.0.0.0/ldap://192.168.5.0/ldap://127.0 looks strange to me, I am used to someting li

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 10:07 AM, Olivier Nicole wrote: > Hi, > > > >>when I look at the smblap_tools.pm at line 322 this is what it look > likes > > and sorry I cant understand the code: > > > > else { > > $ldap_master = Net::LDAP->new( <--This is line 322 > > "$config{mast

Re: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
Hi, > >>when I look at the smblap_tools.pm at line 322 this is what it look likes > and sorry I cant understand the code: > > else { > $ldap_master = Net::LDAP->new( <--This is line 322 > "$config{masterLDAP}", > port=> "$config{masterPort}", > ve

Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
Hi amazing list... I want to set up Samba PDC with LDAP I Have installed the following package: smblap-tools-0.9.5.tgz samba-3.0.35.tar.gz nss_ldap-264.tar.gz openldap-2.4.16.tgz all the installation are successful, but when I'm going to populate the database I get this weird error saying: #smb