|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Adding XP computer to a Linux Domain |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|