URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 80186
[ Назад ]

Исходное сообщение
"Samba просит пароль"

Отправлено Nexa4yxa , 07-Май-08 12:06 
Здравствуйте, имеется такая проблема, стоит сервер на suse 10.1 на нем samba. Так вот иногда при подключении пользователя к расшаренной папке появляется окно с предложением ввести логин и пароль. Помогает только перезагрузка... незнаю что ему нужно еще...

вот конфиг

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-05-02
[global]
    workgroup = MYGROUP
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    domain logons = No
    domain master = No
    passdb backend = smbpasswd
    security = user
    usershare max shares = 100
    idmap gid = 10000-20000
    idmap uid = 10000-20000
    add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
[homes]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes
[profiles]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = Network Profiles Service
    path = %H
    read only = No
    store dos attributes = Yes
    create mask = 0600
    directory mask = 0700
[users]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/
[groups]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes
[printers]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No
[print$]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775
[1c-base]
#Uncomment line below to enable Dr.Web protection!
#vfs object = smb_spider
    comment = Базы данных
    inherit acls = Yes
    path = /usr/1C-Base/
    read only = No
    available = Yes
        guest ok = Yes
[proba]
    inherit acls = Yes
    path = /usr/share/proba/
    read only = No
    available = Yes
[desig]
    comment = Дезайнерский ресурс
    guest ok = Yes
    inherit acls = Yes
    path = /usr/designers/
    read only = No
    available = Yes


Содержание

Сообщения в этом обсуждении
"Samba просит пароль"
Отправлено Axis , 07-Май-08 12:12 
У тебя параментр security = user в этом случае по опредилению он должен его спрашивать. Поставь security = share тогда по идее вообще не должен.

"Samba просит пароль"
Отправлено Nexa4yxa , 07-Май-08 12:19 
>У тебя параментр security = user в этом случае по опредилению он
>должен его спрашивать. Поставь security = share тогда по идее вообще
>не должен.

спасиб, исправил, буду смотреть что получится


"Samba просит пароль"
Отправлено Nexa4yxa , 08-Май-08 10:48 
Нет, тоже самое....причем есть две основные расшаренные папки. Так вот при заходе на одну из них пароль просит, а в другую без проблем заходит...



"Samba просит пароль"
Отправлено Serg , 23-Янв-09 13:26 
надо два параметра указать:
securiry = share (как уже было сказанно ранее)
guest ok = Yes