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 know that

Re: Samba PDC with LDAP backend

2009-09-04 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 6:51 PM, Ruben de Groot mai...@bzerk.org 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

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 o...@cs.ait.ac.th wrote: Still it does not start the LDAP, hers my /etc/rc.conf: slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps:// /

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 4:04 PM, Johan Hendriks jo...@double-l.nl 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 o...@cs.ait.ac.th wrote: Still it does not start the LDAP, hers my /etc/rc.conf:

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

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole o...@cs.ait.ac.th 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 Polytropon
On Mon, 20 Jul 2009 16:50:48 +0800, Ruel Luchavez ruel.free...@gmail.com wrote: On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole o...@cs.ait.ac.th 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

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 4:55 PM, Polytropon free...@edvax.de wrote: On Mon, 20 Jul 2009 16:50:48 +0800, Ruel Luchavez ruel.free...@gmail.com wrote: On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole o...@cs.ait.ac.th wrote: I know this is running slapd_flags='-h

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 5:10 PM, Ruel Luchavez ruel.free...@gmail.comwrote: On Mon, Jul 20, 2009 at 4:55 PM, Polytropon free...@edvax.de wrote: On Mon, 20 Jul 2009 16:50:48 +0800, Ruel Luchavez ruel.free...@gmail.com wrote: On Mon, Jul 20, 2009 at 4:35 PM, Olivier Nicole o...@cs.ait.ac.th

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/ http://127.0.0.1/ ldap://MailScanner warning: numerical links are often malicious:

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 script

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 6:17 PM, Olivier Nicole o...@cs.ait.ac.th 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

Re: Samba PDC with LDAP backend

2009-07-20 Thread Ruel Luchavez
On Mon, Jul 20, 2009 at 6:21 PM, Ruel Luchavez ruel.free...@gmail.comwrote: On Mon, Jul 20, 2009 at 6:17 PM, Olivier Nicole o...@cs.ait.ac.th wrote: #smbldap-populate -u 1 -g 1 -r 1 Populating LDAP directory for domain MYDOMAIN (S-1-5-21-2772587264-3389604304-3649373591)

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

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 o...@cs.ait.ac.th 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-19 Thread Ruel Luchavez
On Sun, Jul 19, 2009 at 7:28 PM, Ruben de Groot mai...@bzerk.org 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 o...@cs.ait.ac.th wrote: Still it does not start the LDAP, hers my /etc/rc.conf:

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

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}, version = 3,

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 10:07 AM, Olivier Nicole o...@cs.ait.ac.th 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

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 like:

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 10:25 AM, Olivier Nicole o...@cs.ait.ac.th 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://

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 use

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 11:11 AM, Olivier Nicole o...@cs.ait.ac.th 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

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. It

Re: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole o...@cs.ait.ac.th 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