[Samba] trouble with long filename copy

beijnes at xs4all.nl beijnes at xs4all.nl
Fri Jul 15 15:46:27 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy, Louis et all,

I checked everyting:

Server:
- -Ubuntu
- -Kernel 2.6.10
- -Samba 3.0.14a
server dows not use LDAP, it uses SMBPASSWD and ordinary unix 
authentication.
users have their ownd group (e.g. marout:marout).
Samba users are member of the group smbusers

Clients:
Win XP SP2 (dutch)
Win 98SE with all updates (dutch)
network configuration is done by DHCP


Problem remains and is reproduceable:
When files are copied via clipboard ([CTRL]+[C], [CTRL]+[V])
the attached error pops up.

The error now poccurs when a share:
- -is attached to a drive letter e.g.: P:\ = //server/public
- -is called by it's UNC path e.g.: //server/public

WHen a set of files is dragged and dropped into an UNC-path explorer window,
error also occurs

When a set of files is dragged and dropped into an explorer window a 
drive letter folder (e.g. P:), the error does NOT occur

Attached are:

image001.jpg                  the windows error message
ls_sambadirs.OCC           rights settings for the samba shares
/etc/fstab.OCC                 server mounts
/etc/smb.conf.OCC          the config of the samba server.
/etc/dhcp3/dhcpd.conf   the dhcpd config

Regards,
Marout Borms


|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC19pSN9ZgG5roZQwRAjs3AJ9Sq40TAK/iRPIHeuQTzhSP8bpR/wCgi4sI
gLxbx4F4CI7XJEkP55TlX0k=
=unSu
-----END PGP SIGNATURE-----

-------------- next part --------------
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       none            swap    sw              0       0
#
#
/dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda6       /usr            ext3    defaults        0       2
/dev/hda7       /var            ext3    defaults        0       2
#
#
/dev/sda1       /srv            reiserfs defaults        0       2
/srv/HOME       /home           none    bind            0       0
/srv/SHARE      /share          none    bind            0       0
/srv/SHARE      /Samba          none    bind            0       0
#
#
/dev/hdb        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
-------------- next part --------------
totaal 0
drwxrwxr-x   2 root boekhouding  48 2005-04-27 09:45 boekhouding
drwxrwxr-x   2 root smbusers     48 2005-04-27 08:55 data
drwxrwxr-x   2 root smbusers     48 2005-05-21 12:23 ftp
drwxrwxr-x   2 root smbusers    104 2005-05-06 15:44 netlogon
drwxrwxr-x   7 root smbusers    168 2005-04-27 00:21 profiles
drwxrwxr-x   2 root smbusers     72 2005-05-09 16:43 projecten
drwxrwxr-x  16 root smbusers    456 2005-07-07 09:48 P-schijf
-------------- next part --------------
# Samba config file created using SWAT
# from 192.168.110.55 (192.168.110.55)
# Date: 2005/05/06 15:20:46

# Global parameters
[global]
	workgroup = THAICUISINE
	server string = %L
	interfaces = 192.168.110.0/24
	bind interfaces only = Yes
	obey pam restrictions = Yes
	passdb backend = tdbsam
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	time server = Yes
	hostname lookups = Yes
	add user script = /usr/sbin/useradd -m '%u'
	delete user script = /usr/sbin/userdel -r '%u'
	add group script = /usr/sbin/groupadd '%g'
	delete group script = /usr/sbin/groupdel '%g'
	add user to group script = /usr/sbin/usermod -G '%g' '%u'
	add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'
	logon script = base.bat
	logon path = \\%L\%U\.winprofile
	logon drive = U:
	logon home = \\%L\%U
	domain logons = Yes
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	ldap ssl = no
	panic action = /usr/share/samba/panic-action %d
	invalid users = root
	hide files = .*

[netlogon]
	comment = Windows mount script voor gedeelde mappen op %L
	path = /Samba/netlogon
	write list = marout, erwin, @marout, @erwin
	guest ok = Yes
	browseable = No
	volume = Windows mount script voor gedeelde mappen op %L

[profiles]
	comment = Windows profiles directory
	path = /Samba/profiles
	read only = No
	create mask = 0600
	directory mask = 0700
	browseable = No
	volume = Windows profiles directory

[homes]
	comment = Gebruikers thuismap op %L (toegang alleen voor gebruiker)
	path = /home/%U/UserSpace
	browseable = No
        create mask = 0755
        map system = Yes
        map hidden = Yes
	read only = No
	volume = Gebruikers thuismap op %L (Vrije toegang alleen voor gebruiker.)

