Toon posts:

[Samba] Windows kan niet inloggen

Pagina: 1
Acties:

  • TheMOD
  • Registratie: November 2008
  • Laatst online: 31-01-2022
Beste mensen,

Ik ben nu al een aantal dagen bezig met een probleem, and it's driving me nuts! Ik heb een Samba 3.5 server op een FreeBSD 8.2 installatie. Ik heb die geconfigureerd en alles lijkt te werken, behalve dat Windows niet kan inloggen! Elke keer als ik naar een share wil bladeren krijg ik een login venster. En wat ik ook invul, ik kan niet inloggen! Hieronder is een kopie van het configuratiebestand:


code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[global]
workgroup = NETWERK-G*****
server string = TheMODs Storage Samba
security = user
load printers = no
guest account = nobody
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hide dot files = no
socket options = IPTOS_LOWDELAY TCP_NODELAY

[prive]
path = /tank/homes
browseable = yes
read only = no
valid users = ******
guest ok = no


Ik heb al van alles geprobeerd: Ik heb verschillende configuratieopties geprobeerd, ik heb gebruikers toegevoegd met smbpasswd, ik heb NTLMv1 aangezet in Windows en nog veel meer.
De werkgroep klopt, ik heb al vaak gevarieerd met smbpasswd en de ook bestaan de gebruikers gewoon in BSD (Ik weet dat het én Linux én SMB gebruikers moeten zijn).
Ik heb het halve internet afgestruind op zoek naar oplossingen, maar bij de meeste werkt het gewoon en bij diegene waar het niet werkt werken de 'oplossingen' ook niet.

Ik hoop nu van harte dat hier iemand is met verstand hiervan, want ik weet het niet meer. Ik ben best goed thuis in Linux, Windows en netwerken, maar hier kom ik niet uit.

Groeten,
TheMOD

  • CAPSLOCK2000
  • Registratie: Februari 2003
  • Laatst online: 12:47

CAPSLOCK2000

zie teletekst pagina 888

Heb je het loglevel al verhoogd? Verschijnt er dan misschien iets interessants in de logs?

This post is warranted for the full amount you paid me for it.


  • ChaserBoZ_
  • Registratie: September 2005
  • Laatst online: 14:42
Idd, check de logs eens. En/of test eens een keer met guest access, zodat de share compleet open staat.

'Maar het heeft altijd zo gewerkt . . . . . . '


  • ik222
  • Registratie: Maart 2007
  • Niet online
Hoe staan rechten op de map die je shared?

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 04-06 22:27

Hero of Time

Moderator LNX

There is only one Legend

Welke Windows gaat het om? Windows 7 kan nogal een bitch zijn met Samba als het niet degelijk is ingesteld. Network Discovery moet bijvoorbeeld aan staan en ik meen dat er nog iets was dat aan of uit moest. Beetje hetzelfde idee als je met XP en 7 bestanden deelt onderling.

Commandline FTW | Tweakt met mate


  • TheMOD
  • Registratie: November 2008
  • Laatst online: 31-01-2022
