Samba - nie można doda

Konfiguracja serwerów, usług, itp.
sethiel
Junior Member
Posty: 762
Rejestracja: 28 stycznia 2008, 11:50
Lokalizacja: Wrocław

Samba - nie można dodać nic do udostępnionych udziałów

Post autor: sethiel »

Mam zamontowany udział nfs:

Kod: Zaznacz cały

root@aerverag:/var/log/samba# mount -l | grep download
10.0.7.31:/virtual/www/download on /udzialy/download.pl type nfs (rw,addr=10.0.7.31)
Udział ten jest udostępniony w Sambie:

Kod: Zaznacz cały

[download.pl]
        comment = download.pl
        path = /udzialy/download.pl
        valid users = @www-data
        force group = www-data
        writable = yes
        browsable = yes
        create mask = 0660
        directory mask = 0770
Mogę przeglądać udostępnione zasoby, ale nie mogę nic tam wrzucić poprzez sambę:

Kod: Zaznacz cały

[2011/07/25 11:16:23.392944,  1] smbd/service.c:1070(make_connection_snum)
[B]  l524 (::ffff:192.168.151.124) connect to service download.pl initially as user test (uid=5001, gid=33) (pid 2237)
[/B][2011/07/25 11:16:28.801742,  2] smbd/open.c:633(open_file)
  test opened file przyklad.zip read=Yes write=No (numopen=1)
[2011/07/25 11:16:28.817044,  2] smbd/close.c:656(close_normal_file)
  test closed file przyklad.zip (numopen=0) NT_STATUS_OK
[2011/07/25 11:16:28.818469,  2] smbd/open.c:633(open_file)
  test opened file przyklad.zip read=Yes write=No (numopen=1)
[2011/07/25 11:16:28.823063,  0] smbd/nttrans.c:2204(call_nt_transact_ioctl)
  call_nt_transact_ioctl(0x1401c4): Currently not implemented.
[2011/07/25 11:16:28.850644,  2] smbd/close.c:656(close_normal_file)
  test closed file przyklad.zip (numopen=0) NT_STATUS_OK
[2011/07/25 11:16:35.656386,  2] smbd/open.c:633(open_file)
  test opened file przyklad1.zip read=Yes write=Yes (numopen=1)
[2011/07/25 11:16:35.661278,  2] smbd/close.c:656(close_normal_file)
  test closed file przyklad1.zip (numopen=0) NT_STATUS_OK
[2011/07/25 11:16:35.663889,  2] smbd/open.c:633(open_file)
  test opened file przyklad1.zip read=Yes write=Yes (numopen=1)
[2011/07/25 11:16:35.664823,  2] lib/access.c:406(check_access)
  Allowed connection from ::ffff:192.168.151.124 (::ffff:192.168.151.124)
[2011/07/25 11:16:35.664848,  2] smbd/service.c:587(create_connection_server_info)
[B]  guest user (from session setup) not permitted to access this share (download.pl)
[/B][2011/07/25 11:16:35.664912,  1] smbd/service.c:678(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/07/25 11:16:35.665504,  2] lib/access.c:406(check_access)
  Allowed connection from ::ffff:192.168.151.124 (::ffff:192.168.151.124)
[2011/07/25 11:16:35.665525,  2] smbd/service.c:587(create_connection_server_info)
  guest user (from session setup) not permitted to access this share (download.pl)
[2011/07/25 11:16:35.665535,  1] smbd/service.c:678(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/07/25 11:16:35.666157,  2] lib/access.c:406(check_access)
  Allowed connection from ::ffff:192.168.151.124 (::ffff:192.168.151.124)
[2011/07/25 11:16:35.666190,  2] smbd/service.c:587(create_connection_server_info)
  guest user (from session setup) not permitted to access this share (download.pl)
[2011/07/25 11:16:35.666200,  1] smbd/service.c:678(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2011/07/25 11:16:35.683052,  2] smbd/close.c:656(close_normal_file)
  test closed file przyklad1.zip (numopen=0) NT_STATUS_OK
Dokładnie takie same ustawienia mam pod Linuksem CentOS 5 i działa. Ma ktoś pomysł dlaczego nagle zmienia się użytkownik test na użytkownika guest (pogrubione w logach) mimo iż nie ma przelogowania?

Kod: Zaznacz cały

smbd -V
Version 3.5.6
Awatar użytkownika
grzesiek
Junior Member
Posty: 932
Rejestracja: 06 stycznia 2008, 10:41
Lokalizacja: Białystok

