LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2003, 05:32 PM   #1
Madrinator
Member
 
Registered: May 2003
Location: Guadalajara, Mexico
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
Unhappy Can't login to Samba from my clients


Hola Seņores

I'm new with samba and recently I set up a home file server with Samba 2.2.3a running on Mandrake 8.1 and my clients run windows 2000.
I can browse the Samba's shares from any of my clients typing the username and the password but when I try to join the clients to the domain I get the message: your username or password is invalid. I saw the samba logs and found that samba can't open the password database passdb.

How can I solve this problem?
I thought it was a permissions problem but I don't think so now since I can browse the server from the network neighborhood.
My samba server is the PDC and I created the trust accounts for each client.

Due to I'm a Linux newbie I don't have any idea on what could be wrong, please help me.



Saludos!
 
Old 05-17-2003, 06:46 PM   #2
e-ahmed
LQ Newbie
 
Registered: May 2003
Posts: 5

Rep: Reputation: 0
BACKUP YOUR ORIGINAL CONFIGURATION BEFORE DOING THIS
first we make a directory for the shared data.
"mkdir -p /home/shared"
then we set it to world readable so the samba server does not have any
problems
"chmod 775 -R /home/shared"
now place the configuration file in
"/etc/samba/smb.conf"
test if the samba server picks it up
"testparm"
then restart the samaba server
"/etc/rc.d/init.d/smb restart"
now youre all set to go, the share does not provide security and can be
mounted from any machine so dont go to the internet if the samba share
is enabled on the machine.

now this samba server is ready to go.
goto a client computer and issue this command
"smbclient -L //IP-OF-SAMBA-SERVER"

it would display a list of shares on the server.
dont be confused by all the shares, just look for a share named
"shared"
of type "DISK", if you can see that then the configuration is all set
to
be used.

now we create an empty directory on the client machine
"mkdir -p /mnt/shared"
and now we can mount the share
"mount -t smbfs //IP-OF-SAMBA-SERVER/shared /mnt/shared"

now you can browse the contents of the directory.

you can also configure samba through a GUI, like "GnoSamba" or "SWAT"
and you can use a program like "LinNeighborhood" to browse the shares.
just search for the above programs on "freshmeat.net"

do changes in /etc/samba/smb.conf file
simple configuration file
[global]
security=share
encrypt passwords = yes

[shared]
path=/home/shared
writeable = yes
guest ok = yes

Apply these things i hope it will work

Last edited by e-ahmed; 05-17-2003 at 06:55 PM.
 
Old 05-19-2003, 06:10 PM   #3
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Rep: Reputation: 15
hopefully this samba server is not directly connected to the internet if you use that configuration.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba clients ziox Linux - Networking 0 10-13-2005 03:25 PM
Configuring clients to logon remote X login manager. darkfame Linux - Networking 1 01-15-2004 03:57 AM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
Samba: W2k clients cannot login after joining domain Ajentsmith Linux - Networking 2 09-04-2002 12:29 PM
XP Pro clients and Samba freddieB Linux - Networking 2 06-16-2002 01:00 PM

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

All times are GMT -5. The time now is 12:04 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