Suse Linux 10.2
Samba 3.0.23С винды набираешь \\192.168.1.68, шары выдно, но пытаешься зайти в USERS - запрашивает имя и пароль, ввожу user, pass (user прописан в линуксе, права на папку home есть!) но винда пишет "в доступе отказано"
вот конфиг:
[global]
workgroup = PLANETA
printcap name = cups
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:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = Yes
read only = No
inherit acls = Yes[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700[users]
comment = All users
path = /home/
inherit acls = yes
veto files = /aquota.user/groups/shares/
inherit permissions = yes
case sensitive = no
strict locking = no
msdfs proxy = no
read only = no
guest ok = yes[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
security = share
>security = shareТо же самое, только пишет "неверный пароль". Где грабли - не пойму. :/
Машина - FreeBSD 6.2. Samba-3. Пытаюсь войти из под WinXP
Установил самбу, cделал:
adduser,
smbpasswd -a user
smbpasswd -e userМой smb.conf:
[global]
client code page = 866
character set = KOI8-R
interfaces = rl0
security = user
os_level = 55
preferrend_master = yes
domain_master = no
# wins_support = yes
idap_ssl = no
workgroup = MYGROUP
log file = /var/log/samba/smb.log
log level = 5
max log size = 50
encrypt passwords = yes
smb passwd file = /usr/local/etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
host allow = 10.0.0. 127.
# map to guest = Bad User
# guest account = user
[paint$]
path = /usr/amba
valid users = nikos
read only = no
guest ok = no
>[оверквотинг удален]
>host allow = 10.0.0. 127.
># map to guest = Bad User
># guest account = user
>
>
>[paint$]
>path = /usr/amba
>valid users = nikos
>read only = no
>guest ok = noчто ж вы, батенька, разрешаете шару только nikos, а добавляете в smbpasswd только user. вы им и логинитесь на самбу?..
в случае "security = share" "valid users" убрать