[Samba] LDAP items that might help for How-to

2005-03-10 Thread Mccrory, Kevin B
Might want to include the following command in LDAP config incase LDAP
doesn't start.

slapd -u ldap -g ldap -d -1

This command pointed out that I hadn't copied my samba.schema to the
/etc/openldap/schema directory. Might want to put that in the doc before you
start LDAP. A newbie like me might pass over that little detail while
following the instructions...

Kevin B. McCrory
Network Engineer - COPS
US Government Solutions
13600 EDS Drive
Mail stop:  A4S-B21
Herndon, VA 20171
* phone: +01-703-733-3255
* mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
* AKO mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP items that might help for How-to

2005-03-10 Thread Gavin Henry
quote who=Mccrory, Kevin B
 Might want to include the following command in LDAP config incase LDAP
 doesn't start.

 slapd -u ldap -g ldap -d -1

 This command pointed out that I hadn't copied my samba.schema to the
 /etc/openldap/schema directory. Might want to put that in the doc before
 you
 start LDAP. A newbie like me might pass over that little detail while
 following the instructions...


Hi,

I think this is taken care of with syslog, we added loglevel 256 to
slapd.conf, so a simple tail -f logfile.log will show the problems.


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP items that might help for How-to

2005-03-10 Thread John H Terpstra
On Thursday 10 March 2005 08:28, Gavin Henry wrote:
 quote who=Mccrory, Kevin B

  Might want to include the following command in LDAP config incase LDAP
  doesn't start.
 
  slapd -u ldap -g ldap -d -1
 
  This command pointed out that I hadn't copied my samba.schema to the
  /etc/openldap/schema directory. Might want to put that in the doc before
  you
  start LDAP. A newbie like me might pass over that little detail while
  following the instructions...

 Hi,

 I think this is taken care of with syslog, we added loglevel 256 to
 slapd.conf, so a simple tail -f logfile.log will show the problems.

Gavin is correct here. Thanks for the input but on this occassion it seems I 
need to add more reference to scanning the logs. I'll think about the best 
way to tackle that.

- John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP items that might help for How-to

2005-03-10 Thread Tony Earnshaw

John H Terpstra:

[...]

 Gavin is correct here. Thanks for the input but on this occassion it
 seems I need to add more reference to scanning the logs. I'll think about
 the best way to tackle that.

Yes, gavin is correct. However, it's not just a question of scanning the
logs, but also interpreting them correctly.

I run Red Hat RHAS. Mostly /etc/rc.d/init.d/ldap (my own implementation)
will let you see what goes on at daemon startup. But if it doesn't (which
can happen quite a lot), it is often useful to start up the daemon by hand
at the CLI, using the command line in the ldap script. The debug level can
then be configured in the CLI command.

Like in my RH startup script I have:

daemon ${slapd} -u ldap -h ldap://tru.leerlingen/ ldaps://tru.leerlingen/
ldapi://%2Fusr%2Flocal%2Fvar%2Fslapd%2Fldapi/x-mod=0777 $OPTIONS
$SLAPD_OPTIONS

This presupposes multiple xterm windows open, ALT from the one to the other..

service ldap stop

At the CLI I substitute.

'slapd -u ldap -d 256 -h ldap://whatever.host/ ldaps://whatever.host/
ldapi://%2Fusr%2Flocal%2Fvar%2Fslapd%2Fldapi/x-mod=0777'

 Change the -d bit to whatever suits.

 Leave out the ldapi bit, if you don't understand or use it.

 Leave out the ldaps bit, if you don't understand or use it.

If there are any slapd.conf faults or whatever, the CLI startup line will
detail them.

--Tonni

Baaie dankie aan/Many thanks to Exim's Philip Hazel who taught me to think
this way, before I left Exim for Postfix.

--
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba