samba shares need password to access server

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

samba shares need password to access server

Postby gjc1000 » Sat Mar 07, 2009 10:49 am

One of the functions of my HDA is to allow the MS Windows boxes access to the media files for viewing on there own computer. Samba works fine, but it asks for user name and password first. Is there a way that I can disable that or have the user name and password automatically given when a windows computer wants access?
gjc1000
Chi pecora si fa, il lupo se la mangia.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: samba shares need password to access server

Postby cpg » Sat Mar 07, 2009 1:42 pm

ahh,

i bet it's XP home.

XP pro has an option to "Remember this password"

if the share is allowed to everyone but *not* writeable it should not need to ask a password (please file a bug if it does!).

now, in XP home you can "Map a network drive" from \\hda\movies into, say, drive z:\

there is an option to reconnect at logon which will take care of mapping the drive forever after that.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

Re: samba shares need password to access server

Postby gjc1000 » Sat Mar 07, 2009 2:47 pm

yep, your right. The Vista and XP Pro machine do fine, but the XP Home does not. I had already mapped the drive but it still asks for a user/password. This machine also use the printer hooked up to the HDA and it has to be logged in also. What we do now to print is, connect to a share on the HDA, enter user/password, then we can print. Any work around for that?
gjc1000
Chi pecora si fa, il lupo se la mangia.

nemolomen
Posts: 36
Joined: Sat Dec 13, 2008 5:46 pm
Location: Vermont

Re: samba shares need password to access server

Postby nemolomen » Sat Mar 07, 2009 3:01 pm

Hi gjc1000,

Are you logging into the XP home machine as a user that exists on the HDA? With the same password?

Also, which service pack level do you have on the XP Home machine (SP1, SP2, SP3)?

nemolomen
nemolomen

My HDA (3rd): ECS A770M-A, Phenom X3 2.4 GHz, 2 GB DDR2 800MHz, / 40 GB, /home 80 GB, data 1TB, 500GB, 320GB

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

Re: samba shares need password to access server

Postby gjc1000 » Sat Mar 07, 2009 3:05 pm

ah, no she is not, I will match up the log in and give it a whirl. Using XP SP2
gjc1000
Chi pecora si fa, il lupo se la mangia.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: samba shares need password to access server

Postby cpg » Sat Mar 07, 2009 3:35 pm

there is a little link saying "use a different user" in the map network drive.

it lets you specify the user.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: samba shares need password to access server

Postby cpg » Sat Mar 07, 2009 3:45 pm

we did file bug#20 to track the printing issue.

http://bugs.amahi.org/issues/show/20

there was a proposed solution that it was simple and we're trying to test. perhaps you can help when we have the proposed fix.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

Re: samba shares need password to access server

Postby gjc1000 » Sat Mar 07, 2009 4:30 pm

love to
gjc1000
Chi pecora si fa, il lupo se la mangia.

Lincee
Posts: 73
Joined: Sat Jul 04, 2009 3:34 pm
Location: Arnhem, NL
Contact:

Re: samba shares need password to access server

Postby Lincee » Mon Jul 06, 2009 5:27 am

One of the functions of my HDA is to allow the MS Windows boxes access to the media files for viewing on there own computer. Samba works fine, but it asks for user name and password first. Is there a way that I can disable that or have the user name and password automatically given when a windows computer wants access?
ATM i cant reproduce the error.
have you setup printer sharing correctly?
also, switching to SP3 is a rather good idea as it adresses some networking issues as well as all the latest security patches.
what i always do:

create a batch file, c:\networksetup.cmd

then add the following line:
NET USE J: \\HDA\%USERNAME% /USER:%USERNAME% password

make a shortcut in your startup folder.

this adds a share whenever you login, that way you dont manually have to connect to a share everytime you want to print.

replace password with the password you set on the HDA for that user.
alsmo, make sure then username/password are both EXACTLY! the same on the xp client, AND the HDA
windows by default tries to login to other servers with its currently used username/password.

its a quick fix, but it works :)

============================== edit =========================
the above was adressed to the printing issue,
the networksetup.cmd can be suited for other shares as well :)
LANTEA: Amahi 7 (vm), HP Proliant Microserver, 8GB RAM, 2x 1TB HDD, 1GB eth

Who is online

Users browsing this forum: No registered users and 9 guests