LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-10-2009, 08:04 AM   #1
locithcm
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Problem when join linux to Win 2k3 PDC !


Hi everyone ,
My computer use Linux (Centos) ,Now I want to join it to my network
company based on Window server 2003 as Primary Domain Controller(PDC),
I did already sucessfully join it to my server 2k3. However,the main trouble in here,I type command wbinfo -u,wbinfo -g ,it return all members,group in my Active Directory. After that, I created a user named Loclx(PDC),then I log off user root on my Linux computer and log on it by using loclx,but it's impossible ! I wonder what is really causing this problem !
Though visiting many forum as well as getting some ideas,I still
not get the best solution so I'm still in the dark !
Here is my /etc/samba/smb.conf :
# Global parameters
[global]
realm = LOC.COM
workgroup = LOC
server string = DATASHARE
wins support = yes
wins server = 10.100.10.143
bind interfaces only = Yes
pam password change = Yes
passwd chat = *New*Password* %n\n *Re-enter*new*password* %n\n *Password*changed*
password server = LOC.COM
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
time server = Yes
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind cache time =15
client schannel = no
domain logons = yes
domain master = Yes
logon script = %U.bat
logon path= \\%L\Profiles\%U
wins support = Yes

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
logon script = scripts\%U.bat
logon home = \\%L\homes\%U
os level = 33
preferred master = No
domain master = No
security = ads
# security= ADS

#domain logons =yes
utmp = Yes
veto oplock files = /*.doc/*.xls/*.mdb/
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
[homes]
comment = Home Directories
path= /home
valid users =%D+%S
read only = No
create mask = 0664
only user = Yes
browseable = Yes
writeable = yes
valid user= %D+%S

[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
default devmode = Yes
browseable =Yes

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No
browseable = Yes


[public]
comment = Default share for group public
path = /public
writeable = yes
read only = No
browseable = Yes


[ITDepartment]
comment = Using for IT Department
path = /itdept
writeable = yes
read only = No
valid user =@LOC.COM +itdept
browseable = Yes

[Profiles]
comment= Here saved profiles
path = /home/profiles
browseable = yes
guest ok = Yes
force user = %U
valid user = %U "Domain Admins"
read only = no
profile acls = Yes
writeable = yes

I also check by typing wbinfo -a Administrator%123456 , the return is:

plaintext password authentication succeeded
challenge/response password authentication succeeded
It seems Ok !
Really,It make me very confused after spending many days for hard working !
Can anyone help me ?
Any help offered will be appreciated. Thanks.

Last edited by locithcm; 06-10-2009 at 08:13 AM.
 
Old 06-11-2009, 11:04 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
You could use a tool like Likewise to help simplify, joining the domain and logging in..

http://www.likewise.com/
 
  


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
Join XP to PDC running on Linux saudoi Linux - Networking 6 10-25-2006 05:17 AM
How to join a Linux client to a Samba PDC Niceman2005 Linux - Networking 4 11-29-2004 09:23 PM
FEDORA CORE3 AND WIN 2K3 SERVER BOOTing Problem deeee Fedora 3 11-26-2004 06:58 AM
Authenticate to 2k3 PDC with winbind VertigoRay Linux - Networking 12 04-28-2004 10:00 AM
Authenticate to 2k3 PDC with winbind VertigoRay Linux - Software 0 09-27-2003 12:23 PM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration