LINUX.ORG.RU

[samba]По разному ведут себя Linux и оффтопик клиенты.


0

0

Решил открыть к некоторым каталогам samba доступ без пароля. Ковырял ковырял офтопик все время просит пароль. Сейчас зашел с ноута (Linux) пароль не спросило, видно список каталогов, при заходе в те куда разрешен гостевой доступ ходит спокойно, в те где должно спрашивать пароль спрашивает.

В чем причина подобного поведения?


Ответ на: комментарий от ovax
[global]                                               
# General                                              
netbios name = server                                  
workgroup = MY                                    
server string = file server                            
max open files = 16404                                 

# Logging
syslog = 0
log level = 1
log file = /var/log/samba/%L-%m
max log size = 0               
utmp = Yes                     

# Network
bind interfaces only = yes
interfaces = lo eth0      
smb ports = 139           

# Printing
printcap name = /etc/printcap
load printers = Yes          

# Security settings
security = user    
guest account = guest
#restrict anonymous = 2

# WINS
wins support = Yes
wins server =     

# PDC
domain logons = Yes
add machine script = /usr/sbin/samba-add-machine "%u"
logon drive = U:                                     
logon script = logon.cmd                             
logon path =                                         
logon home = \\%L\%U                                 

# Other
preferred master = Yes
domain master = Yes   
unix password sync = Yes
passwd program = /usr/sbin/userpasswd %u
passwd chat = *password:* %n\n *password:* %n\n *successfully.*
username map = /etc/samba/smbusers                             

# LDAP
include = /etc/samba/smb.ldap.conf

# Winbind
include = /etc/samba/smb.winbind.conf

#============================ Share Definitions ==============================

include = /etc/samba/flexshare.conf

[homes]
        comment = Home Directories
        path = /home/%U           
        valid users = %D\%S       
        read only = No            
        browseable = No           
        available = Yes           

[printers]
        comment = Print Spool
        path = /var/spool/samba
        printing = cups        
        cups options = raw     
        use client driver = Yes
        printable = Yes        
        read only = No         
        browseable = No        
        available = No         

[print$]
        comment = Printer Drivers
        path = /var/samba/drivers
        read only = No
        browseable = No
        available = No

[netlogon]
        comment = Network Logon Service
        path = /var/samba/netlogon
        read only = No
        locking = No
        browseable = No
        available = No

[profiles]
        comment = Profile Share
        path = /var/samba/profiles
        read only = No
        profile acls = Yes
        browseable = No
        available = No
RaDiSt ()
Ответ на: комментарий от RaDiSt
[databases]                                   
        path = /var/flexshare/shares/databases
        comment =  bd 1c           
        browseable = Yes                      
        read only = No                        
        guest ok = Yes                        
        guest account = nobody                
        directory mask = 775                  
        create mask = 664                               
        veto files = /.flexshare*/            

[incoming]
        path = /var/flexshare/shares/incoming
        comment = Обмен. Удаляется раз в неделю
        browseable = Yes                                   
        read only = No                                     
        guest ok = No                                      
        directory mask = 775                               
        create mask = 664                                  
        valid users = @"%D\allusers"                       
        veto files = /.flexshare*/                         

[otdel-sbita]
        path = /var/flexshare/shares/otdel-sbita
        comment = Flexshare - sbit              
        browseable = Yes                        
        read only = No                          
        guest ok = No                           
        directory mask = 775                    
        create mask = 664                       
        valid users = @"%D\sbit"                
        veto files = /.flexshare*/              

[distrib]
        path = /var/flexshare/shares/distrib
        comment = Flexshare - distrib       
        browseable = Yes                    
        read only = Yes                     
        guest ok = Yes                      
        writeable = no                      
        directory mask = 775
        create mask = 664
        veto files = /.flexshare*/

[docbuh]
        path = /var/flexshare/shares/docbuh
        comment = doc buh
        browseable = Yes
        read only = No
        guest ok = No
        directory mask = 775
        create mask = 664
        valid users = @"%D\buhi"
        veto files = /.flexshare*/
        recycle:repository = .trash/%U
        recycle:maxsize = 0
        recycle:versions = Yes
        recycle:keeptree = Yes
        recycle:touch = No
        recycle:directory_mode = 0775
        vfs object = recycle:recycle
RaDiSt ()
Ответ на: комментарий от tux2002

Ну дык винда не ходит. Может винду починить как ?

RaDiSt ()

Винда случайно не хоум идишен?

Lumi ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.