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


[Samba] Apostrophe's in Windows usernames

2004-06-01 Thread EXT-Auleta, Michael
I saw the posting for the attached issue from Dec 8, 2003 and made the changes to 
smbd/password.c
and include/smb.h but am still having a problem with a user attaching to our Samba 
server with an
apostrophe in his name.  We use a usermap file and it looks like the apostrophe is 
being stripped out
of the map file when the Windows ID is trying to be mapped.  The entry in the user 
name map file is
bvec32 =  o'brienta, but a level 10 log shows:

user_in_list: checking user |bvevc32| against |obrienta|

so the authentication fails.  I'm assuming that a change needs to be made to 
username.c, but I'm not sure what ...

We're running 3.0.2a on Solaris 8.

Any help?

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


[Samba] MS Patch MS04-011 Samba upgrade

2004-05-20 Thread EXT-Auleta, Michael
If I have a Samba server that is part of a Windows 2000 domain and is not a domain 
controller (all of our
authentication goes against a Windows 2000 box), do I need to upgrade to 3.0.4/2.2.9?  
What is the interaction
between a Samba server that is part of a domain and the Windows client if all of the 
authentication is being 
done against a Windows 2000 PDC?

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


[Samba] Upgrade directory permissions

2004-04-20 Thread EXT-Auleta, Michael
I've just upgraded the version of Samba we're running from 2.2.2 to 3.0.2a and am 
seeing an issue with permissions on directories.  Users can still map the shares that 
are set up, but cannot access the directories within those shares.  This is also not 
consistent; it's not happening to all users.  Our environment:

Samba 3.0.2a
Domain Authentication to a Win2K server
No Winbind
Solaris 8 on a Sun E3000 server

I'm inclined to back out the upgrade, but if there's a quick fix I'd prefer to 
implement that.

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] Upgrade directory permissions

2004-04-20 Thread EXT-Auleta, Michael
I don't want to open up the directory  file permissions for security reasons.  We set 
the gid bit on the directories so any new files or directories that get created 
underneath get created with the correct group ownership.  The permissions on the 
directories are 770 and the users are members of the group owner of the directories.

-Original Message-
From: Jose Martinez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 2:03 PM
To: EXT-Auleta, Michael; [EMAIL PROTECTED]
Subject: RE: [Samba] Upgrade  directory permissions


What is the umask setting in the smb.conf file for your shares. I know I had
to play with the umask setting to get it to work on mine. Sometimes, the
umask setting doesn't even make sense, however I just set them to what I
needed the end result to be. Not sure if the /etc/bashrc setting plus this
setting is what is causing my weird umask setting, but its all working like
I like it now.

In addition, we have a different type of setup where the user owns his home
directory, however the admins group is the group owner of the directory, not
the users group. So every 20 minutes I have a quick script that goes out
there and changes the group ownership of any new file created to the admins
group for group for group ownership. We do this so that the admins can
modify any file under the home directories and profiles.

Example of umask setting:

[Profiles]
path = /home/profiles
browseable = no
guest ok = yes
writable = yes
create mask = 707
nt acl support = yes
profile acls = yes

Jose

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
EXT-Auleta, Michael
Sent: Tuesday, April 20, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Upgrade  directory permissions

I've just upgraded the version of Samba we're running from 2.2.2 to 3.0.2a
and am seeing an issue with permissions on directories.  Users can still map
the shares that are set up, but cannot access the directories within those
shares.  This is also not consistent; it's not happening to all users.  Our
environment:

Samba 3.0.2a
Domain Authentication to a Win2K server
No Winbind
Solaris 8 on a Sun E3000 server

I'm inclined to back out the upgrade, but if there's a quick fix I'd prefer
to implement that.

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