Re: [Samba] Trailing backslash issue with Windows Shares

2007-08-15 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mac wrote:

 Whilst looking at other things, we've seen Wireshark traces 
 where the client appears to ask for:-
 
 
   \\server\shar
 
 before actually asking for
 
   \\server\share
 
 
 Could this be the same issue ?

Windows client bug.  I investigated this a long time ago.




cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
What man is a man who does not make the world better?  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGw2fiIR7qMdg1EfYRAgOgAKCflm8YIT7fbhraMFpIdzPOD3acpACfc5b7
kLHxwSp7XjWu+d8duh4t1vo=
=mNeY
-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] Trailing backslash issue with Windows Shares

2007-08-13 Thread Mac
Hi there,


 I have Samba 3.0.25b running as a PDC.  When opening a share on a
 Windows member server from an XP/Vista client, if I add a trailing
 backslash after a share name (e.g. \\WIN-SERVER\C$\) then an explorer
 windows appears immediately and correctly contains the share.  Without
 the backslash (e.g. \\WIN-SERVER\C$) I have observed delays of up to
 20 seconds.  I have msdfs root = yes in my smb.conf.  Is this a known
 problem ?

Yeah, known bug someone reported - will be fixed for 3.0.25c.

Whilst looking at other things, we've seen Wireshark traces where the
client appears to ask for:-


\\server\shar

before actually asking for

\\server\share


Could this be the same issue ?


   Mac
  Assistant Systems Administrator @nibsc.ac.uk
   [EMAIL PROTECTED]
   Work: +44 1707 641565  Everything else: +44 7956 237670 (anytime)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Trailing backslash issue with Windows Shares

2007-08-10 Thread Patrick Rynhart
I have Samba 3.0.25b running as a PDC.  When opening a share on a
Windows member server from an XP/Vista client, if I add a trailing
backslash after a share name (e.g. \\WIN-SERVER\C$\) then an explorer
windows appears immediately and correctly contains the share.  Without
the backslash (e.g. \\WIN-SERVER\C$) I have observed delays of up to
20 seconds.  I have msdfs root = yes in my smb.conf.  Is this a known
problem ?

Regards,

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


Re: [Samba] Trailing backslash issue with Windows Shares

2007-08-10 Thread Jeremy Allison
On Sat, Aug 11, 2007 at 11:13:59AM +1200, Patrick Rynhart wrote:
 I have Samba 3.0.25b running as a PDC.  When opening a share on a
 Windows member server from an XP/Vista client, if I add a trailing
 backslash after a share name (e.g. \\WIN-SERVER\C$\) then an explorer
 windows appears immediately and correctly contains the share.  Without
 the backslash (e.g. \\WIN-SERVER\C$) I have observed delays of up to
 20 seconds.  I have msdfs root = yes in my smb.conf.  Is this a known
 problem ?

Yeah, known bug someone reported - will be fixed for 3.0.25c.

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


Re: [Samba] Trailing dot filenames

2005-06-22 Thread Christian Cernuschi
On lun, 2005-06-20 at 09:02 -0700, Jeremy Allison wrote:
 On Mon, Jun 20, 2005 at 03:41:43PM +0200, Christian Cernuschi wrote:
  Is there a way to solve this?
 
 Not currently for Windows. mangled map has really been deprecated (and
 somewhat unmaintained) for a while. A better solution would be a 2-way
 mapping function allowing a matching type to be mapped reversibly into
 another name. Windows definately removes trailing dots from files.
 
 Jeremy.


Thank you!
I'm solving with a longer method.
(create an empty structure somewhere else and then symbolic link every
file with .eml ext.)

Bye


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


[Samba] Trailing dot filenames

2005-06-20 Thread Christian Cernuschi
Hi..
I have a little problem exporting Cyrus Imap /var/spool/imap folder.

Cyrus saves all messages using a Number followed by a dot.

i.e.
mailserver 24m # ls -l
total 304
-rw---  1 cyrus mail   7188 Jun 20 09:17 5077.
-rw---  1 cyrus mail   4843 Jun 20 10:14 5078.
-rw---  1 cyrus mail   9431 Jun 20 10:45 5079.
-rw---  1 cyrus mail 196093 Jun 20 10:45 5080.
-rw---  1 cyrus mail   5050 Jun 20 11:24 5081.
-rw---  1 cyrus mail   4752 Jun 20 13:00 5082.
drwx--  2 cyrus mail   4096 Jun 16 01:53 Posta eliminata
drwx--  2 cyrus mail   4096 Jun 16 01:53 Posta in uscita
drwx--  2 cyrus mail   4096 Jun 16 01:53 Posta inviata
drwx--  2 cyrus mail   4096 Jun 16 01:53 Trash
-rw---  1 cyrus mail  27164 Jun 20 13:00 cyrus.cache
-rw---  1 cyrus mail157 May 30 16:11 cyrus.header
-rw---  1 cyrus mail436 Jun 20 14:54 cyrus.index


as you see email file always end with a dot.

I'm trying to export to a win2k3 server (which browses my mailserver)

So..
only files with trailing dots cannot be read from win.
I tried:

