samba access denied
tu je configurak:
[global]
name resolve order = hosts wins bcast
smb passwd file = /etc/samba/smbpasswd
passwd chat debug = yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
idmap gid = 15000-20000
passwd program = /usr/bin/passwd %u
netbios name = server1
printing = CUPS
idmap uid = 15000-20000
logon script = map_drives.bat
workgroup = domain
printcap name = CUPS
security = user
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
delete user script = /usr/sbin/userdel -r %u
log level = 5
log file = /var/log/samba/log.%m
add group script = /usr/sbin/groupadd %g
announce version = 4.9
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
logon drive = H:
username map = /etc/samba/smbusers
interfaces = 192.168.1.0/24 bond0
# winbind trusted domains only = yes
winbind use default domain = no
passdb backend = smbpasswd
wins support = yes
# wins server = 192.168.1.3
server string = %h
password server = 192.168.1.3
unix password sync = yes
logon path = \\server1\profile\%U
add user script = /usr/sbin/useradd -m %u
preferred master = yes
# domain logons = yes
domain master = yes
hosts allow = 127.0.0.1 192.168.1.0/24 192.168.10.0/24 192.168.14.0/24
os level = 64
encrypt passwords = yes
template shell = /bin/false
========================================================================
smbclient -L domain -U%
Domain=[domain] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine xxxxxx. Error was NT_STATUS_ACCESS_DENIED
Error returning browse list: NT_STATUS_ACCESS_DENIED
session request to domain failed (Called name not present)
Domain=[domain] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
vdaka
Pre pridávanie komentárov sa musíte prihlásiť.
-
-
Re: samba access denied 10.09.2010 | 16:07Peter S. NávštevníkNo dobre, ale čo sa píše v logu??? Tam toho bude určite viacej...
-
Re: samba access denied 10.09.2010 | 16:14Peter S. Návštevník+ okrem toho že máš sekciu global, máš aj definované napríklad zdieľané adresáre? Aj ked toto možno nie je potrebné...
-