Portál AbcLinuxu, 13. května 2025 19:59
jsem si vedom cetnosti dotazu k tomuto problemu na tomto serveru, ale bohuzel zadne vlakno mi nepomohlo muj problem vyresit.
WinXP nemuzu za zadnou cenu donutit aby se prihlazily k PDC Samba. Vzdy mi vrati chybu "Nezname uzivatelske jmeno, nebo spatne heslo".
Sambu jsem zkousim konfigurovat na Debianu Sarge,Etch a na Slacku 11.0.
Verze samby 3.0.25b a 3.0.24
postupoval jsem podle nasledujicich odkazu:
http://www.linuxgod.net/docs/Samba-PDC-HOWTO.html
http://www.abclinuxu.cz/clanky/site/soukroma-sit-i
Jeste doplnim, ze v zadnem logu neni zminka o chybnem logovani. Pomoci tcpdump vidim, ze si PC se Sambou vymeni nekolik paketu na portu 138.
Nazev PC jsem do passwd
a smbpasswd
pridaval rucne, protoze add machine script
nefunguje. To taky nevim proc.
Prikladam konfigurak:
[global]
workgroup = SKUPINA
server string = Linux Samba server
netbios name = jmeno
log level = 10
debug level = 10
hosts allow = 192.168. 127.
log file = /var/log/samba/%m.log
max log size = 1000
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
update encrypted = yes
null passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n Retype\snew\sUNIX\spassword:* %n\n .
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 65
domain master = true
domain logons = yes
logon script = %g.bat
wins support = no
dns proxy = no
admin users = `uzivatele`
add machine script = /usr/sbin/useradd -m -c "Machine account" -d /home/machines/%u -g 1004 -s /bin/false %u
map to guest = Bad User
[global] include = /etc/samba/dhcp.conf logon drive = P: domain master = Yes map to guest = Bad User winbind trusted domains only = yes logon home = \\%L\%U\.9xprofile wins support = true printcap cache time = 750 netbios name = jmeno_serveru cups options = raw server string = Samba printing = cups local master = Yes logon path = \\%L\profiles\.msprofile workgroup = jmeno_domeny os level = 65 printcap name = cups security = domain add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ usershare allow guests = No domain logons = Yes [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service writeable = yes create mode = 0600 public = yes path = %H store dos attributes = Yes directory mode = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [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 [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon write list = root
Hlavne, ze uz to jede!
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.