LinuxQuestions.org
Help answer threads with 0 replies.
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 12-13-2001, 06:26 AM   #1
BarrySharpen
LQ Newbie
 
Registered: Jan 2001
Posts: 3

Rep: Reputation: 0
Windows 2000 Samba PDC


I have setup a samba primary damain controller, which works fine with windows 95/98 clients. However Windows 2000 clients can not log into the domain. The following message is displayed when trying to join the domain.

Unknown user name or bad password

The user is setup in smbpasswd ok as the user works fine on a Win95 machine.

I am using a RedHat 7.1 machine running Samba 2.2.2. Below is my smb.conf file :-

# Global parameters
[global]
workgroup = BBC
netbios name = PDC
server string = bbc auth server
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = %u.bat
domain logons = Yes
preferred master = True
domain master = True

[netlogon]
comment = Network Logon Service
path = /etc/samba/netlogon
hide files = /*.*/
browseable = No
root preexec = /etc/samba/netlogon/logon-%g %u '%m' %L
root postexec = rm /etc/samba/netlogon/%u.bat

Can anybody help????

Thankyou
 
Old 09-22-2002, 08:54 PM   #2
kenith
LQ Newbie
 
Registered: Sep 2002
Posts: 5

Rep: Reputation: 0
Hi folks,

I'm a new kid on the block with regard to SMB. The question ask here is exactly my problem. Win2000 trying go to Linux 3.1.1.

There are probably many answers to the question but I am new to the "formum" world and - frankly don't know where to look.

(I'm also old and slow of wit.)

Ken
 
Old 09-22-2002, 08:55 PM   #3
kenith
LQ Newbie
 
Registered: Sep 2002
Posts: 5

Rep: Reputation: 0
Help - win2000 - Linux 3.1.1
 
Old 03-29-2003, 09:18 PM   #4
todd
LQ Newbie
 
Registered: Mar 2003
Distribution: Caldera / Mandrake
Posts: 1

Rep: Reputation: 0
Smile win 2000 and samba

Hi Ken,
I don't have an answer but I am having the same problem myself. If I manage to get it working I'll pass long what I did!
 
Old 03-30-2003, 09:05 AM   #5
kenith
LQ Newbie
 
Registered: Sep 2002
Posts: 5

Rep: Reputation: 0
Thanks Todd.

I seem to have gotten around my problem with the configruation below. I am using Caldera's 3.1.1 Linux. The configuration is the one shipped with the product. I made no changes other than work group, server string, etc and adding my shares. Each time I attempted to deviate from the template I had problems. We are running well and without difficulty at present.

Ken

(Cluless - but content with state of affairs)

# Samba config file created using SWAT
# from localhost (127.0.0.1)

# Global parameters
[global]
workgroup = ALL
server string = Rcl Linux Server
encrypt passwords = Yes
username map = /etc/samba.d/smbusers
password level = 8
username level = 8
log file = /var/log/samba.d/smb.%m
max log size = 200
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon path = \\%L\Profiles\%U
logon home = \\%L\Profiles\%U
dns proxy = No
printing = cups

[homes]
comment = Home Directories
path = %H/Samba
username = %S
valid users = %S
writeable = Yes
create mask = 0750
only user = Yes
browseable = No
 
Old 03-30-2003, 10:32 PM   #6
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
To add a Windows 2000 machine to a Samba domain controller you need to use the root account.

In a Windows domain you would need to authorize the addition to the domain as Administrator. In Linux you need to use the root account.


Add root to the smbpasswd file and try again.


For additional info. please see the following links. There is a section on client configuration.

http://www-1.ibm.com/servers/esdd/tu...mba/index.html


http://networking.earthweb.com/netos...le.php/1144701

http://networking.earthweb.com/netos...le.php/1151091
 
Old 03-31-2003, 08:23 AM   #7
kenith
LQ Newbie
 
Registered: Sep 2002
Posts: 5

Rep: Reputation: 0
Thank you Jamrock! I was so far off base with my attempts to create a domain controller as to have been in a different universe. Having spent, too long, in the IBM mainframe world I am having difficulty adjusting to normal, straight forward approaches.

Ken
 
  


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-3 PDC trusting M$ Windows 2000 & AD climbingmerlin Linux - Networking 1 08-14-2005 07:11 AM
Samba as a Windows PDC msamd Linux - Networking 1 12-01-2003 06:59 AM
Samba and LDAP in Linux to authenticate on Windows 2000 PDC Linh Linux - Networking 2 05-09-2003 07:24 AM
Samba PDC Windows XP kraven Linux - Networking 4 03-25-2003 03:16 PM
Windows 9x and NT/2000 profiles on Samba PDC ppuddick Linux - Networking 0 11-29-2002 05:32 AM

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

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