После плясок с бубнами имею вот такой конфиг
Код: Выделить всё
[global]
workgroup = AKIRA
server string = openSUSE
security = user
map to guest = bad user
netbios name = Andrey
usershare allow guests = Yes
wins support = Yes
null passwords = yes
log level = 3
[Torrent]
path = /home/white/Torrent
map to guest = bad user
guest ok = Yes
guest only = No
writeable = Yes
[netlogon]
guest ok = Yes
available = Yes
Однако ситуация улучшилась не на много.Сейчас могу зайти только с линукса на свою шару-
так же появляется запрос авторизации,приходится забивать имя,но без пароля.
Если убрать null passwords = yes то не входит даже если вводить пароль.
С винды не заходит никак-показывает шару,если кликать по ней то отказ в доступе,даже без попыток запроса авторизации.
smbd.log имеет вот такое
Код: Выделить всё
[2015/02/12 19:22:16.102339, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:22:16.364852, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:22:16.852481, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:22:17.102267, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:22:17.852551, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:23:07.898968, 3] ../source3/nmbd/nmbd_sendannounce.c:212(send_host_announcement)
send_host_announcement: type 819a03 for host ANDREY on subnet 192.168.1.100 for workgroup AKIRA
[2015/02/12 19:23:07.970383, 3] ../source3/nmbd/nmbd_elections.c:80(check_for_master_browser_success)
check_for_master_browser_success: Local master browser for workgroup AKIRA exists at IP 192.168.1.101 (just checking).
[2015/02/12 19:23:12.394684, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:23:13.136650, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:23:13.902295, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:23:14.331821, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:23:15.078456, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:23:15.824334, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
где 192.168.1.101адресс ноутбука с виндой.
Есть еще вот такое
Код: Выделить всё
[2015/02/12 19:17:28.394299, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28211 -- ignoring
[2015/02/12 19:18:28.456308, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28234 -- ignoring
[2015/02/12 19:19:28.515270, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28252 -- ignoring
[2015/02/12 19:20:28.576569, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28314 -- ignoring
[2015/02/12 19:21:28.637230, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28749 -- ignoring
[2015/02/12 19:22:28.697459, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28760 -- ignoring
[2015/02/12 19:23:28.757362, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28779 -- ignoring
[2015/02/12 19:24:28.818749, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28797 -- ignoring
[2015/02/12 19:25:28.879272, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 28850 -- ignoring
nmbd.log
Код: Выделить всё
[2015/02/12 19:26:36.828776, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:01.363971, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:02.105421, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:02.380214, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:02.855569, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:03.121055, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:03.871090, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name ISATAP<00>
[2015/02/12 19:27:05.584948, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.102 on subnet 192.168.1.100 for name AKIRA<1b>
[2015/02/12 19:27:05.651150, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.101 on subnet 192.168.1.100 for name KIRA<00>
[2015/02/12 19:27:06.325524, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.102 on subnet 192.168.1.100 for name AKIRA<1b>
[2015/02/12 19:27:07.072793, 3] ../source3/nmbd/nmbd_incomingrequests.c:459(process_name_query_request)
process_name_query_request: Name query from 192.168.1.102 on subnet 192.168.1.100 for name AKIRA<1b>
При попытке войти через консоль без указания данных учетки пользователя имею следующее
Код: Выделить всё
inux-white:/home/white # smbclient -L localhost
WARNING: The "null passwords" option is deprecated
Enter white's password:
session setup failed: NT_STATUS_LOGON_FAILURE
Если указать пользователя то пускает
Код: Выделить всё
linux-white:/home/white # smbclient -L localhost -U white:********
WARNING: The "null passwords" option is deprecated
Enter white:123456's password:
Domain=[AKIRA] OS=[Unix] Server=[Samba 4.1.11-3.26.1-3274-SUSE-oS13.1-i386]
Sharename Type Comment
--------- ---- -------
Torrent Disk
IPC$ IPC IPC Service (openSUSE)
Domain=[AKIRA] OS=[Unix] Server=[Samba 4.1.11-3.26.1-3274-SUSE-oS13.1-i386]
Server Comment
--------- -------
ANDREY openSUSE
Workgroup Master
--------- -------
AKIRA
Вообще ничего не понимаю
Почему не отрабатывает bad user,в упор не понимаю чего произошло с самбой.
Конфиг простейший,руками ниче не ковырял,подсовывал заведомо рабочий-ноль внимания.
Суть вопроса-как вернуть все в рабочее состояние...
Нужно убрать авторизацию и дать доступ виндовым клиентам.