[Samba] Win2k clients problem after updating system
Juanjo Lull ONO
juanjo.carel at ono.com
Sun Jan 11 18:34:40 GMT 2004
Hello all samba users and programmers,
Since I changed my system and reinstalled samba funny things happen in my net. I used to work with a Gentoo system and now I've got installed a Knoppix 3.2 Debian, but by now I don't think it's interesting for the problem I've got.
What I did was:
- install samba 3.0.0-final
- copy the old smb.conf file to the path in the new system
- change smb.conf to be good for the new samba version (I think the old was 2.3)
- copy the old smbusers and smbpasswd to the samba folder in the new installation.
Now the system is running BUT in my Win2k clients, some users can log in and others can't. And also the users who can login do not have the logon script exec'ed.
I have reinstalled one of the computers and IT WORKS. I mean that the logon script works and everybody can login.
Is there any way to recover the net without reinstalling all the clients? Has this anything to do with the PDC SID. Samba is the main PDC. This is smb.conf without the comment lines:
#============================ Global Definitions ==============================
[global]
workgroup = MY_LAN
netbios name = PENGUIN
server string = Servidor SaMBa %v
syslog = 0
panic action = /usr/share/samba/panic-action %d
printcap name = /etc/printcap.cups
load printers = yes
guest account = nobody
printing = cups
log file = /var/log/samba/log.%m
max log size = 1000
hosts allow = 192.168.0. 127.0.0.1
security = user
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
socket options = TCP_NODELAY
interfaces = 192.168.0.0/24
local master = yes
os level = 32
domain master = yes
preferred master = yes
domain logons = yes
logon script = logon.bat
logon path =
logon drive = W:
dns proxy = no
dos charset = CP850
unix charset = ISO8859-15
#============================ Share Definitions ==============================
[homes]
comment = Directorio Home
browseable = no
writable = yes
path = /home/%U/samba
valid users = %U
create mask = 0700
directory mask = 0700
[forall]
comment = Directory for all
browseable = yes
writable = yes
path = /home/forall
public = yes
force user = exper
[programas]
comment = Programas utiles
browseable = yes
writable = no
path = /progrs
public = yes
force user = exper
[progr_admin]
comment = Programas para anyadir
browseable = yes
writeable = yes
path = /progrs
public = yes
valid users = root
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /etc/samba
; public = no
guest ok = yes
writable = no
browsable = no
; share modes = no
[printers]
comment = All Printers
path = /var/spool/cups/tmp
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
[HPDeskjet]
comment = Fred's Printer
# valid users = fred
path = /var/spool/cups/tmp
printer = HPDeskjet840C
browseable = no
public = yes
# writable = yes
printable = yes
This is all. Remember that IT WORKED before canging the linux distro so it must be a problem with samba version migration OR with the clients (more easy to think about it...)
Finally the logs:
- log.nmbd
[2004/01/11 19:17:27, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 192.168.0.11: code = 0x12
[2004/01/11 19:17:40, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 192.168.0.11: code = 0x12
[2004/01/11 19:17:40, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 192.168.0.11: code = 0x12
[2004/01/11 19:20:45, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 192.168.0.11: code = 0x12
...
(allways the same error, no matter the computer: also the new one)
- log.p1 (p1 one of the computers)
[2004/01/11 18:32:14, 0] smbd/service.c:make_connection(850)
p1 (192.168.0.11) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}
[2004/01/11 18:32:24, 0] lib/smbrun.c:setup_out_fd(42)
setup_out_fd: Failed to create file /tmp/smb.9RIQDx. (Permiso denegado)
[2004/01/11 18:32:34, 0] lib/smbrun.c:setup_out_fd(42)
setup_out_fd: Failed to create file /tmp/smb.T2VSr1. (Permiso denegado)
[2004/01/11 18:32:44, 0] lib/smbrun.c:setup_out_fd(42)
setup_out_fd: Failed to create file /tmp/smb.PYAIEu. (Permiso denegado)
[2004/01/11 18:32:54, 0] lib/smbrun.c:setup_out_fd(42)
setup_out_fd: Failed to create file /tmp/smb.JCJQ8v. (Permiso denegado)
[2004/01/11 18:33:04, 0] lib/smbrun.c:setup_out_fd(42)
setup_out_fd: Failed to create file /tmp/smb.xqtCye. (Permiso denegado)
[2004/01/11 18:33:22, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
OK. Here you see couldn't find service ... maybe that's the big and real problem...
Thanx in advance. I hope I've given enough info (at least I've given a great amount!)
More information about the samba
mailing list