Ik heb het log-level op 5 gezet, en dan komt er dit uit als ik probeer in te loggen:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
[2011/09/25 18:37:17.327908,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [Thomas-Laptop]\[Thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:17.327929,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [Thomas-Laptop] to [] for user [Thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:17.327939,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for Thomas (Thomas)
[2011/09/25 18:37:17.327950,  5] auth/auth_util.c:132(make_user_info)
  making strings for Thomas's user_info struct
[2011/09/25 18:37:17.327960,  5] auth/auth_util.c:164(make_user_info)
  making blobs for Thomas's user_info struct
[2011/09/25 18:37:17.327970,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [Thomas-Laptop]\[Thomas]@[THOMAS-LAPTOP] with the new password interface
[2011/09/25 18:37:17.327985,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[Thomas]@[THOMAS-LAPTOP]
[2011/09/25 18:37:17.327996,  5] ../lib/util/util.c:278(_dump_data)
  [0000] 26 E4 FD 80 7E F9 AC 2E                            &...~... 
[2011/09/25 18:37:17.328015,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [Thomas] -> [Thomas] FAILED with error NT_STATUS_NO_SUCH_USER
[2011/09/25 18:37:17.328027,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2011/09/25 18:37:17.328046,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/sesssetup.c(111) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2011/09/25 18:37:17.328062,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.328069,  5] lib/util.c:627(show_msg)
  size=35
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=128
  smt_wct=0
  smb_bcc=0
[2011/09/25 18:37:17.354150,  3] smbd/process.c:1485(process_smb)
  Transaction 3 of length 142 (0 toread)
[2011/09/25 18:37:17.354166,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.354178,  5] lib/util.c:627(show_msg)
  size=138
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=192
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=   74 (0x4A)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=79
[2011/09/25 18:37:17.354236,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 1664) conn 0x0
[2011/09/25 18:37:17.354247,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:17.354256,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:17.354266,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:17.354287,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:17.354299,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/09/25 18:37:17.354309,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:37:17.354319,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/09/25 18:37:17.354330,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/09/25 18:37:17.354352,  5] smbd/sesssetup.c:754(parse_spnego_mechanisms)
  parse_spnego_mechanisms: Got OID 1.3.6.1.4.1.311.2.2.10
[2011/09/25 18:37:17.354363,  3] smbd/sesssetup.c:806(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2011/09/25 18:37:17.354374,  5] auth/auth.c:487(make_auth_context_subsystem)
  Making default auth method list for standalone security=user, encrypt passwords = yes
[2011/09/25 18:37:17.354392,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2011/09/25 18:37:17.354403,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2011/09/25 18:37:17.354413,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2011/09/25 18:37:17.354423,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2011/09/25 18:37:17.354434,  3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088297
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_NEGOTIATE_OEM
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_LM_KEY
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2011/09/25 18:37:17.354468,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module guest did not want to specify a challenge
[2011/09/25 18:37:17.354478,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module sam did not want to specify a challenge
[2011/09/25 18:37:17.354490,  5] auth/auth.c:132(get_ntlm_challenge)
  auth_context challenge created by random
[2011/09/25 18:37:17.354500,  5] auth/auth.c:133(get_ntlm_challenge)
  challenge is: 
[2011/09/25 18:37:17.354509,  5] ../lib/util/util.c:278(_dump_data)
  [0000] 3A 9C 18 41 33 63 5D 85                            :..A3c]. 
[2011/09/25 18:37:17.355615,  3] ../lib/util/util_net.c:68(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name  [hostname nor servname provided, or not known]
[2011/09/25 18:37:17.355649,  3] lib/util_sock.c:1796(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name  [Success]
[2011/09/25 18:37:17.356680,  3] ../lib/util/util_net.c:68(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name  [hostname nor servname provided, or not known]
[2011/09/25 18:37:17.356717,  3] lib/util_sock.c:1796(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name  [Success]
[2011/09/25 18:37:17.356756,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.356764,  5] lib/util.c:627(show_msg)
  size=202
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=101
  smb_mid=192
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   95 (0x5F)
  smb_bcc=159
[2011/09/25 18:37:17.357827,  3] smbd/process.c:1485(process_smb)
  Transaction 4 of length 296 (0 toread)
[2011/09/25 18:37:17.357866,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.357883,  5] lib/util.c:627(show_msg)
  size=292
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=65535
  smb_pid=65279
  smb_uid=101
  smb_mid=256
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  228 (0xE4)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=233
[2011/09/25 18:37:17.357997,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 1664) conn 0x0
[2011/09/25 18:37:17.358016,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:17.358037,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:17.358054,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:17.358095,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:17.358115,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/09/25 18:37:17.358145,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:37:17.358162,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/09/25 18:37:17.358183,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/09/25 18:37:17.358214,  3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
  Got user=[Thomas] domain=[Thomas-Laptop] workstation=[THOMAS-LAPTOP] len1=24 len2=24
[2011/09/25 18:37:17.358239,  5] auth/auth_ntlmssp.c:70(auth_ntlmssp_set_challenge)
  auth_context challenge set by NTLMSSP callback (NTLM2)
[2011/09/25 18:37:17.358271,  5] auth/auth_ntlmssp.c:71(auth_ntlmssp_set_challenge)
  challenge is: 
[2011/09/25 18:37:17.358288,  5] ../lib/util/util.c:278(_dump_data)
  [0000] E9 C6 21 28 CB B0 29 E7                            ..!(..). 
[2011/09/25 18:37:17.358371,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [Thomas-Laptop]\[Thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:17.358395,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [Thomas-Laptop] to [] for user [Thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:17.358418,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for Thomas (Thomas)
[2011/09/25 18:37:17.358435,  5] auth/auth_util.c:132(make_user_info)
  making strings for Thomas's user_info struct
[2011/09/25 18:37:17.358455,  5] auth/auth_util.c:164(make_user_info)
  making blobs for Thomas's user_info struct
[2011/09/25 18:37:17.358473,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [Thomas-Laptop]\[Thomas]@[THOMAS-LAPTOP] with the new password interface
[2011/09/25 18:37:17.358497,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[Thomas]@[THOMAS-LAPTOP]
[2011/09/25 18:37:17.358514,  5] ../lib/util/util.c:278(_dump_data)
  [0000] E9 C6 21 28 CB B0 29 E7                            ..!(..). 
[2011/09/25 18:37:17.358555,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [Thomas] -> [Thomas] FAILED with error NT_STATUS_NO_SUCH_USER
[2011/09/25 18:37:17.358579,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2011/09/25 18:37:17.358606,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/sesssetup.c(111) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2011/09/25 18:37:17.358630,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.358645,  5] lib/util.c:627(show_msg)
  size=35
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=101
  smb_mid=256
  smt_wct=0
  smb_bcc=0
[2011/09/25 18:37:17.361632,  3] smbd/process.c:1485(process_smb)
  Transaction 5 of length 142 (0 toread)
[2011/09/25 18:37:17.361659,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.361673,  5] lib/util.c:627(show_msg)
  size=138
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=320
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=   74 (0x4A)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=79
[2011/09/25 18:37:17.361786,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 1664) conn 0x0
[2011/09/25 18:37:17.361806,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:17.361822,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:17.361839,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:17.361888,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:17.361912,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/09/25 18:37:17.361929,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:37:17.361945,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/09/25 18:37:17.361963,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/09/25 18:37:17.362008,  5] smbd/sesssetup.c:754(parse_spnego_mechanisms)
  parse_spnego_mechanisms: Got OID 1.3.6.1.4.1.311.2.2.10
[2011/09/25 18:37:17.362031,  3] smbd/sesssetup.c:806(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2011/09/25 18:37:17.362049,  5] auth/auth.c:487(make_auth_context_subsystem)
  Making default auth method list for standalone security=user, encrypt passwords = yes
[2011/09/25 18:37:17.362071,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2011/09/25 18:37:17.362090,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2011/09/25 18:37:17.362108,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2011/09/25 18:37:17.362130,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2011/09/25 18:37:17.362148,  3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088297
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_NEGOTIATE_OEM
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_LM_KEY
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2011/09/25 18:37:17.362223,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module guest did not want to specify a challenge
[2011/09/25 18:37:17.362240,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module sam did not want to specify a challenge
[2011/09/25 18:37:17.362266,  5] auth/auth.c:132(get_ntlm_challenge)
  auth_context challenge created by random
[2011/09/25 18:37:17.362283,  5] auth/auth.c:133(get_ntlm_challenge)
  challenge is: 
[2011/09/25 18:37:17.362301,  5] ../lib/util/util.c:278(_dump_data)
  [0000] 83 4A 8D 23 2B 91 8B E5                            .J.#+... 
[2011/09/25 18:37:17.363322,  3] ../lib/util/util_net.c:68(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name  [hostname nor servname provided, or not known]
[2011/09/25 18:37:17.363386,  3] lib/util_sock.c:1796(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name  [Success]
[2011/09/25 18:37:17.364705,  3] ../lib/util/util_net.c:68(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name  [hostname nor servname provided, or not known]
[2011/09/25 18:37:17.364764,  3] lib/util_sock.c:1796(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name  [Success]
[2011/09/25 18:37:17.364836,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.364852,  5] lib/util.c:627(show_msg)
  size=202
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=102
  smb_mid=320
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   95 (0x5F)
  smb_bcc=159
[2011/09/25 18:37:17.365887,  3] smbd/process.c:1485(process_smb)
  Transaction 6 of length 296 (0 toread)
[2011/09/25 18:37:17.365918,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.365932,  5] lib/util.c:627(show_msg)
  size=292
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=65535
  smb_pid=65279
  smb_uid=102
  smb_mid=384
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  228 (0xE4)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=233
[2011/09/25 18:37:17.366056,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 1664) conn 0x0
[2011/09/25 18:37:17.366079,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:17.366097,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:17.366113,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:17.366150,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:17.366170,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/09/25 18:37:17.366192,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:37:17.366210,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/09/25 18:37:17.366229,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/09/25 18:37:17.366262,  3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
  Got user=[Thomas] domain=[Thomas-Laptop] workstation=[THOMAS-LAPTOP] len1=24 len2=24
[2011/09/25 18:37:17.366281,  5] auth/auth_ntlmssp.c:70(auth_ntlmssp_set_challenge)
  auth_context challenge set by NTLMSSP callback (NTLM2)
[2011/09/25 18:37:17.366305,  5] auth/auth_ntlmssp.c:71(auth_ntlmssp_set_challenge)
  challenge is: 
[2011/09/25 18:37:17.366323,  5] ../lib/util/util.c:278(_dump_data)
  [0000] 8C 18 4C 59 B4 A5 85 86                            ..LY.... 
[2011/09/25 18:37:17.366409,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [Thomas-Laptop]\[Thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:17.366436,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [Thomas-Laptop] to [] for user [Thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:17.366453,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for Thomas (Thomas)
[2011/09/25 18:37:17.366472,  5] auth/auth_util.c:132(make_user_info)
  making strings for Thomas's user_info struct
[2011/09/25 18:37:17.366495,  5] auth/auth_util.c:164(make_user_info)
  making blobs for Thomas's user_info struct
[2011/09/25 18:37:17.366511,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [Thomas-Laptop]\[Thomas]@[THOMAS-LAPTOP] with the new password interface
[2011/09/25 18:37:17.366531,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[Thomas]@[THOMAS-LAPTOP]
[2011/09/25 18:37:17.366555,  5] ../lib/util/util.c:278(_dump_data)
  [0000] 8C 18 4C 59 B4 A5 85 86                            ..LY.... 
[2011/09/25 18:37:17.366588,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [Thomas] -> [Thomas] FAILED with error NT_STATUS_NO_SUCH_USER
[2011/09/25 18:37:17.366610,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2011/09/25 18:37:17.366634,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/sesssetup.c(111) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2011/09/25 18:37:17.366657,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:17.366671,  5] lib/util.c:627(show_msg)
  size=35
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=102
  smb_mid=384
  smt_wct=0
  smb_bcc=0
[2011/09/25 18:37:21.393004,  3] smbd/process.c:1485(process_smb)
  Transaction 7 of length 142 (0 toread)
[2011/09/25 18:37:21.393043,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:21.393063,  5] lib/util.c:627(show_msg)
  size=138
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=448
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=   74 (0x4A)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=79
[2011/09/25 18:37:21.393124,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 1664) conn 0x0
[2011/09/25 18:37:21.393136,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:21.393146,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:21.393156,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:21.393183,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:21.393196,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/09/25 18:37:21.393207,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:37:21.393217,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/09/25 18:37:21.393230,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/09/25 18:37:21.393257,  5] smbd/sesssetup.c:754(parse_spnego_mechanisms)
  parse_spnego_mechanisms: Got OID 1.3.6.1.4.1.311.2.2.10
[2011/09/25 18:37:21.393268,  3] smbd/sesssetup.c:806(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2011/09/25 18:37:21.393280,  5] auth/auth.c:487(make_auth_context_subsystem)
  Making default auth method list for standalone security=user, encrypt passwords = yes
[2011/09/25 18:37:21.393302,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2011/09/25 18:37:21.393314,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2011/09/25 18:37:21.393324,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2011/09/25 18:37:21.393334,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2011/09/25 18:37:21.393347,  3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088297
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_NEGOTIATE_OEM
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_LM_KEY
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2011/09/25 18:37:21.393384,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module guest did not want to specify a challenge
[2011/09/25 18:37:21.393395,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module sam did not want to specify a challenge
[2011/09/25 18:37:21.393411,  5] auth/auth.c:132(get_ntlm_challenge)
  auth_context challenge created by random
[2011/09/25 18:37:21.393421,  5] auth/auth.c:133(get_ntlm_challenge)
  challenge is: 
[2011/09/25 18:37:21.393430,  5] ../lib/util/util.c:278(_dump_data)
  [0000] 84 E3 F0 75 49 BF EE C3                            ...uI... 
[2011/09/25 18:37:21.394715,  3] ../lib/util/util_net.c:68(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name  [hostname nor servname provided, or not known]
[2011/09/25 18:37:21.394757,  3] lib/util_sock.c:1796(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name  [Success]
[2011/09/25 18:37:21.396275,  3] ../lib/util/util_net.c:68(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name  [hostname nor servname provided, or not known]
[2011/09/25 18:37:21.396314,  3] lib/util_sock.c:1796(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name  [Success]
[2011/09/25 18:37:21.396356,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:21.396365,  5] lib/util.c:627(show_msg)
  size=202
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=103
  smb_mid=448
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   95 (0x5F)
  smb_bcc=159
[2011/09/25 18:37:21.397790,  3] smbd/process.c:1485(process_smb)
  Transaction 8 of length 296 (0 toread)
[2011/09/25 18:37:21.397806,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:21.397814,  5] lib/util.c:627(show_msg)
  size=292
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=65535
  smb_pid=65279
  smb_uid=103
  smb_mid=512
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  228 (0xE4)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=233
[2011/09/25 18:37:21.397881,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 1664) conn 0x0
[2011/09/25 18:37:21.397893,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:21.397903,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:21.397912,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:21.397935,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:21.397947,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/09/25 18:37:21.397961,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:37:21.397971,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/09/25 18:37:21.397982,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/09/25 18:37:21.397999,  3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
  Got user=[thomas] domain=[THOMAS-LAPTOP] workstation=[THOMAS-LAPTOP] len1=24 len2=24
[2011/09/25 18:37:21.398012,  5] auth/auth_ntlmssp.c:70(auth_ntlmssp_set_challenge)
  auth_context challenge set by NTLMSSP callback (NTLM2)
[2011/09/25 18:37:21.398024,  5] auth/auth_ntlmssp.c:71(auth_ntlmssp_set_challenge)
  challenge is: 
[2011/09/25 18:37:21.398034,  5] ../lib/util/util.c:278(_dump_data)
  [0000] B4 8D 51 AC 71 D4 ED DF                            ..Q.q... 
[2011/09/25 18:37:21.398081,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [THOMAS-LAPTOP]\[thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:21.398095,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [THOMAS-LAPTOP] to [] for user [thomas] from workstation [THOMAS-LAPTOP]
[2011/09/25 18:37:21.398106,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for thomas (thomas)
[2011/09/25 18:37:21.398116,  5] auth/auth_util.c:132(make_user_info)
  making strings for thomas's user_info struct
[2011/09/25 18:37:21.398126,  5] auth/auth_util.c:164(make_user_info)
  making blobs for thomas's user_info struct
[2011/09/25 18:37:21.398137,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [THOMAS-LAPTOP]\[thomas]@[THOMAS-LAPTOP] with the new password interface
[2011/09/25 18:37:21.398148,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[thomas]@[THOMAS-LAPTOP]
[2011/09/25 18:37:21.398158,  5] ../lib/util/util.c:278(_dump_data)
  [0000] B4 8D 51 AC 71 D4 ED DF                            ..Q.q... 
[2011/09/25 18:37:21.398181,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [thomas] -> [thomas] FAILED with error NT_STATUS_NO_SUCH_USER
[2011/09/25 18:37:21.398193,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2011/09/25 18:37:21.398208,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/sesssetup.c(111) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2011/09/25 18:37:21.398221,  5] lib/util.c:617(show_msg)
[2011/09/25 18:37:21.398228,  5] lib/util.c:627(show_msg)
  size=35
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=103
  smb_mid=512
  smt_wct=0
  smb_bcc=0
[2011/09/25 18:37:33.274242,  0] lib/util_sock.c:474(read_fd_with_timeout)
[2011/09/25 18:37:33.274302,  0] lib/util_sock.c:1432(get_peer_addr_internal)
  getpeername failed. Error was Socket is not connected
  read_fd_with_timeout: client 0.0.0.0 read error = Socket is not connected.
[2011/09/25 18:37:33.274334,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/09/25 18:37:33.274345,  5] auth/token_util.c:525(debug_nt_user_token)
  NT user token: (NULL)
[2011/09/25 18:37:33.274355,  5] auth/token_util.c:551(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2011/09/25 18:37:33.274383,  5] smbd/uid.c:369(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2011/09/25 18:37:33.274397,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to 
[2011/09/25 18:37:33.274490,  3] smbd/server.c:902(exit_server_common)
  Server exit (failed to receive smb request)


Verder gebruik ik Windows 7 x64 (Home Premium en Ultimate)

Ik heb al eerder geëxperimenteerd met guest accounts, zonder succes. Windows herkent dat niet eens. Hij vraagt altijd om een een gebruikersnaam en wachtwoord, ook als die niet nodig zijn. Ook map to guest doet niets.

EDIT: Als het log-level gewoon op 2 staat komt er dit uit:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[2011/09/25 18:42:23.394945,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [Thomas] -> [Thomas] FAILED with error NT_STATUS_NO_SUCH_USER
[2011/09/25 18:42:23.398713,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:42:23.401695,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:42:23.401814,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [Thomas] -> [Thomas] FAILED with error NT_STATUS_NO_SUCH_USER
[2011/09/25 18:42:28.051805,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:42:28.055327,  2] smbd/sesssetup.c:1391(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/09/25 18:42:28.055396,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [thomas] -> [thomas] FAILED with error NT_STATUS_NO_SUCH_USER

[Voor 3% gewijzigd door TheMOD op 25-09-2011 20:43. Reden: log-level 2 toegevoegd]


  • ik222
  • Registratie: Maart 2007
  • Niet online
Nogmaals, hoe staan de filesystem rechten op de map die je deelt?

  • TheMOD
  • Registratie: November 2008
  • Laatst online: 31-01-2022
Dat was ik nog vergeten te zeggen: de file permissions zijn in orde! Ik heb dit getest onder andere in BSD zelf en met WinSCP.

Bovendien moet ik nu al inloggen om zelfs maar verbinding te maken. Eerst moest ik eerst een share aanklikken, maar nu kom ik daar niet eens in de buurt.

EDIT: Ik zie dat hij de gebruiker blijkbaar niet kan vinden, dus ik heb geprobeerd om de gebruiker 'Thomas' toe te voegen, in plaats van 'thomas': Geen effect.

[Voor 21% gewijzigd door TheMOD op 25-09-2011 20:49]


  • ik222
  • Registratie: Maart 2007
  • Niet online
Ik zie dat je config file er wel iets anders uitziet dan mijn config file. Ik zal hieronder even mijn config file plaatsen wellicht heb je daar wat aan.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[global]
    ; General server settings
    netbios name = [hostname van server]
    server string =
    workgroup = WORKGROUP
    announce version = 5.0
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

    passdb backend = tdbsam
    security = user
    null passwords = true
    username map = /etc/samba/smbusers
    name resolve order = hosts wins bcast

    wins support =no

    syslog = 1
    syslog only = yes

[files]
    path = /fileserver
    browseable = yes
    read only = no
    guest ok = no 
    create mask = 0644
    directory mask = 0755
    valid users = *****
    force user = ****
    force group = ****

  • TheMOD
  • Registratie: November 2008
  • Laatst online: 31-01-2022
ik222 schreef op zondag 25 september 2011 @ 21:15:
Ik zie dat je config file er wel iets anders uitziet dan mijn config file. Ik zal hieronder even mijn config file plaatsen wellicht heb je daar wat aan.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[global]
    ; General server settings
    netbios name = [hostname van server]
    server string =
    workgroup = WORKGROUP
    announce version = 5.0
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

    passdb backend = tdbsam
    security = user
    null passwords = true
    username map = /etc/samba/smbusers
    name resolve order = hosts wins bcast

    wins support =no

    syslog = 1
    syslog only = yes

[files]
    path = /fileserver
    browseable = yes
    read only = no
    guest ok = no 
    create mask = 0644
    directory mask = 0755
    valid users = *****
    force user = ****
    force group = ****
Ik ga er morgen mee experimenteren!

  • AlterMann
  • Registratie: December 2000
  • Laatst online: 03-06 23:13
Wat vul je precies in wanneer er naar een username gevraagd wordt?
Simpelweg "Thomas" of hostnamevanjesambabak\thomas? Uit je logging haal ik namelijk (dus het eerste):

check_ntlm_password: mapped user is: [][thomas]@[THOMAS-LAPTOP]

  • TheMOD
  • Registratie: November 2008
  • Laatst online: 31-01-2022
AlterMann schreef op maandag 26 september 2011 @ 08:42:
Wat vul je precies in wanneer er naar een username gevraagd wordt?
Simpelweg "Thomas" of hostnamevanjesambabak\thomas? Uit je logging haal ik namelijk (dus het eerste):

check_ntlm_password: mapped user is: [][thomas]@[THOMAS-LAPTOP]
Dit is het eerste login scherm dat ik krijg zodra ik het ip-adres heb ingevuld in de balk: (Ik krijg dus al direct een foutmelding)


En dit is de tweede zodra de eerste poging heeft gefaald:


EDIT: Net geprobeerd met "192.168.11.15\thomas": geen effect.
EDIT2: Dit is de log van wat ik hierboven probeerde: http://pastebin.com/XjS8QzAu

Ik ga nu proberen via Ubuntu en Windows XP te checken of en hoe het werkt.

[Voor 18% gewijzigd door TheMOD op 26-09-2011 18:35]


  • TheMOD
  • Registratie: November 2008
  • Laatst online: 31-01-2022
Ahahaha! Ik heb het gefixt! :D

Ongelooflijk stom ook... Ik had geen hostname ingesteld op de Samba-host, en daarom deed 'ie het niet. Nu heb ik een hostname ingesteld en hij werkt! Je vraagt zeker: "Waarom stel je dan ook geen hostname in??" Nou, dat gaf nogal wat ruzie, en hij deed het ook prima zonder.

AlterMann, heel erg bedankt! Door jouw opmerking dacht ik er ineens aan dat ik geen hostname ingesteld had! De rest wordt natuurlijk ook bedankt voor het meedenken!

[Voor 6% gewijzigd door TheMOD op 26-09-2011 18:56]


  • AlterMann
  • Registratie: December 2000
  • Laatst online: 03-06 23:13
Mooi zo! :Y)
Pagina: 1


Tweakers maakt gebruik van cookies

Tweakers plaatst functionele en analytische cookies voor het functioneren van de website en het verbeteren van de website-ervaring. Deze cookies zijn noodzakelijk. Om op Tweakers relevantere advertenties te tonen en om ingesloten content van derden te tonen (bijvoorbeeld video's), vragen we je toestemming. Via ingesloten content kunnen derde partijen diensten leveren en verbeteren, bezoekersstatistieken bijhouden, gepersonaliseerde content tonen, gerichte advertenties tonen en gebruikersprofielen opbouwen. Hiervoor worden apparaatgegevens, IP-adres, geolocatie en surfgedrag vastgelegd.

Meer informatie vind je in ons cookiebeleid.

Sluiten

Toestemming beheren

Hieronder kun je per doeleinde of partij toestemming geven of intrekken. Meer informatie vind je in ons cookiebeleid.

Functioneel en analytisch

Deze cookies zijn noodzakelijk voor het functioneren van de website en het verbeteren van de website-ervaring. Klik op het informatie-icoon voor meer informatie. Meer details

janee

    Relevantere advertenties

    Dit beperkt het aantal keer dat dezelfde advertentie getoond wordt (frequency capping) en maakt het mogelijk om binnen Tweakers contextuele advertenties te tonen op basis van pagina's die je hebt bezocht. Meer details

    Tweakers genereert een willekeurige unieke code als identifier. Deze data wordt niet gedeeld met adverteerders of andere derde partijen en je kunt niet buiten Tweakers gevolgd worden. Indien je bent ingelogd, wordt deze identifier gekoppeld aan je account. Indien je niet bent ingelogd, wordt deze identifier gekoppeld aan je sessie die maximaal 4 maanden actief blijft. Je kunt deze toestemming te allen tijde intrekken.

    Ingesloten content van derden

    Deze cookies kunnen door derde partijen geplaatst worden via ingesloten content. Klik op het informatie-icoon voor meer informatie over de verwerkingsdoeleinden. Meer details

    janee