LinuxQuestions.org
Review your favorite Linux distribution.
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 03-23-2004, 01:21 PM   #1
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Rep: Reputation: 15
Authenticating Win2K on Samba 3.0.2a


Hi all,

I'm battling to get my Windows 2000 client's to authenticate on my Suse 9 server running samba 3.0.2a. I have gone through the documentation asked other user groups aswell as the samba mailing list. But i havn't had a response.

I have created an smbuser and changed the smbpasswd. But i keep getting the same error message that my password is incorrect. I have renamed my workgroup to something other than my domain as they were the same. I have also resarted my smb services.

Herewith my smb.conf file :

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-09-23
[global]
workgroup = omega
os level = 65
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
security = user
server string = Samba Server
add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %$
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
;; ldap server = 127.0.0.1
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
create mask = 0640
directory mask = 0750
guest ok = no
printable = no
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no

; necessary share for domain controller
[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin

Please help if possible.

Thanks !!
 
Old 03-23-2004, 01:39 PM   #2
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
Can you post the exact smbpasswd error msg?

Thanks.


J
 
Old 03-23-2004, 02:02 PM   #3
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Hi,

When I enter the username and password to authenticate my win pc to the domain i recieve the following message - The following error occured attempting to join the domain "Omega" Logon failure. Unknown user name or bad password. -

My log file under /var/log/ displayes no error message. The DNS is setup correctly and the win pc is recieving the correct DHCP address.
 
Old 03-23-2004, 02:05 PM   #4
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
jacquedp --

I meant the msg when you ran smbpasswd to add the specific user to the smb service. you have done that, right (as in CLI : smbpasswd -a [userID] )?



J
 
Old 03-23-2004, 02:23 PM   #5
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Yes I did,

My machine name is nic and i added the smb user as nic$ and created the password for it.

I just did it again and it only askes me to type the new password and then to confirm it. After this it just states that the password has been changed.
 
Old 03-23-2004, 02:27 PM   #6
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
wait... you are using your machine name to login? why don't you try the easy method of using an actual login UID / password first?

Don't forget to check your smbusers, lmhosts, smbpasswd.

You can always create a UID without a PWD to log in to your smb shares from Winbox if security is not an issue. You can do that by using the passwd -d option for the UID.


J
 
Old 03-23-2004, 02:42 PM   #7
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
I am only using the machine name in order to get the pc authenticated to the domain. I have created a actual userid and password but this also doesn't work.

Security is one of my highest concerns unfortunately.
 
Old 03-23-2004, 02:46 PM   #8
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
do not login using machine name. login using your user ID and password. Make sure you edit your smb.conf to have this line under your share:

valid users = [yourUID]


and once again, check those three files I mentioned above -- in /etc/samba dir.


J
 
  


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
Samba not authenticating users properly linux-rulz Linux - Networking 5 07-31-2005 10:42 PM
Authenticating on a win2k PDC with Active Directory and disk quotas morfeo Linux - Networking 1 10-07-2004 12:32 PM
Authenticating a suse 9.0 workstation to a Samba 9.1 server havefun65 Linux - Networking 0 08-24-2004 03:59 PM
authenticating nt users in Samba? GuN_HaPpY Linux - Software 0 08-10-2003 11:58 AM
RH9 authenticating to Win2K domain BruceC Linux - Networking 0 08-05-2003 08:53 AM

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

All times are GMT -5. The time now is 04:20 AM.

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