LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2005, 04:51 AM   #1
Tanc
Member
 
Registered: Sep 2003
Location: France
Distribution: Debian etch
Posts: 99

Rep: Reputation: 15
Question About a XP pc and Samba domain ...


i LQ,

Need your help on this case.
I've just installed Samba on my Ubuntu Server configured as PDC. ( smb.conf follows )
Server name is 'serveur', domain name is 'DOMICILE' and i want to use roaming profiles.
PC used on the domain are XP Sp2 ( Administrator account is named Administrateur ).

i've done the following action to complete the process

1. smbpasswd -a root
2. mkdir /usr/local/samba/lib/netlogon ( with chmod 775 )
3. mkdir /home/samba-ntprof ( with chmod 777 )
4. samba has been restarted.
5. root=Administrateur added to user.map file in order to link both accounts.

----------------------------------------
Problem : On my xp pc, when i try to join the domain it ask me to enter the login account who has the authority to do this.
using /DOMICILE/root or root does not work ( refused ).

Question : Can somebody verify my smb.conf and explain me what i've done wrong ?

Thanks in advance.

Regards,

Pierre

---------------------------
[smb.conf]
---------------------------

[global]
logon drive = H:
username map = /etc/samba/user.map
domain master = yes
time server = yes
encrypt passwords = yes
logon home = \\%L\%u\.win_profile\%m
wins support = true
netbios name = serveur
logon script = logon.bat
local master = yes
workgroup = DOMICILE
logon path = \\%L\profiles\%u\%m
os level = 65
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
security = user
domain admin group = domain
domain logons = yes

[netlogon]
path = /usr/local/samba/lib/netlogon
writable = no
browsable = no

[profiles]
path = /home/samba-ntprof
browsable = no
writable = yes
create mask = 0600
directory mask = 0700

[homes]
read only = no
browsable = no
guest ok = no
map archive = yes

Last edited by Tanc; 05-04-2005 at 04:53 AM.
 
Old 05-05-2005, 02:08 PM   #2
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
try specifying root as a domain admin

domain admin group = root
 
Old 05-05-2005, 06:38 PM   #3
Tanc
Member
 
Registered: Sep 2003
Location: France
Distribution: Debian etch
Posts: 99

Original Poster
Rep: Reputation: 15
Tks for reply,

Done that ... i now have two account within root group ( root and laurentpi )
( laurentpi is my unix and XP account )

I did try to add my computer to the domain again, thus i'm using 'root' account.
When validating, it says "Username cannot be found" even if i try with 'root' or 'DOMICILE\root'

just in case, password for root account is the same for samba and unix.



 
Old 05-05-2005, 09:18 PM   #4
zeos
Member
 
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
Did you create machine accounts for the XP box? (ie machinename$)?
 
Old 05-06-2005, 12:33 AM   #5
Tanc
Member
 
Registered: Sep 2003
Location: France
Distribution: Debian etch
Posts: 99

Original Poster
Rep: Reputation: 15
you got it .... i forgot to create an account for my pc !
It is now working like a charm.

Tks for your replies

Kind regards,

Pierre
 
  


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 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba and NT Domain coobav Slackware 8 06-18-2004 01:12 PM
Samba on NT domain lachesis Linux - Networking 2 05-24-2004 04:18 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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