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

Самба требует авторизацию

Добавлено: 2009-05-08 6:46:19
LENDLORD
Поднимал самбу по этой статье http://www.lissyara.su/?id=1460 .
Все было Ок до первой перезагрузки.
Сейчас при попытке зайти на самбу запрашивается авторизация, никакие логины и пароли не подходят (

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

# SAMBA
[global]
      
        workgroup       = MyDomain.local
        security        = ADS
        password server = 172.16.0.1
        realm           = MyDomain.LOCAL
        netbios name    = Database
        server string   =
        os level = 33
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = 172.16.0.1
#       log level       = 10
         log file        = /var/log/samba/%m.%U.log
        max log size    = 50000
        idmap uid       = 10000-20000
        idmap gid       = 10000-20000
        winbind use default domain = yes
        display charset = koi8-r
        unix charset    = koi8-r
        dos charset     = 866
        template homedir = /shares/mail/%U

[data]
        browseable = yes
        comment                 = Shares for Documents
        path                    = /mnt/backup
        read list               = "@MyDomain\MyUser"
        write list              = "@MyDomain\MyUser"
        admin users             = "@MyDomain\MyUser", MyDomain\MyUser
        read only               = No
        create mask             = 0660
        directory mask          = 0770
        inherit owner           = yes
        inherit acls            = yes
        inherit permissions     = yes
        map acl inherit         = yes
        locking                 = no

[itoit]
        browseable = yes
        comment                 = Shares for IT Documents
        path                    = /usr/local/itoit
        read list               = "@MyDomain\MyUser"
        write list              = "@MyDomain\MyUser"
        admin users             = "@MyDomain\MyUser", MyDomain\MyUser
        read only               = No
        create mask             = 0660
        directory mask          = 0770
        inherit owner           = yes
        inherit acls            = yes
        inherit permissions     = yes
        map acl inherit         = yes
        locking                 = no
билет получил
ACL включил
не пойму в чем дело

Re: Самба требует авторизацию

Добавлено: 2009-05-10 22:53:17
snorlov
в

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

[globa]
auth methods = winbind
и содержимое nsswitch.conf

Re: Самба требует авторизацию

Добавлено: 2009-05-11 10:35:07
LENDLORD
snorlov писал(а):в

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

[globa]
auth methods = winbind
и содержимое nsswitch.conf
Спасибо, дело было в nsswitch.conf