LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2011, 11:05 AM   #1
naerey
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
SAMBA and LDAP passwords out of sync


Hi, I'm running OpenSuse 11.4 64bit, using it as LDAP/SAMBA server at work with winboxes connecting to the domain.

Here's my smb.conf:
Code:
server:~ # more /etc/samba/smb.conf
[global]
	workgroup = DRAG-ON
	netbios name = server
	domain logons = Yes
	domain master = Yes
	local master = Yes
	os level = 65
	security = user
	preferred master = Yes
	passdb backend = ldapsam:ldap://127.0.0.1
	wins support = Yes
	idmap backend = ldap:ldap://127.0.0.1
	ldap admin dn = cn=Administrator,dc=dragon, dc=com
	ldap group suffix = ou=Groups
	ldap idmap suffix = ou=Idmap
	ldap machine suffix = ou=Machines
	ldap passwd sync = Yes
	ldap suffix = dc=dragon, dc=com
	ldap user suffix = ou=Users
	#add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp %m$
	add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp %m$
	name resolve order = wins bcast host lmhosts
	winbind nested groups = Yes
	usershare allow guests = No
	map to guest = Bad User
	server string = server
	idmap gid = 1000-2000
	idmap uid = 10000-64999
	ldap ssl = Off
	logon home = 
	logon path = 
	guest account = nobody
		
[netlogon]
	comment = Server
	path = /var/lib/samba/netlogon
	write list = root

[profiles]
	inherit acls = Yes
	path = /var/lib/samba/profiles
	read only = No
	browseable = No
	create mask = 0600
	directory mask = 0700
	hide files = /desktop.ini
	store dos attributes = Yes
So it's supposed to use LDAP authentification.
Everything used to work until a few weeks ago.. now, changing password in LDAP (through YaST) doesn't allow the user to login, for the SAMBA password remains unchanged, and I've had to use smbpasswd to set it. Same goes for other fields such as BadPasswordCount, which show different values with pdbedit and YaST(LDAP).

Any ideas?
 
Old 09-18-2011, 08:04 AM   #2
naerey
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Nothing changed so far :/

Any ideas?
 
  


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
ldap password sync with samba and unix user account macpraveen Linux - Server 4 04-22-2010 09:55 AM
Samba - Linux Password Sync with LDAP rbulman Linux - Networking 1 10-26-2006 05:56 AM
Sync Samba and Linux passwords gtjmn308 Linux - Software 1 04-04-2006 10:22 PM
sync ldap and samba password with ldappasswd paul_mat Linux - Networking 2 11-21-2005 10:55 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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