LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2004, 10:55 AM   #1
lovelysheep
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Samba login problem


Samba login problem

I had been set up a samba server.
I can browse the samba server from MS Windows.
When I double clicks on the server, its pop-up a login box."
How can I connect the samba server from MS Windows without try any password?
Should I must add samba user as same as windows user and password?

My samba script as belowing:

[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
client code page = 950
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
server string = Samba Server
printing = cups
password server = passwordserver
unix password sync = yes
workgroup = mydomain
os level = 20
printcap name = /etc/printcap
security = server
max log size = 0
pam password change = yes

[share]
comment = Share A
path = /home/sharea
writable = yes
create mode = 0664
directory mode = 0775

[shareb]
comment = Share B
path = /home/shareb
writable = yes
create mode = 0664
directory mode = 0775

* Some user can go into "sharea" and "some user can go into "shareb".
 
Old 08-16-2004, 11:28 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what u can do is enter username and password once from windows and ask it to remeber the same for future

as far as i have used samba it always asks for the username and passwd for the 1st time ,for the next logons on it u can use

REMEMBER MY PASSWORD

regards
gaurav
 
Old 08-17-2004, 04:58 AM   #3
johnling
LQ Newbie
 
Registered: Aug 2004
Location: Malaysia
Posts: 1

Rep: Reputation: 0
Samba login problem

I got the same problem for Samba Login.
I can browse the samba server from the MS Windows.
When I double clicks on the server, its pop-up a (Connect to "samba Server" "login box")
I keep trying login as my username and password, But the login screen still remain there.
I had restart the samba services, It's still can't work.

Please advices.
Thanks!
 
Old 08-17-2004, 05:19 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there
in some cases u need to add a samba user at ur side if u specifying in ur smb.conf to map the user to /etc/samba/smbusers

so first try out on the linux machine a user on samba servedr by
#smbclient '//<ip of the linux machine>/homes' -U username

it will ask for the password
and if u r validated here
use the same while from windows to linux

and 'johnling' also pl. specify at first u r able to browse ur samba machine but double clickingg on that does not allows u to login,,,so how u r able to browse ur linux machine

regards
gaurav
 
Old 08-18-2004, 06:33 AM   #5
lovelysheep
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
In case , I want to use share folder from samba server while i use MS Win 2K.
It is possible use NT server a/c without create samba a/c and i can connect share folder without input any password?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.2 PDC login problem (SAMBA) sane Linux - Software 4 06-09-2005 06:31 PM
Samba Login/Authentication Problem kenchix1 Linux - Networking 5 10-22-2004 02:29 AM
Samba - XP domain login problem Sutekh Linux - Networking 5 05-31-2004 11:14 AM
Samba - guest login problem cferthorney Linux - Networking 0 05-09-2004 03:15 PM
w2ksp2 login to SAMBA server problem emilio Linux - Networking 0 09-07-2002 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration