{"id":661,"date":"2008-06-21T21:40:50","date_gmt":"2008-06-21T12:40:50","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=661"},"modified":"2008-06-21T21:40:50","modified_gmt":"2008-06-21T12:40:50","slug":"samba_selinux","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2008\/06\/21\/samba_selinux\/","title":{"rendered":"Samba + SELinux"},"content":{"rendered":"<p>\uff08\u6e9c\u307e\u3063\u3066\u305f\u30e1\u30e2\u3092\u3068\u308a\u3042\u3048\u305a\u3056\u3063\u3068blog\u306b\u66f8\u3044\u3066\u308b\u3068\u3053\u308d\uff09<br \/>\nSELinux\u3063\u3066\u3001\u500b\u4eba\u3084\u5c0f\u898f\u6a21\u4f01\u696d\u3060\u3068\u30aa\u30d5\u306b\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u304c\u5927\u534a\u3060\u3051\u3069\u3001\u3084\u3063\u3071\u308a\u52c9\u5f37\u304c\u3066\u3089\u3042\u308b\u7a0b\u5ea6\u306f\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306a\u3041\u3068\u306f\u601d\u3063\u3066\u3044\u308b\u3002\u5148\u65e5\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u4e8b\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306bSELinux\u3092\u30aa\u30f3\u306b\u3057\u305f\u307e\u307e\u9811\u5f35\u3063\u3066\u307f\u305f\u3002\uff08\u6700\u7d42\u7684\u306b\u306f\u65ad\u5ff5\u3057\u305f\u3093\u3060\u3051\u3069\uff09<br \/>\n\u6700\u8fd1\u306f\u8272\u3005\u3068\u4fbf\u5229\u306b\u306a\u3063\u305f\u3082\u306e\u3067\u3001smb.conf\u5185\u306bSELINUX NOTES\u306a\u3093\u3066\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u3042\u3063\u3066\u3001\u3084\u308b\u3079\u304d\u4e8b\u304c\u66f8\u3044\u3066\u3042\u308b\u3002\u3053\u306e<a href=\"http:\/\/danwalsh.livejournal.com\/14195.html\" target=\"_blank\">\u30da\u30fc\u30b8<\/a>\u3082\u5206\u304b\u308a\u3084\u3059\u304b\u3063\u305f\uff08\u82f1\u8a9e\uff09\u3002<\/p>\n<p><!--more--><br \/>\n\u3067\u3001\u305d\u308c\u3089\u306e\u60c5\u5831\u901a\u308a\u306b\u3084\u308b\u3068\u6b86\u3069\u306e\u6a5f\u80fd\u306f\u4f7f\u3048\u308b\u3093\u3060\u3051\u3069\u3001\u4e00\u3064\u3060\u3051\u51fa\u6765\u306a\u3044\u6a5f\u80fd\u304c\u3042\u3063\u305f\u3002\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eWindows\u30de\u30b7\u30f3\u3067Ctrl+Alt+Del\u304b\u3089\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3059\u308b\u3068\u3044\u3046\u3084\u3064\u3002<br \/>\n\u4ee5\u4e0b\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3002<\/p>\n<div class=\"code\">\/usr\/share\/cracklib\/pw_dict.pwd: Permission denied<br \/>\nPWOpen: Invalid argument<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/util_sock.c:get_peer_addr(1232)<br \/>\ngetpeername failed. Error was Transport endpoint is not connected<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/util_sock.c:get_peer_addr(1232)<br \/>\ngetpeername failed. Error was Transport endpoint is not connected<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/access.c:check_access(327)<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/util_sock.c:get_peer_addr(1232)<br \/>\ngetpeername failed. Error was Transport endpoint is not connected<br \/>\nDenied connection from  (0.0.0.0)<br \/>\n[2008\/05\/06 11:16:59, 1] smbd\/process.c:process_smb(1061)<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/util_sock.c:get_peer_addr(1232)<br \/>\ngetpeername failed. Error was Transport endpoint is not connected<br \/>\nConnection denied from 0.0.0.0<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/util_sock.c:write_data(562)<br \/>\nwrite_data: write failure in writing to client 192.168.1.2. Error Connection r<br \/>\neset by peer<br \/>\n[2008\/05\/06 11:16:59, 0] lib\/util_sock.c:send_smb(769)<br \/>\nError writing 5 bytes to client. -1. (Connection reset by peer)<\/div>\n<p>SELinux\u306esamba\u95a2\u4fc2\u306e\u6a5f\u80fd\u3060\u3051\u30aa\u30d5\u306b\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3082\u3042\u308b\u3089\u3057\u304f\uff08<a href=\"http:\/\/lists.samba.org\/archive\/samba\/2006-May\/120625.html\" target=\"_blank\">\u53c2\u8003\u30da\u30fc\u30b8<\/a>\uff09\u3001\u305d\u308c\u3082\u8a66\u3057\u305f\u3051\u3069\u30c0\u30e1\u3002\u7d50\u5c40SELinu\u81ea\u4f53\u3092\u30aa\u30d5\u306b\u3057\u305f\u3002<br \/>\nSELinux\u306e\u30aa\u30d5\u306e\u4ed5\u65b9\u306f<a href=\"http:\/\/www.stbbs.net\/blog\/2007\/10\/redhat-centos-selinux.html\" target=\"_blank\">\u3053\u306e\u8fba<\/a>\u3092\u53c2\u8003\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SELinux\u3092\u30aa\u30f3\u306b\u3057\u305f\u72b6\u614b\u3067samba\u3092\u52d5\u304b\u305d\u3046\u3068\u3057\u305f\u3051\u3069\u3001\u8272\u3005\u96e3\u3057\u3044<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[32],"tags":[235],"class_list":["post-661","post","type-post","status-publish","format-standard","hentry","category-linux-unix","tag-samba-selinux"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=661"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/661\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}