Post autor: grzesiek »

Może chodzi o to:

Kod: Zaznacz cały

[color=#333333][font=monospace]valid users = @www-data
[/font][/color][color=#333333][font=monospace]        force group = www-data[/font][/color]
sethiel
Junior Member
Posty: 762
Rejestracja: 28 stycznia 2008, 11:50
Lokalizacja: Wrocław

Post autor: sethiel »

Tak, ale dyrektywa:

Kod: Zaznacz cały

valid users
określa kto ma mieć dostęp. A dostęp mają mieć użytkownicy, którzy mają prawo wgrywać pliki przeznaczone do pobierania, których to właścicielem musi być grupa www-data. Użytkownicy (także użytkownik test) są dodani do grupy www-data. Zresztą tak jak napisałem, Linux CentOS w tym nie miał żadnego problemu.

Z wpisem takim jak poniżej też nie działa:

Kod: Zaznacz cały

#force group = www-data
Wszystkie inne udziały, które nie są na NFS działają tak jak powinny.
Awatar użytkownika
Bastian
Member
Posty: 1424
Rejestracja: 30 marca 2008, 16:09
Lokalizacja: Poznañ

Post autor: Bastian »

A nie powinno być jeszcze dyrektywy:

Kod: Zaznacz cały

security= user
?
sethiel
Junior Member
Posty: 762
Rejestracja: 28 stycznia 2008, 11:50
Lokalizacja: Wrocław

Post autor: sethiel »

mój smb.conf i sekcja global:

Kod: Zaznacz cały

[global]netbios name = serverag
        workgroup = domain
        server string = Samba Server
        hosts allow = 10.3.0. 192.168.2. 192.168.201. 192.168.200.
        log level = 3
        dos charset = CP852

        #logowanie
        log file = /var/log/samba/%m.log
        max log size = 5000
        debug level = 2
        debug timestamp = no
        timestamp logs = True

        #security
        security = user
        username level = 8
        encrypt passwords = yes
        null passwords = no
        passdb backend = tdbsam:/etc/samba/passdb.tdb
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
        admin users = root

        #optymalizacja
        socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 IPTOS_LOWDELAY
        keep alive = 50
        dead time = 10
        share modes = yes
        max xmit = 17384
        locking = yes
        max mux = 100
        max open files = 500
        read raw = yes
        write raw = yes
        getwd cache = yes

        #domena - pierwszenstwo
        local master = yes
        os level = 200
        domain master = yes
        preferred master = yes
        domain logons = yes

        #scripts
        add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
        add user script = /usr/sbin/useradd -m %u

        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        logon script = %U.bat

        #logon
        logon home = \\%N\%U
        logon path =
        logon drive = H:
        name resolve order = wins lmhosts bcast
        wins support = yes
Próbowałem różnych ustawień - tam gdzie # to różne próby z włączonymi lub nie dyrektywami, ale nic nie działa.

Kod: Zaznacz cały

[global]
...
#       guest account = nobody
[download.pl]
        comment = download.pl
        path = /udzialy/download.pl
#        valid users = @www-data
#        force group = www-data
        writable = yes
        browsable = yes
        create mask = 0664
        public = yes
        directory mask = 0774
#        guest ok = yes
Jak widać nawet przy dodaniu udziału jako publiczny z możliwością korzystania z konta gościa też nie działa. Generalnie udział można przeglądać oraz usuwać pliki, natomiast nie ma możliwości dodania nowego oraz zmiany nazwy. Uprawnienia na katalogu nadrzędnym to 777 na katalogu download 777. Absolutna zagadka dla mnie.

Zauważyłem jeszcze jedną rzecz. Jak usiłuję skopiować tam coś jako root nie poprzez sambę a zalogowany na lokalne konto na serwerze mam informację w mc (midnight commander):

Kod: Zaznacz cały

Cannot chown target file "/udzial/download.pl/l524.log"  │                                   │ 102234│Jul 26 12:36│
│                                                        │  Operation not permitted (1)      
Natomiast plik jest kopiowany, ale ma uprawnienia nobody

Kod: Zaznacz cały

root@aerverag:/udzialy/download.pl# ls -all | grep l524
-rw-r--r--  1 nobody   nogroup     329313 Jul 26 12:40 l524.log
[edycja]
W logach znalazłem jedną główną linię sprawcę całego zamieszania, ale niestety żadna z podpowiedzi na google nie działa (całe kilkanaście przypadków, żaden z nich nie dotyczył NFS)

Kod: Zaznacz cały

  sys_get_vfs_quota() failed for mntpath[/share/download.pl] bdev[10.0.7.31:/virtual/www/download] qtype[2] id[0]: No such file or directory
pełny log:

Kod: Zaznacz cały

  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.218694,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.218724,  3] smbd/trans2.c:5208(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of index.html failed (No such file or directory)
[2011/07/26 23:05:29.218738,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/trans2.c(5210) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2011/07/26 23:05:29.245606,  3] smbd/process.c:1485(process_smb)
  Transaction 35 of length 74 (0 toread)
[2011/07/26 23:05:29.245648,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.245679,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.245710,  3] smbd/trans2.c:3463(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 1007
[2011/07/26 23:05:29.245731,  3] smbd/trans2.c:2906(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2011/07/26 23:05:29.246498,  3] lib/sysquotas.c:453(sys_get_quota)
  sys_get_vfs_quota() failed for mntpath[/share/download.pl] bdev[10.0.7.31:/virtual/www/download] qtype[2] id[0]: No such file or directory
[2011/07/26 23:05:29.246550,  3] lib/sysquotas.c:453(sys_get_quota)
  sys_get_vfs_quota() failed for mntpath[/share/download.pl] bdev[10.0.7.31:/virtual/www/download] qtype[4] id[0]: No such file or directory
[2011/07/26 23:05:29.246570,  4] smbd/trans2.c:3479(call_trans2qfsinfo)
  SMBtrans2 info_level = 1007
[2011/07/26 23:05:29.382030,  3] smbd/process.c:1485(process_smb)
  Transaction 36 of length 112 (0 toread)
[2011/07/26 23:05:29.382072,  3] smbd/process.c:1294(switch_message)
  switch message SMBntcreateX (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.382106,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.382681,  3] smbd/vfs.c:851(check_reduced_name)
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.382737,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.382756,  3] smbd/vfs.c:851(check_reduced_name)
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.382770,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.382781,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(index.html) returning 0666
[2011/07/26 23:05:29.382790,  3] smbd/vfs.c:851(check_reduced_name)
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.382802,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.382811,  4] smbd/open.c:1970(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0xC0 mode=0666, access_mask = 0x30197, open_access_mask = 0x30197
[2011/07/26 23:05:29.388739,  2] smbd/open.c:633(open_file)
  test_user opened file index.html read=Yes write=Yes (numopen=1)
[2011/07/26 23:05:29.393967,  3] smbd/oplock_linux.c:120(linux_set_kernel_oplock)
  linux_set_kernel_oplock: Refused oplock on file index.html, fd = 34, file_id = 12:3837e:0. (Invalid argument)
[2011/07/26 23:05:29.406700,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(index.html) returning 0666
[2011/07/26 23:05:29.437651,  3] smbd/process.c:1485(process_smb)
  Transaction 37 of length 76 (0 toread)
[2011/07/26 23:05:29.437694,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.437726,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.437757,  3] smbd/trans2.c:5012(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2011/07/26 23:05:29.437779,  3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo index.html (fnum = 4231) level=1006 call=7 total_data=0
[2011/07/26 23:05:29.465709,  3] smbd/process.c:1485(process_smb)
  Transaction 38 of length 76 (0 toread)
[2011/07/26 23:05:29.465751,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.465781,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.465812,  3] smbd/trans2.c:5012(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2011/07/26 23:05:29.465841,  3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo index.html (fnum = 4231) level=1005 call=7 total_data=0
[2011/07/26 23:05:29.493033,  3] smbd/process.c:1485(process_smb)
  Transaction 39 of length 74 (0 toread)
[2011/07/26 23:05:29.493074,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.493105,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.493134,  3] smbd/trans2.c:3463(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2011/07/26 23:05:29.493156,  3] smbd/trans2.c:2906(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2011/07/26 23:05:29.493175,  4] smbd/trans2.c:3479(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2011/07/26 23:05:29.519209,  3] smbd/process.c:1485(process_smb)
  Transaction 40 of length 76 (0 toread)
[2011/07/26 23:05:29.519249,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.519279,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.519309,  3] smbd/trans2.c:5012(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2011/07/26 23:05:29.519335,  3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo index.html (fnum = 4231) level=1004 call=7 total_data=0
[2011/07/26 23:05:29.546494,  3] smbd/process.c:1485(process_smb)
  Transaction 41 of length 88 (0 toread)
[2011/07/26 23:05:29.546536,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.546567,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.546604,  3] smbd/trans2.c:7722(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) index.html (fnum 4231) info_level=1020 totdata=8
[2011/07/26 23:05:29.546618,  3] smbd/trans2.c:7320(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: index.html (fnum 4231) info_level=1020 totdata=8
[2011/07/26 23:05:29.582994,  3] smbd/process.c:1485(process_smb)
  Transaction 42 of length 147 (0 toread)
[2011/07/26 23:05:29.583037,  3] smbd/process.c:1294(switch_message)
  switch message SMBwriteX (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.583069,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.583660,  3] lib/util.c:1846(fcntl_getlock)
  fcntl_getlock: fd 34 is returned info 0 pid 0
[2011/07/26 23:05:29.583711,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/reply.c(4394) cmd=47 (SMBwriteX) NT_STATUS_FILE_LOCK_CONFLICT
[2011/07/26 23:05:29.610068,  3] smbd/process.c:1485(process_smb)
  Transaction 43 of length 81 (0 toread)
[2011/07/26 23:05:29.610130,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.610182,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.610199,  3] smbd/trans2.c:7722(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) index.html (fnum 4231) info_level=1013 totdata=1
[2011/07/26 23:05:29.610208,  3] smbd/trans2.c:7320(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: index.html (fnum 4231) info_level=1013 totdata=1
[2011/07/26 23:05:29.636293,  3] smbd/process.c:1485(process_smb)
  Transaction 44 of length 45 (0 toread)
[2011/07/26 23:05:29.636337,  3] smbd/process.c:1294(switch_message)
  switch message SMBclose (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.636369,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.636399,  3] smbd/reply.c:4653(reply_close)
  close fd=34 fnum=4231 (numopen=1)
[2011/07/26 23:05:29.639109,  2] smbd/close.c:656(close_normal_file)
  test_user closed file index.html (numopen=0) NT_STATUS_OK
[2011/07/26 23:05:29.639680,  3] smbd/process.c:1485(process_smb)
  Transaction 45 of length 142 (0 toread)
[2011/07/26 23:05:29.639720,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 26267) conn 0x0
[2011/07/26 23:05:29.639760,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.639802,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/07/26 23:05:29.639815,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/07/26 23:05:29.639824,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/07/26 23:05:29.639846,  3] smbd/sesssetup.c:806(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2011/07/26 23:05:29.639865,  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/07/26 23:05:29.669874,  3] smbd/process.c:1485(process_smb)
  Transaction 46 of length 188 (0 toread)
[2011/07/26 23:05:29.669918,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 26267) conn 0x0
[2011/07/26 23:05:29.669950,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.669986,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/07/26 23:05:29.670004,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/07/26 23:05:29.670013,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/07/26 23:05:29.670028,  3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
  Got user=[] domain=[] workstation=[L524] len1=1 len2=0
[2011/07/26 23:05:29.670050,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[]@[L524] with the new password interface
[2011/07/26 23:05:29.670061,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [DOMAIN]\[]@[L524]
[2011/07/26 23:05:29.670090,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670101,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670113,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670128,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670142,  4] lib/substitute.c:504(automount_server)
  Home server: serverag
[2011/07/26 23:05:29.670156,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670165,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670173,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670186,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670222,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670230,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670240,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670249,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670256,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670293,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670306,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670315,  3] auth/auth.c:265(check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded
[2011/07/26 23:05:29.670336,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670345,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670353,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670383,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670394,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670402,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670410,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670434,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670443,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670451,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670479,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670494,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670513,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670522,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670530,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670559,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670578,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670586,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670608,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670617,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670629,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670658,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670672,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670681,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670689,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670697,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670790,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670806,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-4011850333-2170891249-2538041081-501]
[2011/07/26 23:05:29.670822,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2011/07/26 23:05:29.670834,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2011/07/26 23:05:29.670853,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670862,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670871,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670900,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670920,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670928,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670936,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670964,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670985,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670993,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.671001,  3] smbd/sec_ctx.c:310(set_sec_ctx)
[edycja]
rozwiązanie problemu:
https://bugzilla.samba.org/show_bug.cgi?id=8323
http://lists.samba.org/archive/samba/20 ... tml#134572

Kod: Zaznacz cały

kernel oplocks = no
[/i][/I]https://bugzilla.samba.org/show_bug.cgi?id=8323
ODPOWIEDZ