LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-24-2010, 03:46 AM   #1
huynguyen
LQ Newbie
 
Registered: Apr 2006
Location: HCM, Vietnam
Distribution: Ubuntu Desktop 10.04
Posts: 2

Rep: Reputation: 0
Samba Openldap PDC can not change password from Windows XP client


Hi All,

I finished setup Samba PDC with Openldap backend. I can joint Winxp client to domain but can not change pass by press Ctrl + Alt + Delete and choose Change password button
This is my conf.
I used
samba3x-3.3.8
openldap 2.3.43


slapd.access.conf

Code:
access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword
        by dn="cn=Manager,dc=microhdesk,dc=net" write
        by anonymous auth
        by self write
        by * none

access to dn.base="" by * read

access to *
	by dn="cn=Manager,dc=microhdesk,dc=net" write
        by * read


smb.conf
Code:
[global]
workgroup = MICROHDESK.NET
netbios name = PDC-SVR
passdb backend = ldapsam:ldap://192.168.10.1
printcap name = cups
printing = cups
security = user
log level = 3

ldap ssl = off
ldap admin dn = cn=Manager,dc=microhdesk,dc=net
ldap suffix = dc=microhdesk,dc=net
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Hosts
ldap passwd sync = Yes
ldap delete dn = Yes
add user script = /usr/sbin/smbldap-useradd -m "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
delete group script = /usr/sbin/smbldap-groupdel "%g"

logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
#logon script = %U.bat
logon script = logon.bat

domain master = Yes
domain logons = Yes
os level = 35
preferred master = Yes

idmap uid = 15000-20000
idmap gid = 15000-20000

passwd program = /usr/sbin/smbldap-passwd '%u'
unix password sync = Yes
passwd chat = "*New UNIX password*" %n\n "*Retype new UNIX password*"
%n\n "*updated successfully*"
enable privileges = yes
username map = /etc/samba/smbusers

wins support = Yes
..........

Thanks any suggest, I spent a week to test it. Don't work!!!
Regards
NyU
 
Old 07-24-2010, 09:59 PM   #2
Blue_Ice
Member
 
Registered: Jul 2006
Location: Belgium
Distribution: Debian, Fedora, CentOS, Windows
Posts: 352

Rep: Reputation: Disabled
What do the samba and ldap logs say?

Have you configured the smbldap-tools?
 
Old 01-04-2012, 01:44 AM   #3
jitenderana
Member
 
Registered: Jun 2011
Location: INDIA
Posts: 70

Rep: Reputation: Disabled
Hi all,
dear i want to setup OpenLDAP, with window client login. i want to know its complete with samba and working alone. if yes what should i install and configure first. LDAP & samba..

Wait for your kind response...
 
  


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
howto change samba password remotely from a windows client? yafrank Linux - Networking 8 08-04-2013 01:16 PM
Joining a Windows 7 client to Samba PDC v 3.4.3 speedsrfr Linux - Server 7 08-23-2012 01:09 AM
Samba PDC password issues on xp client SpaceNewbie Linux - Networking 1 01-24-2009 04:04 AM
Cannot change password in Windows XP using Samba as a PDC jtyler1383 Linux - Server 3 09-11-2007 08:28 PM
howto change samba password remotely from a windows client? yafrank Linux - Software 2 01-21-2005 01:14 PM


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