LinuxQuestions.org
Review your favorite Linux distribution.
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 08-26-2010, 04:37 AM   #1
hemanthkm
LQ Newbie
 
Registered: Aug 2009
Location: Hyderabad,India
Posts: 6

Rep: Reputation: 0
Question Problem in SAMBA PDC


hi all,
I am just started to setting up a samba PDC at our office.MY problem is my xp client is logging in to server but not loading the profile.its booting with tmp profile and what ever the changes i do in that profile.its not updating that in the server.

and my client.log file is showing following error.
'/home/user4' does not exist or permission denied when connecting to [user4] Error was Permission denied

i gave full right to /home/user4.But still its giving this error.

user4 is given same password for linux and samba.

how can i add a profile of user to smb pdc?

i am doing it in RHEL 5.0

Samba version is 3

any help?

thanks & regards
 
Old 08-26-2010, 04:43 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Did you share home directory (profile)in samba?

Last edited by sem007; 08-26-2010 at 04:50 AM. Reason: add info
 
Old 08-27-2010, 01:33 AM   #3
hemanthkm
LQ Newbie
 
Registered: Aug 2009
Location: Hyderabad,India
Posts: 6

Original Poster
Rep: Reputation: 0
Question

this is how my profile part is configured.

[Profiles]
path = /usr/local/samba/profiles
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
browseable = no
guest ok = no
printable = no
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/
valid users = root user3 user4

and netlogon is setup as looks below

[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writable = yes
share modes = no
valid users = root user3 user4


thanks
 
Old 08-27-2010, 02:34 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
can you post output of testparm commnad

Code:
# testparm
It might help you.
http://daniel.fiser.cz/?samba
http://samba.netfirms.com/PDC.htm
 
Old 08-27-2010, 02:36 AM   #5
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 36
Samba configuration .

http://learnlinuxwithrohan.blogspot....ch/label/samba
 
Old 08-27-2010, 03:12 AM   #6
babunix
Member
 
Registered: Jul 2010
Location: India
Distribution: RHEL, Ubuntu
Posts: 35

Rep: Reputation: Disabled
Hi

Quote:
Originally Posted by pinga123 View Post
i am not able to find samba PDC configuration here. As OP (and i am also) wnat PDC configuration resolution.
 
Old 08-27-2010, 06:44 AM   #7
hemanthkm
LQ Newbie
 
Registered: Aug 2009
Location: Hyderabad,India
Posts: 6

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by sem007 View Post
can you post output of testparm commnad

Code:
# testparm
It might help you.
http://daniel.fiser.cz/?samba
http://samba.netfirms.com/PDC.htm
here is the output of testparm

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[printers]"
Processing section "[test]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

[global]
workgroup = LAB
server string = LABPDC
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n \n *Please*Retype*New*Password %n \n *Password*Successfully*Updated*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add user script = /usr/sbin/useradd %u
delete user script = /usr/sbin/userdel %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
delete user from group script = /usr/sbin/deluser %u %g
set primary group script = /usr/local/sbin/smbldap-useradd -w '%u'
add machine script = /usr/sbin/useradd -d /var/lib/nobody -g /bin/false -M %u
logon script = %m.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
hosts allow = 192.168.1. , 127.
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
valid users = root, user3, user4
read only = No
guest ok = Yes
share modes = No

[Profiles]
path = /usr/local/samba/Profiles
valid users = root, user3, user4
read only = No
create mask = 0600
directory mask = 0700
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/
store dos attributes = Yes
browseable = No

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[test]
path = /test
valid users = root, test, user3, user4
read only = No
 
Old 08-27-2010, 07:17 AM   #8
hemanthkm
LQ Newbie
 
Registered: Aug 2009
Location: Hyderabad,India
Posts: 6

Original Poster
Rep: Reputation: 0
one more thing is do i need to manually add user name to the file /etc/samba/smbusers ?
because its listing only the following

root = administrator admin
nobody = guest pcguest smbguest
 
  


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
Samba PDC problem. vedang Linux - Server 1 11-15-2007 09:26 AM
samba pdc trust with windows 2003 server pdc samba_pk Linux - Networking 1 06-08-2007 01:22 AM
samba as PDC Problem mustafasattar Linux - Networking 3 12-08-2006 07:49 AM
samba pdc problem ssilayaraja Linux - Networking 3 12-08-2006 03:36 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM


All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration