Страница 1 из 1

samba 3.5.19 домен

Добавлено: 2013-02-18 14:52:15
bagas
Добрый день.
Подскажите пожалуйста.
С не давних пор оного пользака не пускаеют в файел сервер.
Конфиг и лог ошибки прикладываю, при заходе в сетевом окружении на сервер, то у пользователя вылетает сообщение что типа ты не можешь зайти и обратись к системному администратору.
Пробую прошюпать сервером учетку порльзака, все нормлаьно, система видит и распознает учетку.

Код: Выделить всё

# id 14_rok_lsv
uid=10010(rok_lsv) gid=100002(domain users) groups=100002(domain users)
Версия самба.
Другие пользаки домена могут нормально заходить.
Время на рабочей машине пользака проверял, все нормально.

Код: Выделить всё

Samba version 3.5.19

Код: Выделить всё

# cat /usr/local/etc/smb.conf
[global]
        dos charset = cp866
        unix charset = cp1251
        display charset = cp1251
        workgroup = Mag
        allow trusted domains = no
        encrypt passwords = yes
        realm = US.MAG.RU
        server string = Samba_server
        interfaces = re0
        bind interfaces only = Yes
        security = ads
        password server = 10.3.0.3
        log level = 3
        log file = /var/log/samba/log.%m
        max log size = 5000
        smb ports = 139
        name resolve order = lmhosts host wins bcast
#       name resolve order = wins host lmhost bcast
        deadtime = 5
        max xmit = 65435
#       socket options = IPTOS_LOWDELAY SO_RCVBUF=262144 SO_SNDBUF=262144 TCP_NODELAY
       socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=65435 SO_RCVBUF=65435
        min receivefile size=16384
        use sendfile=true
        load printers = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = 10.3.0.2, 10.3.0.3
        socket address = 10.3.20.210
        winbind uid = 10000-500000
        winbind gid = 10000-500000
        winbind enum groups = yes
        winbind enum users = yes
        winbind separator = //
        winbind cache time = 604800
        winbind use default domain = Yes
        winbind refresh tickets = yes
#        hosts allow = 10.3.20.0/24 10.3.0.0/24 127.0.0.1
        netbios name = hom-210
        template shell=/bin/tcsh
        template homedir = /home/%D/%U
#       client use spnego = yes
        auth methods = winbind
        nt acl support = yes

[Share]
     read list = "@Mag\Domain Users"
     write list = "@Mag\Domain Users"
     veto files = /*.mp3/
     hide files = /~$*/Thumbs.db/
     read only = no
     browseable = yes
     path = /mnt/share
     comment = users
     create mask = 0777
     directory mask = 0777
     map acl inherit = yes
     map archive = no
     map read only = no

Код: Выделить всё

[2013/02/18 15:25:18.944321,  3] smbd/process.c:1298(switch_message)
  switch message SMBnegprot (pid 1330) conn 0x0
[2013/02/18 15:25:18.944342,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/02/18 15:25:18.944389,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2013/02/18 15:25:18.944410,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [LANMAN1.0]
[2013/02/18 15:25:18.944427,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [Windows for Workgroups 3.1a]
[2013/02/18 15:25:18.944443,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [LM1.2X002]
[2013/02/18 15:25:18.944460,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [LANMAN2.1]
[2013/02/18 15:25:18.944476,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [NT LM 0.12]
[2013/02/18 15:25:18.944851,  3] smbd/negprot.c:405(reply_nt1)
  using SPNEGO
[2013/02/18 15:25:18.944889,  3] smbd/negprot.c:692(reply_negprot)
  Selected protocol NT LM 0.12
[2013/02/18 15:25:19.101431,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/02/18 15:25:19.101523,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to
[2013/02/18 15:25:19.101660,  3] smbd/server.c:926(exit_server_common)
  Server exit (failed to receive smb request)
[2013/02/18 15:25:19.150957,  3] smbd/process.c:1489(process_smb)
  Transaction 0 of length 137 (0 toread)
[2013/02/18 15:25:19.151016,  3] smbd/process.c:1298(switch_message)
  switch message SMBnegprot (pid 1331) conn 0x0
[2013/02/18 15:25:19.151044,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/02/18 15:25:19.151091,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2013/02/18 15:25:19.151160,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [LANMAN1.0]
[2013/02/18 15:25:19.151180,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [Windows for Workgroups 3.1a]
[2013/02/18 15:25:19.151197,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [LM1.2X002]
[2013/02/18 15:25:19.151213,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [LANMAN2.1]
[2013/02/18 15:25:19.151230,  3] smbd/negprot.c:587(reply_negprot)
  Requested protocol [NT LM 0.12]
[2013/02/18 15:25:19.151621,  3] smbd/negprot.c:405(reply_nt1)
  using SPNEGO
[2013/02/18 15:25:19.151659,  3] smbd/negprot.c:692(reply_negprot)
  Selected protocol NT LM 0.12
[2013/02/18 15:25:19.170543,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/02/18 15:25:19.170619,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to
[2013/02/18 15:25:19.170817,  3] smbd/server.c:926(exit_server_common)
  Server exit (failed to receive smb request)
Подскажите что нет.

Re: samba 3.5.19 домен

Добавлено: 2013-02-19 11:27:39
bagas
Разобрался с недугом!
Косяк был в самой учетки, удалил учетные данные с рабочей машины, после все завелось нормально.