Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 29th, 2003, 01:10 PM
mabucha mabucha is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Phoenix, AZ USA
Posts: 4 mabucha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Adding XP computer to a Linux Domain

Dear members,

I want to add my 3 windows xp computers to the domain abuhome. If fails. This is what I get "your computer could not be joined to the domain becuase the account used is a computer account. Use your global user account to access this server"

Any help will be highly appreciated.

Here is my smb.conf file

[global]
workgroup = abuhome
netbios name = LINUX
server string = Linux PDC
encrypt passwords = Yes
map to guest = Bad Password
passwd program = /usr/bin/passwd
unix password sync = Yes
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = netlogon.bat
domain logons = Yes
guest account = guest
security = user
os level = 64
lm announce = True
preferred master = True
domain master = True
dns proxy = No
printing = lprng

[homes]
comment = Home Directories
path = /home/%u
writeable = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
available = yes

[netlogon]
comment = NetLogon ShARE
path = /home/samba/netlogon
guest account = guest

[samba]
comment = login tracking share
path = /root/
browseable = No

root preexec = /usr/local/bin/netlogon.sh %u
root postexec = /usr/local/bin/netlogoff.sh %u

#You will have to do with it or read the SAMBA documentation if you really #want to control your server and network.
#The netlogon and the tracking shares

#The netlogon share is where the Windows workstations download the logon #script from. We need this share in order to place there a logon script, #which will tell the workstation to mount a share that will be used to track #the users ip addresses.

#As you can see, there must be a line like the following in your smb.conf

logon script = netlogon.bat

#This line will tell your Windows client to download and execute the script #named netlogon.bat. This script must be placed at the netlogon share. So, #we will also need a netlogon.bat script to your Windows workstations. You #can use the following example and place it at the netlogon share, in this #case: /home/samba/netlogon/NETLOGON.BAT.

#REM NETLOGON.BAT
#net use z: \\linux\samba /yes

#This script will tell the Windows workstation to mount the specified share, #and so we will be able to keep track of the user and workstation through #the output of the smbstatus program.

#Quite simple! But not enough...

#As you could see, we will need also a tracking share which, in this #example, I named samba. You can see the tracking share configuration in smb.#conf:

[samba]

[root]
comment = Sudan
path = /root
writeable = yes

Thanks

Reply With Quote
  #2  
Old June 18th, 2003, 04:31 PM
Fekkesh Fekkesh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Sweden
Posts: 16 Fekkesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi!
Maybe the username you are using was created with the -m switch. Delete the user from smbpasswd and recreate it.

smbpasswd -a your_username

Make sure that the user id number in smbpasswd is the same as in passwd for the user.

Did you make the changes in your Windows XP registry needed to join a Samba domain?

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
"signsecurechannel"=dword:00000000

/JL

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Adding XP computer to a Linux Domain


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway