Re: [Samba] trouble with long filename copy

2005-07-15 Thread [EMAIL PROTECTED]

-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-

# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/hda1   noneswapsw  0   0
#
#
/dev/hda5   /   ext3defaults,errors=remount-ro 0   1
/dev/hda6   /usrext3defaults0   2
/dev/hda7   /varext3defaults0   2
#
#
/dev/sda1   /srvreiserfs defaults0   2
/srv/HOME   /home   nonebind0   0
/srv/SHARE  /share  nonebind0   0
/srv/SHARE  /Samba  nonebind0   0
#
#
/dev/hdb/media/cdrom0   udf,iso9660 ro,user,noauto  0   0
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 smbusers104 2005-05-06 15:44 netlogon
drwxrwxr-x   7 root smbusers168 2005-04-27 00:21 profiles
drwxrwxr-x   2 root smbusers 72 2005-05-09 16:43 projecten
drwxrwxr-x  16 root smbusers456 2005-07-07 09:48 P-schijf
# 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

RE: [Samba] trouble with long filename copy

2005-07-12 Thread Louis van Belle
777
lpq command = /usr/bin/lpq -P'%p'
lprm command = /usr/bin/lprm -P'%p' %j
lppause command = /usr/sbin/lpc hold '%p' %j
lpresume command = /usr/sbin/lpc release '%p' %j
queueresume command = /usr/sbin/lpc start '%p'
queuepause command = /usr/sbin/lpc stop '%p'
# Print Command is not used when using cups
#   print command = /usr/bin/lpr -r -P'%p' %s


### Printing Section 3 "The Windows Printer drivers"
# Required permissions
# The account used to connect to the Samba host must have 
# a UID of 0 (i.e., a root account). ( or Administrator )
# The account used to connect to the Samba host must be 
# named in the printer adminlist. 
# Or The account used to connect to the Samba host must have 
# SEPrintOperatorRights
[print$]
comment = Printer Drivers Download Area
path = /home/samba/printers
browseable = no
guest ok = no
read only = yes
write list = @"Print Operators",@"Domain Admins",Administrator,root
create mask = 0664
directory mask = 0775
valid users = @"Domain Users",@"Print Operators",@"Domain
Admins",Administrator,root

[netlogon]
browseable = Yes
comment = NetLogon Service
write list = @"Domain Admins",Administrator
path = /home/samba/netlogon

[profiles]
path = /home/samba/profiles
comment = Profiel omgeving
read only = no
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
# next line is a great way to secure the profiles 
force user = %U 
# next line allows administrator to access all profiles 
valid users = %U
nt acl support = no
default case = lower
short preserve case = no
case sensitive = no

[homes]
comment = Prive documenten van %U
read only = No
create mask = 0644
directory mask = 0775
browseable = No
vfs object = recycle 
recycle: config-files = /etc/samba/samba-recycle.conf
#   vfs object = recycle vscan-clamav
#   vscan-clamav: config-file = /etc/samba/samba-vscan-clamav.conf

[afdelingen]
comment = Afdelings Documenten
path = /home/samba/afdelingen
browseable = No
read only = No
directory mask = 2775
create mask = 2664
users = @"domain users"
vfs object = recycle 
recycle: config-files = /etc/samba/samba-recycle.conf


[ontwikkeling]
browseable = No
writeable = yes
path = /home/samba/ontwikkeling
comment = Ontwikkeling
create mode = 644
directory mode = 755
users = @"domain users"
vfs object = recycle 
recycle: config-files = /etc/samba/samba-recycle.conf


[klanten]
browseable = No
writeable = yes
read list = @"domain users"
path = /home/samba/klanten
write list = @"domain admins"
force user = nfsuser
force group = staff
comment = Klanten 
create mode = 644
directory mode = 755

[installers]
browseable = No
writeable = No
read list = @"domain users"
path = /home/samba/installers
write list = @"domain admins"
comment = Installatie Software
create mode = 664
directory mode = 775

[uitwissel]
comment = Uitwissel omgeving Ontwikkeling
browseable = No
writeable = Yes
#   read list = @"domain users"
path = /home/samba/uitwissel
#   write list = @"domain admins"
create mode = 666
directory mode = 777

[log$]
comment = Loggin omgeving
browseable = Yes
writeable = Yes
    path = /home/samba/logs
#   write list = @"domain admins",@"Domain Users"
create mode = 666
directory mode = 777

 

>-Oorspronkelijk bericht-
>Van: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] 
>Namens [EMAIL PROTECTED]
>Verzonden: dinsdag 12 juli 2005 0:15
>Aan: Jeremy Allison; SAMBA mail-list
>Onderwerp: Re: [Samba] trouble with long filename copy
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Dear Jeremy et all,
>
>Problem is reproduceable
>I manually upgraded all samba utils to 3.0.14 or equiv.
>
>A: under WinXP
>- -Create link to Samba share: in my case 'P on server'
>- -Copy a folder or (set of) file(s) to clipboard using [CTRL]+[C]
>- -Paste clipboard to link to share: in my case 'P on server'
>
>Windows comes back with a message saying something like
>'copy can not

Re: [Samba] trouble with long filename copy

2005-07-12 Thread Jeremy Allison
On Tue, Jul 12, 2005 at 12:14:30AM +0200, [EMAIL PROTECTED] wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Dear Jeremy et all,
> 
> Problem is reproduceable
> I manually upgraded all samba utils to 3.0.14 or equiv.

Unfortunately 3.0.14 isn't the latest code :-). 3.0.14a is
the latest "stable" and Jerry is preparing to release a
3.0.20 pre-release. I suggest you try and reproduce
with that first.

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] trouble with long filename copy

2005-07-11 Thread [EMAIL PROTECTED]

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear Jeremy et all,

Problem is reproduceable
I manually upgraded all samba utils to 3.0.14 or equiv.

A: under WinXP
- -Create link to Samba share: in my case 'P on server'
- -Copy a folder or (set of) file(s) to clipboard using [CTRL]+[C]
- -Paste clipboard to link to share: in my case 'P on server'

Windows comes back with a message saying something like
'copy can not be executed because share does not support long filenames'

B: under WinXP (same machine as A)
- -Map same share as in case A to network drive P:
- -Copy a folder or (set of) file(s) to clipboard using [CTRL]+[C]
- -Paste clipboard to P:

Now the same copy does get executed correctly

We're still talking about:
server: Ubuntu Linux Hoary Hedgehog. + Samba 3.0.14
Client: WinXP + SP2 + all other 'bugfixes'

Regards,
Marout

Jeremy Allison schreef:

|On Mon, Jun 27, 2005 at 08:38:06AM +0200, [EMAIL PROTECTED] wrote:
|
|>-BEGIN PGP SIGNED MESSAGE-
|>Hash: SHA1
|>
|>Dear Jeremy,
|>
|>Jeremy Allison schreef:
|>
|>|>|This sounds like a Win9x client bug only. You might want to try
|>|>|a later Samba release as I fixed a bug w.r.t. this for 3.0.14a
|>|>|I think.
|>|>
|>|>Sorry, the error occurs at win XP PRO SP1 and XP PRO SP2 clients
|>|
|>|I still want you to try it with 3.0.14a and also the just released
|>|3.0.20 pre-release. If you can reproduce it then we'll follow up
|>|with capture traces and debug logs.
|>
|>Do I need to set any extra varables or change configs for
|>crating these traces?
|
|
|Let me know if you can reproduce it with the latest code first,
|then we'll start getting detailed about smb.conf files, logs etc.
|
|Jeremy.
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC0u9GN9ZgG5roZQwRAv/kAJ0UI4v5+SjHUdqU240//28jR/GwhQCgmBch
SxZ+kS8B2UWymyokewWI5/Q=
=qDU3
-END PGP SIGNATURE-

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] trouble with long filename copy

2005-06-26 Thread Jeremy Allison
On Sun, Jun 26, 2005 at 11:07:15PM +0200, [EMAIL PROTECTED] wrote:
> |
> |This sounds like a Win9x client bug only. You might want to try
> |a later Samba release as I fixed a bug w.r.t. this for 3.0.14a
> |I think.
> 
> Sorry, the error occurs at win XP PRO SP1 and XP PRO SP2 clients

