![]() |
Samba authentication?
Is it possible to setup A samba share where a windows client can login with a user and password that doesn't exist on the local machine.
I have a NAS drive but rather annoyingly the only way I can seem to set access permissions is by setting the user name/password to be the same as the windows user/pass which is fine for my account but its would be a pain in the backside to get everyone else to setup their user/pass on the NAS. If the windows user/pass doesn't exist on the NAS I get a login prompt from windows xp/vista asking for a user/pass Problem is I cannot seem to get it to take anything unless that user/pass combination actually is for a user on the local computer. I've tried prefixing the user name with the server name but it wont take it either. Where am I going wrong? Network is a Mix of Vista, XP and Macs The share is on a "Dual HDD NAS" which as far as I can tell runs a embedded linux and is based on the Storlink centrinas platform (its an MRT communications Dual HDD NAS bought it off svp) Users are created on the NAS via web interface. |
Re: Samba authentication?
If you set up a user that is not on your local machine, does it not ask you for a username and password then?
|
Re: Samba authentication?
:confused:
Quote:
Yes it does, however it does not want to accept the user/pass I put in. I've tried username pasword nas/username password username@nas password where am i going wrong? I know the username and password are correct for a valid account on the nas that has access to that perticular Share but windows is point blank refushing to login to the share using them. :confused: Happens on XP and Vista Yet if its an account that exists both on the local machine and the NAS its quite happy to take it as username password :confused: |
Re: Samba authentication?
Do you have any other shares on the network like printers?
Also, do you run a domain? If you run a domain, just create a user on the NAS and create the same user on the Primary Domain Controller. If you have printers on your network, make sure you do not connect to them or XP will just want to use whichever connection details were given to the printer for all network authentication. |
Re: Samba authentication?
How are you putting in the user/pwd? In the 'different user' box when you map the share?
Does the NAS allow guest access? Is the NAS in the same workgroup as the PC's? Have you tried connecting from the command prompt - net use x: \\nas\photos /user:dragon /persistent:yes If the above doesn't work, what error does it return. |
Re: Samba authentication?
Quote:
I put in the user/password hit ok and then the box just comes up again and i can keep trying till it gives up and deny access i'll try the cmd line method. Why cant windows login to different shares with different names, Strange thign is one of the shares is public (open to anyone) my mates machine (running xp) logged into it Fine a couple days ago but then point blank refused yesterday :confused: |
Re: Samba authentication?
It won't work. It's Windows authentication for you. Have to have the matching credentials. Doesn't matter how you specify the username. Unless the client PC is a member of domain, in which case you should be able to store credentials for the server - in User Accounts in Control Panel.
|
Re: Samba authentication?
If you're really feeling daring you could set up samba to function as a domain controller and authenticate all of your Windows machines against it.
That way you wouldn't have to provide credentials when accessing individual shares on the NAS (as long as you have permissions to access them) as you'd already be authenticated on the domain. You won't be able to authenticate the Macs against the domain (without some jiggery pokery) but if memory serves when you connect a network share from a Mac it lets you provide a username and password to send... think it might even have a 'remember me' tick box in there somewhere. |
Re: Samba authentication?
Quote:
As much as I'd love someone to make a custom firmware like you can get for the linksys nslu2 (theres firmware for that which starts the boot sequence from its flash till it mounts the drive then it boots off that) i doubt its going to happen unless some clever bod just happens to buy one of these nas devices and then decides to make custom firmware. I wouldn't know where to even begin with doing that. |
Re: Samba authentication?
Quote:
|
Re: Samba authentication?
Quote:
I guess i'll have to get the other person to setup an account on the nas drive. ;) |
All times are GMT +1. The time now is 22:06. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum