Доброго времени суток уважаемыеСеть организована так : Ubuntu server и машина Win 7, Ubuntu раздает инет по сети винде, но также хочу сделать файловый сервер, третьи сутки бьюсь все бестолку! Вин 7 не видит Ubuntu в сетевом окружении, через адресную строку заходит на сервер и видно папки расшаренные, но при попытке войти:
"Нет доступа к \\192.168.0.1\public (расшаренная папка)...... не найдено имя группы!"выкладываю smb.conf
#======================= Global Settings =======================
[global]
workgroup = WORKGROUP
server string = Samba Ubuntu
#interfaces = eth0 192.168.0.1
wins server = w.x.y.z
log file = /var/log/samba/%m.log
#max log size = 50
#map to guest = Bad User
dns proxy = no
#security = user
netbios name = SERVER
os level = 255
wins support = no
hosts allow = 192.168.0.0/8
#### Networking ####
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 50
syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
guest ok = yes
pam password change = yes
map to guest = bad user
########## Domains ###########
logon path = \\%N\profiles\%U
# logon path = \\%N\%U\profile
logon drive = H:
# logon home = \\%N\%U
; logon script = logon.cmd
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
add group script = /usr/sbin/addgroup --force-badname %g
############ Misc ############
; include = /home/samba/etc/smb.conf.%m
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
; usershare max shares = 100
usershare allow guests = yes
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
guest ok = yes
read only = no
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
read only = yes
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
; write list = root, @lpadmin
[public]
comment = Ubuntu File Server
path = /srv/pub
browseable = yes
guest ok = yes
force user = me
force group = WORKGROUP
read only = no
create mask = 0777