gerdgruhn

Q: Windows computers can not access smb-shares in Lion

I have updated von SL to Lion Server. Now, I don't gave Access to my Windows shares from any Windows Computers. If I connect a Windows share u.e. froom Windows 7 Workstation I will see a window with username and password for the share. But the username und password from lion for this share will not work. It was no problem in SL. Any idea?

Mac OS X (10.7)

Posted on Jul 24, 2011 8:54 AM

Close

Q: Windows computers can not access smb-shares in Lion

  • All replies
  • Helpful answers

Page 1 of 10 last Next
  • by greenvespa,

    greenvespa greenvespa Jul 24, 2011 12:29 PM in response to gerdgruhn
    Level 1 (5 points)
    Jul 24, 2011 12:29 PM in response to gerdgruhn

    same problem here... did someone have access from Windows PC to Lion Server shares (smb)?

  • by MaartenP,

    MaartenP MaartenP Jul 25, 2011 2:00 AM in response to gerdgruhn
    Level 1 (0 points)
    Jul 25, 2011 2:00 AM in response to gerdgruhn

    I have the same behaviour on a server that has been upgraded from SL.

    No connection from a Windows 7 client to Lion Server.

  • by gerdgruhn,

    gerdgruhn gerdgruhn Jul 25, 2011 2:20 AM in response to MaartenP
    Level 1 (0 points)
    Jul 25, 2011 2:20 AM in response to MaartenP

    I updatet from SL Server without problems. Apple will update from a Lion client. It's possible, thats the problem? Some missing SMB/CIFS-configurations, dependent on new SMB/CIFS-Stack without Lion client installation before?

    If I share a folder on Lion client, I can access the share from a Windows 7 computer without problems. But not on the Lion server.

  • by pkaplan2524,Solvedanswer

    pkaplan2524 pkaplan2524 Jul 25, 2011 4:59 AM in response to gerdgruhn
    Level 1 (15 points)
    Jul 25, 2011 4:59 AM in response to gerdgruhn

    I think I have found the issue. Kerberos wants the domain and the PCs are logging in as LOCALMACHINENAME\Username. What I did was logged in as SERVERNAME\Username and it worked.

     

    Look in the file /private/var/log/krb5kdc/kdc.log to get some clues as to what name it might be looking for in your particular environment.

  • by birkhead,

    birkhead birkhead Jul 25, 2011 11:42 AM in response to pkaplan2524
    Level 1 (0 points)
    Jul 25, 2011 11:42 AM in response to pkaplan2524

    I can't get this to work even changing the domain.

  • by greenvespa,

    greenvespa greenvespa Jul 25, 2011 12:33 PM in response to birkhead
    Level 1 (5 points)
    Jul 25, 2011 12:33 PM in response to birkhead

    mee too. Seems to be impossible to connect to Lion Server shares (SMB) from any Windows clients (XP, Vista, 7). Is there anybody who did it? (my configuration is a clean Lion Server installation with Open Directory as master)

    Any help will be appreciated. Thanks

  • by gerdgruhn,

    gerdgruhn gerdgruhn Jul 25, 2011 1:00 PM in response to pkaplan2524
    Level 1 (0 points)
    Jul 25, 2011 1:00 PM in response to pkaplan2524

    Thanks a lot! It works. But it works different from Windows or SL in a workgroup. This works like a Domain authentification. But it is'nt a Windows Domain. It's a workgroup.

  • by greenvespa,

    greenvespa greenvespa Jul 25, 2011 1:06 PM in response to gerdgruhn
    Level 1 (5 points)
    Jul 25, 2011 1:06 PM in response to gerdgruhn

    Hi gerdgruhn, could you please explain better what you did to make it work?

    Thanks!

  • by gerdgruhn,

    gerdgruhn gerdgruhn Jul 25, 2011 1:11 PM in response to greenvespa
    Level 1 (0 points)
    Jul 25, 2011 1:11 PM in response to greenvespa

    The answer from pkaplan2524 works. See above.

  • by greenvespa,

    greenvespa greenvespa Jul 26, 2011 12:36 AM in response to gerdgruhn
    Level 1 (5 points)
    Jul 26, 2011 12:36 AM in response to gerdgruhn

    Yes, i can confirm that this solution is working with Windows Vista and 7, but not with XP. Any ideas?

    Thanks.

  • by arikk,

    arikk arikk Jul 26, 2011 9:28 AM in response to gerdgruhn
    Level 1 (0 points)
    Jul 26, 2011 9:28 AM in response to gerdgruhn

    It works guys, I just unchecked and checked "Share files and folders using SMB", then I restarted my PC, and accessed Lion from Windows 7, without username and password.

  • by jeremy200,

    jeremy200 jeremy200 Jul 26, 2011 10:52 AM in response to arikk
    Level 1 (0 points)
    Jul 26, 2011 10:52 AM in response to arikk

    I could access smb shares from windows 7 from my account but not others. Server App showed the other users as having an error it couldn't access some services. After fixing the error, I had to enter the users password to fix it, I was able to access smb shares from this user as well.

  • by seblbuk,

    seblbuk seblbuk Jul 29, 2011 9:12 AM in response to gerdgruhn
    Level 1 (0 points)
    Jul 29, 2011 9:12 AM in response to gerdgruhn

    To get this to work on windows 7 I...:

     

    1. Start > Computer
    2. Disconnected my mapped netowrk drive that would not connect
    3. Selected the Map network drive button in the toolbar at the top
    4. Typed in the folder location manually (if you try the browse it will fail)
    5. Selected Connect using different credentials
    6. Selected Finish
    7. On the credentials screen that pops up:
      1. User name: <SERVER\username>
        1. I found that my server name had to be in capitals (/private/var/log/krb5kdc/kdc.log helps you know exactly what it is)
      2. Password: <your password>
    8. Select Remember my credentials
    9. Select OK

     

     

    After this i found no issues access any of the shares on the server and everything came back to life

  • by Mista2,

    Mista2 Mista2 Jul 29, 2011 8:09 PM in response to seblbuk
    Level 1 (16 points)
    Jul 29, 2011 8:09 PM in response to seblbuk

    Something is still broken with SMB on lion, I cannot access SMB shares from lion on any other computer, running Windows, XBMC, or linux.

    I have tried turning off AFP shares.

    I removed all shares and stopped SMB sharing, then just enabled one SMB share.

    Still no luck authenticating to the share off my external drive. I did get on to a share on the OS volume from Linux, but unable to access data - Error indicates unsupported feature.

     

    This is a major bug in Lion, and I cant believe I havn't seen anything like a samba-gate scandal in the IT press yet!

Page 1 of 10 last Next