LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 02-16-2010, 05:33 AM   #1
gyaur
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Samba 3.2.5. PDC authentication and share problems and questions on Debian


Welcome forum readers!

I'm new to this forum, and i'm new to linux world, however i used Suse for a desktop system, but that doesn't count I really want to understand the how, and why questions, but i come this far, because after i read manual pages, tutorials, forums, i still don't know what do i do wrong.
I have a Debian 5.0 system, fresh install, updated with aptitude. Now i'm using vmware to test my system, but the 'real' system, is a small network with around 30 workstations connected in a cisco switch + router. So i test the configuration at home, and when it's working and done, i will copy it to the real network, because i don't want to mess it up
So i installed the newest samba to act as a PDC. You can read my configuration in the following lines:

#======================= Global Settings =======================

[global]
netbios name = SERVER
workgroup = debian
server string = %h Server
dns proxy = no
os level = 65

#### Debugging/Accounting ####

log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d

####### Authentication #######

security = user
passdb backend = smbpasswd
unix password sync = yes

passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

########## Domains ###########

domain logons = yes
preferred master = yes
local master = yes

logon path = \\%N\%U\profile
logon drive = H:
logon home = \\%N\%U
logon script = logon.cmd

add user script = /usr/sbin/useradd %u
add group script = /usr/sbin/groupadd %g
add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
delete user script = /usr/sbin/userdel %u
delete user from group script = /usr/sbin/deluser %u %g
delete group script = /usr/sbin/groupdel %g


#======================= Share Definitions =======================

[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0775
directory mask = 0775
valid users = %S

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
read only = yes
share modes = no

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on

[profiles]
comment = Users profiles
path = /home/samba/profiles
guest ok = no
browseable = no
create mask = 0600
directory mask = 0700

i added root with 'smbpasswd -a root' command. When I try to connect to the domain with a Windows XP, it says: ' The username cannot be found '
What do you think, what is the problem?

I greatly appreciate any suggestion, and idea
Thanks in advance
 
Old 02-16-2010, 07:05 AM   #2
gyaur
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
correction

somehow it's working

but now the problem with the share, i read a lot about shares, but i still don't understand, when i try to login with root, windows says can't access or can't find the profile, i'm so confused what to do next
 
Old 04-28-2010, 01:31 AM   #3
southhoenir
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0
Recently I read good article about configuring samba as PDC with Win7 specific. may be it helps you
http://vitana-group.com/article/linu...c-suse-11.0-en
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
TightVNC Server with PAM authentication against a Samba PDC - Possible? Audio Linux - Server 0 12-18-2008 11:39 AM
SAMBA PDC + LDAP Authentication problem gokulnath Linux - Networking 2 02-17-2007 10:06 AM
Win XP authentication to Samba PDC tiedyeguy64 Linux - Networking 3 09-08-2006 03:17 PM
windows authentication using ldap/samba pdc procfs Linux - General 2 07-21-2006 09:25 AM
Samba PDC , LDAP user authentication , what about Machines ? Jingle Linux - Enterprise 0 07-22-2005 09:00 AM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration