Changeset 988 for vendor/current/source4/ntp_signd
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- Location:
- vendor/current/source4/ntp_signd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source4/ntp_signd/ntp_signd.c
r746 r988 42 42 #include "system/passwd.h" 43 43 44 NTSTATUS server_service_ntp_signd_init(void); 45 44 46 /* 45 47 top level context structure for the ntp_signd server … … 179 181 180 182 if (res->count == 0) { 181 DEBUG( 5, ("Failed to find SID %s in SAM for NTP signing\n",183 DEBUG(2, ("Failed to find SID %s in SAM for NTP signing\n", 182 184 dom_sid_string(mem_ctx, sid))); 185 return signing_failure(ntp_signd_conn, 186 mem_ctx, 187 output, 188 sign_request.packet_id); 183 189 } else if (res->count != 1) { 184 190 DEBUG(1, ("Found SID %s %u times in SAM for NTP signing\n", … … 493 499 const char *address; 494 500 495 if (!directory_create_or_exist (lpcfg_ntp_signd_socket_directory(task->lp_ctx), geteuid(), 0755)) {501 if (!directory_create_or_exist_strict(lpcfg_ntp_signd_socket_directory(task->lp_ctx), geteuid(), 0750)) { 496 502 char *error = talloc_asprintf(task, "Cannot create NTP signd pipe directory: %s", 497 503 lpcfg_ntp_signd_socket_directory(task->lp_ctx)); -
vendor/current/source4/ntp_signd/wscript_build
r740 r988 7 7 deps='samdb NDR_NTP_SIGND LIBTSOCKET LIBSAMBA_TSOCKET', 8 8 internal_module=False, 9 enabled=bld.AD_DC_BUILD_IS_ENABLED() 9 10 ) 10 11
Note:
See TracChangeset
for help on using the changeset viewer.