Bug #1137

nethserver-samba-conf action exits with error code 768

Added by Davide Principi about 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:05/21/2012
Priority:NormalDue date:05/21/2012
Assignee:-% Done:

100%

Category:nethserver-directory
Target version:DEV104
Security class: Resolution:
Affected version:DEV103 NEEDINFO:

Description

After event-queue signal an error message is logged:

May 21 14:50:06 davidep3 esmith: :event[1288]: Running event handler: /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf
May 21 14:50:07 davidep3 esmith: :event[1288]: Added samba.ldif schema#012
May 21 14:50:07 davidep3 esmith: :event[1288]: LDAP_NO_SUCH_OBJECT No such object at /usr/share/perl5/vendor_perl/NethServer/Directory/LDAP.pm line 23.#012
May 21 14:50:07 davidep3 esmith: :event[1288]: LDAP_NO_SUCH_OBJECT No such object at /usr/share/perl5/vendor_perl/NethServer/Directory/LDAP.pm line 23.#012
May 21 14:50:07 davidep3 esmith: :event[1288]: LDAP_NO_SUCH_OBJECT No such object at /usr/share/perl5/vendor_perl/NethServer/Directory/LDAP.pm line 23.#012
May 21 14:50:07 davidep3 esmith: :event[1288]: LDAP_NO_SUCH_OBJECT No such object at /usr/share/perl5/vendor_perl/NethServer/Directory/LDAP.pm line 23.#012
May 21 14:50:07 davidep3 esmith: :event[1288]: LDAP_NO_SUCH_OBJECT No such object at /usr/share/perl5/vendor_perl/NethServer/Directory/LDAP.pm line 23.#012
May 21 14:50:07 davidep3 esmith: :event[1288]: LDAP_NO_SUCH_OBJECT No such object at /usr/share/perl5/vendor_perl/NethServer/Directory/LDAP.pm line 23.#012
May 21 14:50:07 davidep3 /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf[2105]: /home/e-smith/db/configuration: OLD smb=service|DeadTime|10080|FwAdjustTCP|139,445|KeepVersions|disabled|OsLevel|35|RecycleBin|disabled|RoamingProfiles|no|Runlevels|2,3,4,5|ServerRole|WS|ShadowDir|/home/e-smith/files/.shadow|TCPPorts|139,445|UnixCharSet|UTF8|UseClientDriver|yes|Workgroup|nethesis.it|access|private|status|enabled
May 21 14:50:07 davidep3 /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf[2105]: /home/e-smith/db/configuration: NEW smb=service|DeadTime|10080|FwAdjustTCP|139,445|KeepVersions|disabled|OsLevel|35|RecycleBin|disabled|RoamingProfiles|no|Runlevels|2,3,4,5|ServerRole|WS|ShadowDir|/home/e-smith/files/.shadow|TCPPorts|139,445|UnixCharSet|UTF8|UseClientDriver|yes|Workgroup|nethesis.it|access|private|managedBy|nethserver-samba|status|enabled
May 21 14:50:07 davidep3 /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf[2105]: /home/e-smith/db/configuration: OLD nmb=service|FwAdjustUDP|137,138|Runlevels|2,3,4,5|UDPPorts|137,138|access|private|status|enabled
May 21 14:50:07 davidep3 /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf[2105]: /home/e-smith/db/configuration: NEW nmb=service|FwAdjustUDP|137,138|Runlevels|2,3,4,5|UDPPorts|137,138|access|private|managedBy|nethserver-samba|status|enabled
May 21 14:50:07 davidep3 /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf[2105]: /home/e-smith/db/configuration: OLD winbind=service|Runlevels|2,3,4,5|status|enabled
May 21 14:50:07 davidep3 /etc/e-smith/events/nethserver-directory-update/S30nethserver-samba-conf[2105]: /home/e-smith/db/configuration: NEW winbind=service|Runlevels|2,3,4,5|managedBy|nethserver-samba|status|enabled
May 21 14:50:07 davidep3 esmith: :event[1288]: S30nethserver-samba-conf=action|Event|nethserver-directory-update|Action|S30nethserver-samba-conf|Start|1337604606 744139|End|1337604607 473560|Elapsed|0.729421|Status|768

Related issues

Blocks NethServer 6 - Feature #1043: Handling managedBy prop in callback actions CLOSED 05/18/2012 05/21/2012

Associated revisions

Revision 0f09688e
Added by Davide Principi about 9 years ago

nethserver-samba-conf action: added error log messages. Refs #1137 - nethserver-samba-conf action exits with error code 768

Revision 5e6225bb
Added by Davide Principi about 9 years ago

nethserver-samba-conf: removed error log messages. Refs #1137 - nethserver-samba-conf action exits with error code 768

Revision ce53f85e
Added by Davide Principi about 9 years ago

LDAP.pm merge(): fixed returned Message object on NOOP. Refs #1137 - nethserver-samba-conf action exits with error code 768

Revision 71035457
Added by Davide Principi about 9 years ago

nethserver-samba-conf: moved acl setup into new action nethserver-samba-aclsetup. Refs #1137

Revision 3b851e04
Added by Davide Principi about 9 years ago

merge() (LDAP.pm): added $message initialization. Refs #1137

Revision 06d74936
Added by Davide Principi about 9 years ago

adjust-services action: checking service enabled state before adjusting it. Refs #1137 - nethserver-samba-conf action exits with error code 768

- removed e-smith supevised service logics

Revision 307b37f3
Added by Davide Principi about 9 years ago

nethserver-directory-update event: reordered action invocations. Refs #1137

Revision 0defb9a3
Added by Davide Principi about 9 years ago

nethserver-samba-aclsetup action: checked if smb service is enabled, to plug this action safely into nethserver-directory-update event. Refs #1137

Revision c91707fc
Added by Davide Principi about 9 years ago

nethserver-samba-aclsetup action: fixed exit code. Refs #1137

Revision e705c7b4
Added by Davide Principi over 8 years ago

nethserver-directory-update event: refactored nethserver-mail-server-conf, by moving LDAP acl setup into nethserver-mail-server-ldapsetup action. Refs #1137, #1577

History

#1 Updated by Davide Principi about 9 years ago

  • Project changed from 2 to 47

The problem is the exit code returned by merge(): it is a non-zero value, even if no error has occurred.

#2 Updated by Davide Principi about 9 years ago

  • % Done changed from 20 to 80

#3 Updated by Davide Principi about 9 years ago

  • Status changed from ON_DEV to 7
  • % Done changed from 80 to 100

#4 Updated by Davide Principi over 8 years ago

  • Project changed from 47 to NethServer 6

Also available in: Atom PDF