RE: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-08 Thread EXT-Auleta, Michael
We tried that also.  It didn't work either.  But since I was pointed to bug
1221, I removed the matching of an apostrophe in util_str.c (fell back to
2.2 behaviour) and that looks like it works.  My user is able to map his
shares again.

Thanks for all who helped.

Mike

-Original Message-
From: David Brodbeck [mailto:[EMAIL PROTECTED]
Sent: Monday, June 07, 2004 4:23 PM
To: EXT-Auleta, Michael; [EMAIL PROTECTED]
Subject: RE: [Samba] Re: Apostrophes in Windows usernames (again)


 -Original Message-
 From: EXT-Auleta, Michael [mailto:[EMAIL PROTECTED]

 I think I've narrowed down my problem, but I still don't know 
 where to fix it.  It appears that scanning the
 users.map file strips out the apostrophes and the Windows ID 
 never matches:

 The entry in the users.map file is:
 
 unixid = o'brienta
 
 so it should map.  I've tried enclosing the Windows name in 
 double quotes, but that didn't help.

What happens if you escape the apostrophe with a backslash, like this:

unixid = o\'brienta
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-08 Thread Jeremy Allison
On Tue, Jun 08, 2004 at 08:32:10AM -0400, EXT-Auleta, Michael wrote:
 We tried that also.  It didn't work either.  But since I was pointed to bug
 1221, I removed the matching of an apostrophe in util_str.c (fell back to
 2.2 behaviour) and that looks like it works.  My user is able to map his
 shares again.

Thanks for pointing that one out, I'm going to merge that for 3.0.5.

Cheers,

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


Re: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeremy Allison wrote:
|
| We tried that also.  It didn't work either.  But since
| I was pointed to bug1221, I removed the matching of an
| apostrophe in util_str.c (fell back to2.2 behaviour) and that
| looks like it works.  My user is able to map his
| shares again.
|
|
| Thanks for pointing that one out, I'm going to
| merge that for 3.0.5.
please don't.  The change was done to fix SWAT and I
haven't figured out how to fix one without breaking the
other.  I just need some time to think and code up a workable
solution.

cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxfKtIR7qMdg1EfYRAt+DAKDBboEEOgpsGrn9bOkvmnYgf4hxdQCffpnL
RA44/BxyimK0QIcKpz5eWO8=
=WsjG
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-07 Thread David Brodbeck
 -Original Message-
 From: EXT-Auleta, Michael [mailto:[EMAIL PROTECTED]

 I think I've narrowed down my problem, but I still don't know 
 where to fix it.  It appears that scanning the
 users.map file strips out the apostrophes and the Windows ID 
 never matches:

 The entry in the users.map file is:
 
 unixid = o'brienta
 
 so it should map.  I've tried enclosing the Windows name in 
 double quotes, but that didn't help.

What happens if you escape the apostrophe with a backslash, like this:

unixid = o\'brienta
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-04 Thread EXT-Auleta, Michael
It's very possible.  I've put the suggested changes in place and recompiled on a test 
box, but my user is out of the office today and can't test it so I'll have to wait for 
hte weekend to pass.  Thenks for the info.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 5:10 PM
To: EXT-Auleta, Michael
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Re: Apostrophes in Windows usernames (again)


Could this also be a result of bug 1221?

Mark



 I think I've narrowed down my problem, but I still don't know where to fix
 it.  It appears that scanning the
 users.map file strips out the apostrophes and the Windows ID never
 matches:

 [2004/06/01 16:23:51, 10] lib/username.c:user_in_list(521)
   user_in_list: checking user o'brienta in list
 [2004/06/01 16:23:51, 10] lib/username.c:user_in_list(525)
   user_in_list: checking user |o'brienta| against |obrienta|
 [2004/06/01 16:23:51, 5] auth/auth_util.c:make_user_info_map(216)
   make_user_info_map: Mapping user [XX]\[o'brienta] from workstation
 [workstation]

 The entry in the users.map file is:

 unixid = o'brienta

 so it should map.  I've tried enclosing the Windows name in double quotes,
 but that didn't help.

 This worked in 2.2.2 on Solaris 8, but we're now running 3.0.2a on Solaris
 8 doing domain authentication.
 There are no local Samba accounts.

 I've applied the changes that were suggested on Mon Dec 8 21:39:52 GMT
 2003 to add the apostrophe
 to the list of SAFE_NETBIOS_CHARACTERS and to smbd/password.c.

 Any ideas?

 Mike

 Mike Auleta
 Boeing IDS, Philadelphia
 610-591-3916

 Who's the more foolish, the fool or the fool who's following him?

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


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


[Samba] Re: Apostrophes in Windows usernames (again)

2004-06-03 Thread EXT-Auleta, Michael
I think I've narrowed down my problem, but I still don't know where to fix it.  It 
appears that scanning the
users.map file strips out the apostrophes and the Windows ID never matches:

[2004/06/01 16:23:51, 10] lib/username.c:user_in_list(521)
  user_in_list: checking user o'brienta in list
[2004/06/01 16:23:51, 10] lib/username.c:user_in_list(525)
  user_in_list: checking user |o'brienta| against |obrienta|
[2004/06/01 16:23:51, 5] auth/auth_util.c:make_user_info_map(216)
  make_user_info_map: Mapping user [XX]\[o'brienta] from workstation [workstation]

The entry in the users.map file is:

unixid = o'brienta

so it should map.  I've tried enclosing the Windows name in double quotes, but that 
didn't help.

This worked in 2.2.2 on Solaris 8, but we're now running 3.0.2a on Solaris 8 doing 
domain authentication.
There are no local Samba accounts.

I've applied the changes that were suggested on Mon Dec 8 21:39:52 GMT 2003 to add the 
apostrophe
to the list of SAFE_NETBIOS_CHARACTERS and to smbd/password.c.

Any ideas?

Mike

Mike Auleta
Boeing IDS, Philadelphia
610-591-3916

Who's the more foolish, the fool or the fool who's following him?

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


Re: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-03 Thread mrojava4
Could this also be a result of bug 1221?

Mark



 I think I've narrowed down my problem, but I still don't know where to fix
 it.  It appears that scanning the
 users.map file strips out the apostrophes and the Windows ID never
 matches:

 [2004/06/01 16:23:51, 10] lib/username.c:user_in_list(521)
   user_in_list: checking user o'brienta in list
 [2004/06/01 16:23:51, 10] lib/username.c:user_in_list(525)
   user_in_list: checking user |o'brienta| against |obrienta|
 [2004/06/01 16:23:51, 5] auth/auth_util.c:make_user_info_map(216)
   make_user_info_map: Mapping user [XX]\[o'brienta] from workstation
 [workstation]

 The entry in the users.map file is:

 unixid = o'brienta

 so it should map.  I've tried enclosing the Windows name in double quotes,
 but that didn't help.

 This worked in 2.2.2 on Solaris 8, but we're now running 3.0.2a on Solaris
 8 doing domain authentication.
 There are no local Samba accounts.

 I've applied the changes that were suggested on Mon Dec 8 21:39:52 GMT
 2003 to add the apostrophe
 to the list of SAFE_NETBIOS_CHARACTERS and to smbd/password.c.

 Any ideas?

 Mike

 Mike Auleta
 Boeing IDS, Philadelphia
 610-591-3916

 Who's the more foolish, the fool or the fool who's following him?

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


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