I still want you to try it with 3.0.14a and also the just released
3.0.20 pre-release. If you can reproduce it then we'll follow up
with capture traces and debug logs.

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] trouble with long filename copy

2005-06-26 Thread [EMAIL PROTECTED]

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear Jeremy

Jeremy Allison schreef:

|On Sun, Jun 26, 2005 at 10:27:44PM +0200, [EMAIL PROTECTED] wrote:
|
|>Problem:
|>when someone drags and drops a folder from one location to another
|>on a windows client, they get an error saying
|>
|>"this location does not support long filenames"
|>or
|>"the filename contains characters not supported by the target"
|>
|>(since I'm not in vicinity of the offending system I heve to
|>reproduce error messages from the mind)
|>When in the same setup, content is copied to clipboard ([CTRL]+[C])
|>and subsequently pasted ([CTRL]+[V]), the problem does not occur...
|>
|>Does anyone have a clue?
|>At first I thought of a codepage issue, but for Samba 3.0.10 neither
|>SWAT nor the samba.org website shows codepage selection options
|>in smb.conf
|>Ubuntu uses [EMAIL PROTECTED] environment settings in this case.
|
|This sounds like a Win9x client bug only. You might want to try
|a later Samba release as I fixed a bug w.r.t. this for 3.0.14a
|I think.

Sorry, the error occurs at win XP PRO SP1 and XP PRO SP2 clients

Regards,
Marout

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

iD8DBQFCvxkCN9ZgG5roZQwRAud7AKC1u2YYsdhjrVhaI7XE+U4KGf8CoQCgmaHe
0YZXI+XBlcasU1ZirGSLOqM=
=yxDS
-END PGP SIGNATURE-

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] trouble with long filename copy

2005-06-26 Thread Jeremy Allison
On Sun, Jun 26, 2005 at 10:27:44PM +0200, [EMAIL PROTECTED] wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> L.S.
> 
> I'm a new member here. I've been using Samba for about 7 years now.
> Usually in Win 98/2K environment, but recently also in XP environments
> My server basis is either Debian or Ubuntu linux.
> 
> Problem:
> when someone drags and drops a folder from one location to another
> on a windows client, they get an error saying
> 
> "this location does not support long filenames"
> 
> or
> 
> "the filename contains characters not supported by the target"
> 
> (since I'm not in vicinity of the offending system I heve to
> reproduce error messages from the mind)
> 
> When in the same setup, content is copied to clipboard ([CTRL]+[C])
> and subsequently pasted ([CTRL]+[V]), the problem does not occur...
> 
> Does anyone have a clue?
> 
> At first I thought of a codepage issue, but for Samba 3.0.10 neither
> SWAT nor the samba.org website shows codepage selection options
> in smb.conf
> Ubuntu uses [EMAIL PROTECTED] environment settings in this case.

This sounds like a Win9x client bug only. You might want to try
a later Samba release as I fixed a bug w.r.t. this for 3.0.14a
I think.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] trouble with long filename copy

2005-06-26 Thread [EMAIL PROTECTED]

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

L.S.

I'm a new member here. I've been using Samba for about 7 years now.
Usually in Win 98/2K environment, but recently also in XP environments
My server basis is either Debian or Ubuntu linux.

Problem:
when someone drags and drops a folder from one location to another
on a windows client, they get an error saying

"this location does not support long filenames"

or

"the filename contains characters not supported by the target"

(since I'm not in vicinity of the offending system I heve to
reproduce error messages from the mind)

When in the same setup, content is copied to clipboard ([CTRL]+[C])
and subsequently pasted ([CTRL]+[V]), the problem does not occur...

Does anyone have a clue?

At first I thought of a codepage issue, but for Samba 3.0.10 neither
SWAT nor the samba.org website shows codepage selection options
in smb.conf
Ubuntu uses [EMAIL PROTECTED] environment settings in this case.

Regards,
Marout Borms
Amsterdam NL
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCvw+/N9ZgG5roZQwRAvm4AJ93apoiu8CPV/EDItLXQrKFpdecQgCg2akz
5gzfeXpaaAo/j8eC/1cTMYE=
=qbw/
-END PGP SIGNATURE-

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba