LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2005, 01:52 AM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
Joining A Domian Controlled By Samba


Hi there

I've a problem with trying to join a domain controlled by samba-3.x
which is when I'm changing the Xp-pro box form WorkGroup to
a domain it asks me username/password

which is the one i added with

smbpasswd -a root and so on

+ in /etc/samba/smbusers the user root is mapped to
administrator and admin

(net groupmap list ) verifying that

domain admins ======> root

but administrators =====> 1

actually I tried all samba users accounts + root and administrator
but nothing works .

if I'm trying root <then it says user not found>
administrator <access is denied>
diff user <username/password bla bla bla>

{I still can access the share using this root and any other account locally and through the same Xp}


even I tried administrator account safe mode but it dosen't work

any suggestions

Thank you

Last edited by ziox; 10-26-2005 at 04:28 PM.
 
Old 10-27-2005, 12:31 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
have you

chmod -R a+rwx to your netlogon & profile share?
 
Old 10-27-2005, 03:00 PM   #3
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Original Poster
Rep: Reputation: 15
Hi
actully I was just implementing some examples from this link

http://www.samba.org/samba/docs/man/...html#id2536722

and in this example they didn't mention to give netlogon any permissions

thank you
 
Old 10-27-2005, 07:58 PM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
hi there,

i wasn't really sure that was the answer,i just thought i'd tell you to give it a go. if that example isn't helping you out much you might want to try one i've setup on my local lug site.

http://tlug.dnho.net/?q=node/146

that is using OpenLDAP and LAM with samba as a primary domain controller

there is also a Server setup script i've been working on if you want to give it a good and tell me how things go you could try it out. it's very much in the beta development stages.

http://www.geocities.com/evilperson85/serversetup.txt
 
Old 10-27-2005, 10:44 PM   #5
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Original Poster
Rep: Reputation: 15
Hi there

in the example I sent you they didn't mention about even making a directory for netlogon
but I did make one and gave it the a+rwx didn't work either

and I still can access the share every where local in the linux box *Fedora-C3*
and through xp and win2000

but still joining the domain wont work. the same error on the both machine `xp & win2000`


always <user not found> <access is denied> or <user not found or bad password>


<by the way --if you're using webmin you will find SWAT included>
 
Old 10-28-2005, 09:27 PM   #6
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
if you follow the howto i gave you,or use my script to set it up,it should work fine. but if it still dosn't post your smb.conf file here and i'll look at it and see if i can see a problem with it.
 
Old 10-30-2005, 12:46 AM   #7
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Original Poster
Rep: Reputation: 15
Hi


here is how is my smb.conf look like

---------------------------------------------------------------------

# Global parameters

[global]
workgroup = KIMRY
passwd chat = *New*Password* %n\n*Re-enter*new*password* %n\n *Password*changed*
username map = /etc/samba/smbusers
syslog = 0
name resolve order = wins bcast hosts
printcap name = CUPS
show add printer wizard = No
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 /var/lib/nobody '%u'
logon script = scripts\login.bat
logon path =
logon drive = X:
domain logons = Yes
preferred master = Yes
wins support = Yes
printing = CUPS

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

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

[netlogon]
comment = Network Logon Service
path = /data/%U
valid users = %S
read only = No

[acc-dept]
comment = Accounting Files
path = /data/acc--dept
valid users = %G
read only = No

[it-serv]
comment = Financial Service Files
path = /data/it-serv
valid users = %G
read only = No

---------------------------------------------------------------------

exactly as the example in this book(just different dir-names)

Last edited by ziox; 11-03-2005 at 09:23 PM.
 
Old 11-19-2005, 04:26 PM   #8
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Original Poster
Rep: Reputation: 15
Hi
No one respond after this smb.conf at all ???

I've tried to join to this domain locally on the linux box but it also failed

===============================================

[#] net join kimry
root's password

[date time] utils/net_ads.c:ads_startup(186)
ads_connect: No such file or directory
Create of workstation account failed
Unable to join domain kimry

===============================================
 
  


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
joining a samba domain ikw38 Linux - Networking 20 09-22-2009 11:14 PM
joining my samba domain tude_1802 Linux - Newbie 1 08-22-2005 07:35 AM
Joining XP to a Samba PDC DirtySanchez Linux - Networking 1 08-03-2005 12:25 AM
samba for domian masand Linux - Networking 1 09-23-2003 01:03 PM
samba and xp re-joining the domain manwe Linux - Networking 1 08-04-2003 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:57 PM.

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