Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Samba authentication?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Networking
Register FAQ Community Calendar

Samba authentication?
Reply
 
Thread Tools
Old 12-07-2007, 08:30   #1
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
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.
dragon is offline   Reply With Quote
Advertisement
Old 12-07-2007, 09:28   #2
Graham M
-
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 38
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
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?
Graham M is offline   Reply With Quote
Old 12-07-2007, 09:47   #3
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: Samba authentication?

Quote:
Originally Posted by Zeph View Post
If you set up a user that is not on your local machine, does it not ask you for a username and password then?

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.

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

dragon is offline   Reply With Quote
Old 12-07-2007, 10:08   #4
Stuart W
Inactive
 
Stuart W's Avatar
 
Join Date: Jun 2003
Location: E14 9SD
Services: BroadBand 4M
Posts: 619
Stuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to all
Send a message via MSN to Stuart W
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.
Stuart W is offline   Reply With Quote
Old 12-07-2007, 10:47   #5
Aragorn
Inactive
 
Aragorn's Avatar
 
Join Date: Apr 2004
Location: Minas Tirith, Gondor
Age: 58
Posts: 3,458
Aragorn has a nice shiny star
Aragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny starAragorn has a nice shiny star
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.
Aragorn is offline   Reply With Quote
Old 12-07-2007, 17:30   #6
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: Samba authentication?

Quote:
Originally Posted by Aragorn View Post
How are you putting in the user/pwd? In the 'different user' box when you map the share?
When i try to connect to the share i get prompted with a username and password box

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
dragon is offline   Reply With Quote
Old 12-07-2007, 20:48   #7
greencreeper
Inactive
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 46
Services: Email me for a current price list
Posts: 8,270
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
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.
greencreeper is offline   Reply With Quote
Old 12-07-2007, 23:33   #8
kr0ne
Inactive
 
Join Date: Jun 2007
Posts: 5
kr0ne is an unknown quantity at this point
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.
kr0ne is offline   Reply With Quote
Old 13-07-2007, 00:03   #9
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: Samba authentication?

Quote:
Originally Posted by kr0ne View Post
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.
Not sure id be able to make the necessarily changes to samba on the NAS since it runs the samba server from firmware not the hard-drive inside it.

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.
dragon is offline   Reply With Quote
Old 13-07-2007, 00:08   #10
ZrByte
Inactive
 
ZrByte's Avatar
 
Join Date: Jun 2003
Location: Wirral / Ex CWC Area
Age: 40
Posts: 3,251
ZrByte has a bronzed appealZrByte has a bronzed appeal
ZrByte has a bronzed appealZrByte has a bronzed appealZrByte has a bronzed appealZrByte has a bronzed appealZrByte has a bronzed appealZrByte has a bronzed appeal
Send a message via MSN to ZrByte
Re: Samba authentication?

Quote:
Originally Posted by dragon View Post
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.
Cant you just map the network shares? Been a while since ive needed this since I have my network setup to use the same username/pass combination on all my machines tho I seem to remember that this was how I used to do it.
ZrByte is offline   Reply With Quote
Old 13-07-2007, 08:19   #11
dragon
Inactive
 
Join Date: Jan 2004
Posts: 3,898
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: Samba authentication?

Quote:
Originally Posted by ZrByte View Post
Cant you just map the network shares? Been a while since ive needed this since I have my network setup to use the same username/pass combination on all my machines tho I seem to remember that this was how I used to do it.
machines i have an account on yes i was just wandering how to do it on machines i don't

I guess i'll have to get the other person to setup an account on the nas drive.
dragon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:59.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.