Samba problem z dost

Konfiguracja serwerów, usług, itp.
mihoo
Posty: 6
Rejestracja: 10 kwietnia 2015, 08:52

Samba problem z dostępem

Post autor: mihoo »

Witam,

zainstalowałem na jessie sambę. Konfiguracja poniżej. Ma udostępniać jeden katalog z prawami 777. Jak na stacji wpisuje \\192.168.1.1\ to pokazuje się błąd windows 0x80070043 ale jak wpisuje \\192.168.1.1\all to się podłącza. Co ciekawe na nie których stacjach wpisanie \\192.168.1.1\ działa poprawnie. Jakiś pomysł? Stacje to WindowsXP, Windows 7

Kod: Zaznacz cały

                         
[global]    
workgroup = FIRMA    
server string = Samba    
security = user    
dns proxy = no    
netbios name = debian    
hosts allow = 192.168.1.0/24  
#### Networking ####  
#### Debugging/Accounting ####  
# This tells Samba to use a separate log file for each machine # that connects    
log file = /var/log/samba/log.%m  

# Cap the size of the individual log files (in KiB).    
max log size = 1000  
# We want Samba to log a minimum amount of information to syslog. Everything 
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log 
# through syslog you should set the following parameter to something higher.    
syslog = 0  
# Do something sensible when Samba crashes: mail the admin a backtrace    
panic action = /usr/share/samba/panic-action %d   

####### Authentication #######  
# Server role. Defines in which mode Samba will operate. Possible 
# values are "standalone server", "member server", "classic primary # domain controller", "classic backup domain controller", #"active # directory domain controller".  
# # Most people will want "standalone sever" or "member server". 
# Running as "active directory domain controller" will require first 
# running "samba-tool domain provision" to wipe databases and create a 
# new domain.    
server role = standalone server  
# If you are using encrypted passwords, Samba will need to know what 
# password database type you are using.      
passdb backend = tdbsam    
obey pam restrictions = yes  
# This boolean parameter controls whether Samba attempts to sync the Unix 
# password with the SMB password when the encrypted SMB password in the 
# passdb is changed.    
unix password sync = yes  
# For Unix password sync to work on a Debian GNU/Linux system, the following 
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for 
# sending the correct chat script for the passwd program in Debian Sarge).    
passwd program = /usr/bin/passwd %u    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .  
# This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the #program listed in 
# 'passwd program'. The default is 'no'.    
pam password change = yes  
# This option controls how unsuccessful authentication attempts are mapped # to anonymous connections    
map to guest = bad user  

########## Domains ###########   

############ Misc ############   
# Allow users who've been granted usershare privileges to create 
# public shares, not just authenticated ones    

usershare allow guests = yes  

#======================= Share Definitions =======================  
[homes]    
comment = Home Directories    
browseable = no    
read only = yes    
create mask = 0700    
directory mask = 0700    
valid users = %S

[all]
path = /home/samba/all     
writable = yes     
force directory mode = 777     
force create mode = 777     
guest ok = yes     
browseable = yes     
read only = no     
create mask = 0777 

pozdrawiam
Awatar użytkownika
dedito
Moderator
Posty: 3582
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Post autor: dedito »

mihoo
Posty: 6
Rejestracja: 10 kwietnia 2015, 08:52

Post autor: mihoo »

metody windows przerobiłem ale bez skutku
ODPOWIEDZ