LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Windows 2000 Samba PDC (https://www.linuxquestions.org/questions/linux-networking-3/windows-2000-samba-pdc-10021/)

BarrySharpen 12-13-2001 06:26 AM

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

kenith 09-22-2002 08:54 PM

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

kenith 09-22-2002 08:55 PM

Help - win2000 - Linux 3.1.1

todd 03-29-2003 09:18 PM

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!

kenith 03-30-2003 09:05 AM

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

jamrock 03-30-2003 10:32 PM

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

kenith 03-31-2003 08:23 AM

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


All times are GMT -5. The time now is 08:10 PM.