[P-schijf]
	comment = Openbare map op %L (Vrije toegang.)
	path = /Samba/P-schijf
	username = @smbusers
	valid users = @smbusers
	write list = @smbusers
	force group = smbusers
	read only = No

#        create mask = 775
#        directory mask = 775

#
        force create mode = 0775
#
        force directory mode = 0775

	volume = Openbare map op %L (Vrije toegang.)

[Projecten]
	comment = Projectenmap op %L (Vrij benaderbaar. Wis-/veranderbaar voor eigenaar.)
	path = /Samba/projecten
	username = @smbusers
	valid users = @smbusers
#	admin users = @boekhouding
	read only = No
	force create mode = 0744
	force directory mode = 0755
	volume = Projectenmap op %L (Vrij benaderbaar. Wis-/veranderbaar voor eigenaar.)

[Data]
        comment = Algemene onzichtbare map op %L (vrij vrij benaderbaar. Wis-/veranderbaar voor eigenaar.)
	path = /Samba/data
	username = @smbusers
	valid users = @smbusers
	admin users = @boekhouding
	read only = No
	force create mode = 0744
	force directory mode = 0755
	browseable = No
	volume = Algemene onzichtbare map op %L (vrij benaderbaar. Wis-/veranderbaar voor eigenaar.)

[Ftp]
	comment = Algemene onzichtbare map op %L (vrij vrij benaderbaar. Wis-/veranderbaar voor eigenaar)
	path = /Samba/ftp
	username = @smbusers
	valid users = @smbusers
	admin users = @boekhouding
	read only = No
	force create mode = 0744
	force directory mode = 0755
	browseable = No
	volume = Algemene onzichtbare map op %L (vrij benaderbaar. Wis-/veranderbaar voor eigenaar)

[Boekhouding]
	comment = Projectenmap op %L (Vrij benaderbaar. Wis-/veranderbaar voor eigenaar.)
	path = /Samba/projecten
	username = @smbusers
	valid users = @boekhouding
	admin users = @boekhouding
        force group = boekhouding
	read only = No
        browseable = No
	force create mode = 0744
	force directory mode = 0755
	volume = Projectenmap op %L (Vrij benaderbaar. Wis-/veranderbaar voor eigenaar.)

[printers]
	comment = All Printers
	path = /tmp
	create mask = 0700
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
	browseable = No
-------------- next part --------------
# /etc/dhcp3/dhcpd.conf
#
#

# option definitions common to all supported networks...
	authoritative;
	default-lease-time 1800;
	option domain-name "orientalcatering.nl";
	option domain-name-servers 192.168.110.10, 195.241.77.54, 195.241.77.55, 195.241.77.58, 195.241.77.53, 194.109.104.104, 194.109.6.66;
	option routers 192.168.110.10;
	option subnet-mask 255.255.255.0;
	option broadcast-address 192.168.110.255;
	option ntp-servers ntp0.nl.net, ntp1.theinternetone.net;
	option nis-domain "orientalcatering.nl";
	option nis-servers server.orientalcatering.nl;
	option netbios-name-servers server.orientalcatering.nl;

# oreintalcatering.nl home network 
# desktop hosts
subnet 192.168.110.0 netmask 255.255.255.0 {
	range 192.168.110.61 192.168.110.80;
	}


# mobile hosts 
#subnet 192.168.110.0 netmask 255.255.255.0 {
#	}

# adsl-dmz unsafe dmz network
subnet 192.168.1.0 netmask 255.255.255.0 {
	}
#
#
# ****** Hosts with fixed IP ***

# desktop hosts
#host client1.orientalcatering.nl {
#	hardware ethernet 00:0E:A6:8A:F3:7E;
#	hardware ethernet 00:00:04:E8:7A:8C;
#	fixed-address 192.168.110.51;
#	}

#host client2.orientalcatering.nl {
#	hardware ethernet 00:00:04:E8:7A:8C;
#	hardware ethernet 00:50:04:55:88:AD;
#	fixed-address 192.168.110.52;
#	}

# mobile hosts
#host laptop1.orientalcatering.nl {
#	hardware ethernet 00:C0:4F:3C:0A:CF;
#	fixed-address 192.168.110.151;
#	}

host laptop29.orientalcatering.nl {
	hardware ethernet 00:0D:56:3C:F8:17;
	fixed-address 192.168.110.179;
	}
#
# end of /etc/dhcp3/dhcpd.conf


More information about the samba mailing list