Bug #1137
nethserver-samba-conf action exits with error code 768
Status: | CLOSED | Start date: | 05/21/2012 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Associated revisions
nethserver-samba-conf action: added error log messages. Refs #1137 - nethserver-samba-conf action exits with error code 768
nethserver-samba-conf: removed error log messages. Refs #1137 - nethserver-samba-conf action exits with error code 768
LDAP.pm merge(): fixed returned Message object on NOOP. Refs #1137 - nethserver-samba-conf action exits with error code 768
nethserver-samba-conf: moved acl setup into new action nethserver-samba-aclsetup. Refs #1137
merge() (LDAP.pm): added $message initialization. Refs #1137
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
nethserver-directory-update event: reordered action invocations. Refs #1137
nethserver-samba-aclsetup action: checked if smb service is enabled, to plug this action safely into nethserver-directory-update event. Refs #1137
nethserver-samba-aclsetup action: fixed exit code. Refs #1137
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