Hello all,
How are you? We have installed to OpenLDAP server a few days ago and referred server logs to logserver. But couldn't not read to OpenLDAP log on the logserver.
Logserver record all log to database and send e-mailing.
Example:
Oct 21 10:54:23 ldapserver slapd[1595]: @(#) $OpenLDAP: slapd 2.4.44 (Oct 21 2016 10:49:33) $#012#011mueddib@ldapserver:/home/mueddib/openldap-2.4.44/servers/slapd Oct 21 10:54:23 ldapserver slapd[1596]: mdb_monitor_db_open: monitoring disabled; configure monitor database to enable Oct 21 10:54:23 ldapserver slapd[1596]: slapd starting
For example unnecessary rows: "@(#)" " $#012#011"
I fixed it but I couldn't commit to git :)
# git status On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage)
modified: build/mkvers.bat modified: build/mkversion
# git push origin master fatal: remote error: access denied or repository not exported: /openldap.git # git push origin origin fatal: remote error: access denied or repository not exported: /openldap.git
I don't know why don't have access to OpenLDAP Git Server (I would like your help).
Please can you fix the below code?
File: /build/mkvers.bat
from:
(echo "@(#) $" OPENLDAP_PACKAGE ": %3 " OPENLDAP_VERSION) >> %2 (echo " (" __DATE__ " " __TIME__ ") $\n") >> %2 (echo "\t%USERNAME%@%COMPUTERNAME% %CD:=/%\n";) >> %2
to (please):
(echo OPENLDAP_PACKAGE ": %3 " OPENLDAP_VERSION) >> %2 (echo " (" __DATE__ " " __TIME__ ") \n") >> %2 (echo "%USERNAME%@%COMPUTERNAME% %CD:=/%\n";) >> %2
File: /build/mkversion
from:
$static $const char $SYMBOL[] = "@(#) $$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") $\n" "\t$WHOWHERE\n";
to (please):
$static $const char $SYMBOL[] = "$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \n" "$WHOWHERE\n";
This style a very primitive coding method, I know, sorry. I'm waiting for help on how to Git.
Regards,