1 - mangle name=no - i see file name but i cannot read it (i guess
win2k3 cuts trailing dots)
2 - mangle name=yes,mangled map=(*. *.eml) or (*. *) - i cannot read
file (because win2k3 asks for a file that doesn't exists)
3 - mangle name=yes (no magled map) - readable file,incorrect name
files.

Is there a way to solve this?
I would like to use mangled map  but it seems to be useless. (because of
its one-way translation)

Thank You!
Bye

Christian


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


Re: [Samba] Trailing dot filenames

2005-06-20 Thread Jeremy Allison
On Mon, Jun 20, 2005 at 03:41:43PM +0200, Christian Cernuschi wrote:
 Hi..
 I have a little problem exporting Cyrus Imap /var/spool/imap folder.
 
 Cyrus saves all messages using a Number followed by a dot.
 
 i.e.
 mailserver 24m # ls -l
 total 304
 -rw---  1 cyrus mail   7188 Jun 20 09:17 5077.
 -rw---  1 cyrus mail   4843 Jun 20 10:14 5078.
 -rw---  1 cyrus mail   9431 Jun 20 10:45 5079.
 -rw---  1 cyrus mail 196093 Jun 20 10:45 5080.
 -rw---  1 cyrus mail   5050 Jun 20 11:24 5081.
 -rw---  1 cyrus mail   4752 Jun 20 13:00 5082.
 drwx--  2 cyrus mail   4096 Jun 16 01:53 Posta eliminata
 drwx--  2 cyrus mail   4096 Jun 16 01:53 Posta in uscita
 drwx--  2 cyrus mail   4096 Jun 16 01:53 Posta inviata
 drwx--  2 cyrus mail   4096 Jun 16 01:53 Trash
 -rw---  1 cyrus mail  27164 Jun 20 13:00 cyrus.cache
 -rw---  1 cyrus mail157 May 30 16:11 cyrus.header
 -rw---  1 cyrus mail436 Jun 20 14:54 cyrus.index
 
 
 as you see email file always end with a dot.
 
 I'm trying to export to a win2k3 server (which browses my mailserver)
 
 So..
 only files with trailing dots cannot be read from win.
 I tried:
 
 1 - mangle name=no - i see file name but i cannot read it (i guess
 win2k3 cuts trailing dots)
 2 - mangle name=yes,mangled map=(*. *.eml) or (*. *) - i cannot read
 file (because win2k3 asks for a file that doesn't exists)
 3 - mangle name=yes (no magled map) - readable file,incorrect name
 files.
 
 Is there a way to solve this?

Not currently for Windows. mangled map has really been deprecated (and
somewhat unmaintained) for a while. A better solution would be a 2-way
mapping function allowing a matching type to be mapped reversibly into
another name. Windows definately removes trailing dots from files.

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


Re: [Samba] trailing $

2002-10-17 Thread Andrew Bartlett
David Krovich wrote:
 
 Here is the situation.  I have NT 4.0 acting as a PDC on machine A.  On
 machine B, I have Sun PC Netlink running on a solaris machine.  In the
 PDC all home dirs are mapped to \\pcnetlinkserver\username$
 
 I'm trying to replace PC Netlink with Samba on Machine B.  The problem
 is I can't figure out how to make samba do the right thing when
 presented with username$.  Mounting a username without the trailing $
 works, but I would like Samba to share the user's homedir when it
 receives a request for either \\pcnetlinkserver\username or
 \\pcnetlinkserver\username$.
 
 Any help would be appreciated.  I tried searching, but it's tough for
 me to figure out how to correctly phrase my question to a search
 engine.

Not currently supported, but would not be *too* hard to support if you
really wanted to add it...

Possibly you could use %u macros for it, but that stuff gets werid fast.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] trailing $

2002-10-17 Thread David Krovich
Yeah, the approach I took was to use the %u macro, although I couldn't
get it to work in the service definition, ie [%u$], so I used the
include option and wrote a script to generate an include file for each
user.  With 2000 users, it's ugly and hackish, but it gets the job done.


On Thu, 2002-10-17 at 06:26, Andrew Bartlett wrote:
 David Krovich wrote:
  
  Here is the situation.  I have NT 4.0 acting as a PDC on machine A.  On
  machine B, I have Sun PC Netlink running on a solaris machine.  In the
  PDC all home dirs are mapped to \\pcnetlinkserver\username$
  
  I'm trying to replace PC Netlink with Samba on Machine B.  The problem
  is I can't figure out how to make samba do the right thing when
  presented with username$.  Mounting a username without the trailing $
  works, but I would like Samba to share the user's homedir when it
  receives a request for either \\pcnetlinkserver\username or
  \\pcnetlinkserver\username$.
  
  Any help would be appreciated.  I tried searching, but it's tough for
  me to figure out how to correctly phrase my question to a search
  engine.
 
 Not currently supported, but would not be *too* hard to support if you
 really wanted to add it...
 
 Possibly you could use %u macros for it, but that stuff gets werid fast.
 
 Andrew Bartlett
 
 -- 
 Andrew Bartlett [EMAIL PROTECTED]
 Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
 Student Network Administrator, Hawker College   [EMAIL PROTECTED]
 http://samba.org http://build.samba.org http://hawkerc.net


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



[Samba] trailing $

2002-10-14 Thread David Krovich

Here is the situation.  I have NT 4.0 acting as a PDC on machine A.  On
machine B, I have Sun PC Netlink running on a solaris machine.  In the
PDC all home dirs are mapped to \\pcnetlinkserver\username$

I'm trying to replace PC Netlink with Samba on Machine B.  The problem
is I can't figure out how to make samba do the right thing when
presented with username$.  Mounting a username without the trailing $
works, but I would like Samba to share the user's homedir when it
receives a request for either \\pcnetlinkserver\username or
\\pcnetlinkserver\username$.

Any help would be appreciated.  I tried searching, but it's tough for
me to figure out how to correctly phrase my question to a search
engine.  


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