I have a linux box (FC5) with samba 3.0.23c and most things are running fine. Today I'm setting up cygwin on a windows box so a user can ssh into the box. I figure out how to have cygwin authenticate using the samba PDC. The user gets the linux home directory that has been exported to windows H:\ across samba. Now the user is trying to ssh back to a different unix box and ssh is complaining about file permissions. I track this back to samba in that the permissions seem odd. On linux I 'touch howard' and the file has permissions 0644, fine. On cygin and windows this file also has 0644, fine. On cygwin/windows Ichmod 0600 $file' and 'ls -l $file' and the file still shows 0644 and no errors. On linux if I 'chmod 0600 $file' and then 'ls -l $file' on windows the file permissions still show 0644. No change, like the file permissions ar cached somewhere. Thoughts? Mike
On Thu, 08 Feb 2007, mikee might have said:> I have a linux box (FC5) with samba 3.0.23c and most things are running fine. > Today I'm setting up cygwin on a windows box so a user can ssh into the > box. I figure out how to have cygwin authenticate using the samba PDC. The > user gets the linux home directory that has been exported to windows H:\ > across samba. Now the user is trying to ssh back to a different unix box and > ssh is complaining about file permissions. I track this back to samba in > that the permissions seem odd. > > On linux I 'touch howard' and the file has permissions 0644, fine. On > cygin and windows this file also has 0644, fine. On cygwin/windows Ichmod > 0600 $file' and 'ls -l $file' and the file still shows 0644 and no errors. > > On linux if I 'chmod 0600 $file' and then 'ls -l $file' on windows the > file permissions still show 0644. No change, like the file permissions ar > cached somewhere. > > Thoughts? > > MikeMaybe this is not a cygwin issue and I'm just noticing it through cygwin. I have a file ~/.ssh/id_rsa that on unix is set to 600. I want through cygwin and 'ls -l ~/.ssh/id_rsa' for the reported permissions to be 600 (-rw-------), however the reported permissions are 644 (-rw-r--r--). What setting in smb.conf will force the proper reporting of 600? Mike
Gary Dale
2007-Feb-09 18:10 UTC
[Samba] Samba with XP Client: The user name could not be found
Monte L. Early wrote:> I am trying to connect an XP Pro workstation to a Samba server > configured as PDC. I can access shares from the XP client by simply > mapping the resource and entering login/pass. However, whenever I > attempt to connect to the domain, it gives me the error: > > "The user name could not be found." > > I am using the same user name in Samba, Linux and XP. > > Any suggestions?Have you tried "profile acls = yes" in smb.conf?
Gary Dale
2007-Feb-09 23:26 UTC
[Samba] Samba with XP Client: The user name could not be found
Ah, if you are attempting to join the domain, then it could be that the user name has not been set up properly. Samba can map Windows users if the names are different or use the Windows name if it is the same as a Unix name (handy in XP Home workstations which don't have domain logins). Have you joined the computer to the domain? Have you set up the Windows user account on the Samba server? Have you enabled the Windows user account on the Samba server? Monte L. Early wrote:> I just tried that and it and I am getting the same error when I > attempt to join the domain. > > ----- Original Message ----- > From: "Gary Dale" <garydale@torfree.net> > Cc: <samba@samba.org> > Sent: Friday, February 09, 2007 1:03 PM > Subject: Re: [Samba] Samba with XP Client: The user name could not be > found > >> Monte L. Early wrote: >>> I am trying to connect an XP Pro workstation to a Samba server >>> configured as PDC. I can access shares from the XP client by simply >>> mapping the resource and entering login/pass. However, whenever I >>> attempt to connect to the domain, it gives me the error: >>> >>> "The user name could not be found." >>> >>> I am using the same user name in Samba, Linux and XP. >>> >>> Any suggestions? >> Have you tried "profile acls = yes" in smb.conf? >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/listinfo/samba >