LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-11-2004, 01:18 PM   #1
Mr.47
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Problems with Samba as a PDC; non-root logins denied


Before I describe my problem, let me describe my setup --

-- FreeBSD 5.2.1 (yes, I know this is a Linux forum. Forgive me
-- Samba 3.0.4
-- NIS
-- Samba is acting as a primary domain controller with Windows XP Professional clients

In an attempt at unified logins with roaming profiles, I'm trying to setup samba as a primary domain controller for my Windows clients to login to. I've read up the best I could on this, drawing mainly from "Using Samba" "Sam's Teach Yourself Samba", the FreeBSD handbook, the Samba documentation and just Googling around. NIS is acting as my domain server, and I've configured it per the instructions laid-out in the FreeBSD handbook (chrisranjana.com/freebsd-handbook-documentation/network-nis.html). Samba is configured with the appropriate paths and permissions for roaming profiles, logins and home directories. Samba points to my NIS server (on the same machine) for the domain in smb.conf. Samba is acting as a PDC.

After I configured NIS and Samba, I added shell-less home-less group-less users (per the instructions in "Using Samba") with the adduser command for each client workstation that will logon. I appended each user with an "$", to denote a machine was being added. I then updated my NIS setup and remapped the logins with ypinit -u, followed by an /etc/netstart. So far so good. I then added my users with smbpasswd. I added root with smbpasswd -a root, then added machines (by NetBIOS names consistent with the recently added user entries) with smbpasswd -a -m machine$. No errors. I reboot the machine. No problems yet. NIS, yppasswd, etc... are all running without hiccups. I go over to my Windows XP Professional workstation, and join the domain. It asks for an initial admin login to join the domain, so I login with root. I'm greeted with a "Welcome to domain x" , followed by instructions to reboot. Upon reboot, I login to the domain as root, and am greeted with my roaming profile and my /home/My Documents folder. After adding a small test text file and changing my background wallpaper, I logout, reboot and log in again as root. Everything is the same. The profile roamed and the files stayed. So I logout, and try to login with another account that I added (should be a machine trust account). Almost instantaneously, it informs me that my login can't be found or is incorrect. I've tried logging in from two other XP Professional machines, and was only able to log in as root.

Let me know which configuration files you need to see and I will post them.

I've googled around and searched this and other forums, but have not found a solution. If someone could give me a hint as to what I'm doing wrong, I'd be most appreciative. Thank you in advance.
 
  


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 PDC - XP client, Access is denied tstephens Linux - Networking 6 10-04-2007 12:59 AM
Windows 64-bit kills Samba PDC logins ericthebikeman Linux - Networking 6 06-25-2005 12:48 PM
Samba PDC can't authenticate root account. gani Linux - Newbie 7 08-27-2004 08:20 PM
Non-Root login on Samba 3 PDC jmoutdoors Linux - Networking 0 10-30-2003 09:40 PM
access is denied : samba PDC, win2k client dkodegwc Linux - Networking 6 12-14-2002 11:02 AM

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

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