[Samba] MS-DOS, WinXP SP2 with 3.05 and 3.0.6rc2

Rönnblom Janåke /Teknous jan-ake.ronnblom at skeria.skelleftea.se
Mon Aug 16 10:32:54 GMT 2004


Hello!

I use Windows XP SP2 on my clients. I use the http://unattended.sf.net to
automatically
install my WinXP machines from a MS-DOS client. This works fine in
samba-3.0.5 but since
SP2 causes a problem with printers I upgraded to samba-3.0.6rc2. RC2 in
turn doesn't work
with MS-DOS clients. The symptom is that I can boot from the fileserver
but when I try to
invoke a program I get different error messages. If i downgrade to
samba-3.0.5 it works again
but no printers...

It seems that the client connects and then is disconnected immediately
which in turn causes samba
to spawn another smbd process for the client (se the new pid number). It
spawns a new process everytime
I try to run perl.exe or any executable from MS-DOS.

[2004/08/16 12:00:05, 1] smbd/service.c:make_connection_snum(648)
  install-37791 (193.180.154.20) connect to service unattend$ initially as
user DOMAIN\installuser (uid=10013, gid=10001) (pid 16072)
[2004/08/16 12:00:05, 1] smbd/service.c:close_cnum(837)
  install-37791 (193.180.154.20) closed connection to service unattend$
[2004/08/16 12:00:05, 1] smbd/service.c:make_connection_snum(648)
  install-37791 (193.180.154.20) connect to service unattend$ initially as
user DOMAIN\installuser (uid=10013, gid=10001) (pid 16073)
[2004/08/16 12:00:06, 1] smbd/service.c:close_cnum(837)
  install-37791 (193.180.154.20) closed connection to service unattend$
[2004/08/16 12:00:08, 1] smbd/service.c:make_connection_snum(648)
  install-37791 (193.180.154.20) connect to service unattend$ initially as
user DOMAIN\installuser (uid=10013, gid=10001) (pid 16081)
[2004/08/16 12:00:08, 1] smbd/service.c:close_cnum(837)
  install-37791 (193.180.154.20) closed connection to service unattend$
[2004/08/16 12:00:08, 1] smbd/service.c:make_connection_snum(648)
  install-37791 (193.180.154.20) connect to service unattend$ initially as
user DOMAIN\installuser (uid=10013, gid=10001) (pid 16082)

Could this be the same problem as in:

Samba] DOS error 58 is back
http://lists.samba.org/archive/samba/2004-August/090624.html

[Samba] Guest User Problems
http://lists.samba.org/archive/samba/2004-August/090847.html

my smb.conf

root at ce-una /var/log/samba# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[install]"
Processing section "[unattend$]"
Processing section "[boot$]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = DOMAIN
        realm = DOMAIN.SKELLEFTEA.SE
        server string = Trustix Secure Linux Samba Server
        security = ADS
        passdb backend = tdbsam:/etc/samba/passdb.tdb,
smbpasswd:/etc/samba/smbpasswd
        log file = /var/log/samba/log.%I
        max log size = 500
        unix extensions = No
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        os level = 32
        preferred master = No
        domain master = No
        wins proxy = Yes
        wins server = 193.180.x.y
        idmap uid = 10000-40000
        idmap gid = 10000-40000
        template primary group = "Domain Users"
        template homedir = /home/users/%U
        winbind use default domain = Yes
        printer admin = @DOMAIN\Support, DOMAIN\Administrator

[install]
        path = /opt/shares/install
        valid users = "DOMAIN\Domain Users"
        write list = DOMAIN\pcadmin
        read only = No

[unattend$]
        path = /opt/shares/unattend
        valid users = DOMAIN\installuser, DOMAIN\pcadmin

[boot$]
        path = /opt/tftpboot/pxelinux.cfg
        write list = DOMAIN\installuser
        read only = No
        create mask = 0204
        force create mode = 0204
        default case = upper
        preserve case = No
        short preserve case = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        admin users = root, DOMAIN\Administrator, DOMAIN\pcadmin
        write list = root, DOMAIN\Administrator, DOMAIN\pcadmin
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /opt/samba/drivers
        admin users = root, DOMAIN\Administrator, DOMAIN\pcadmin
        write list = root, DOMAIN\Administrator, DOMAIN\pcadmin



=====================================================
Janåke Rönnblom
SKERIA Utveckling AB (Teknous)
Assistentgatan 23
931 77 Skelleftea (Sweden)
-----------------------------------------------------
Phone  : +46-910-58 54 24
Mobile : 070-397 07 43
Fax    : +46-910-58 54 99
URL    : http://skeria.skelleftea.se
-----------------------------------------------------
"Nemo enim fere saltat sobrius, nisi forte insanit" 




More information about the samba mailing list