LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-21-2005, 10:33 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
sync ldap and samba password with ldappasswd


hi there,

i really want to be able to set the ldap passwords for my samba and OpenLDAP PDC via the command line.

at the moment i've found the ldappasswd command.

ldappasswd uid=root,ou=people,dc=fedora,dc=directory,dc=server -S -x -D cn=Manager,dc=fedora,dc=directory,dc=server -W

but that seams to only set the posix account password and not the samba password, can anyone tell me how to do this?
 
Old 11-21-2005, 10:50 PM   #2
matarodi
Member
 
Registered: Jan 2005
Location: Mashhad
Distribution: Debian Sarge
Posts: 65

Rep: Reputation: 15
I set it correctly.if you know more please see the following url:

www.nomis52.net
 
Old 11-21-2005, 10:55 PM   #3
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
hi there, i looked at your website and i didn't see what i'm looking for.

i'm not looking for the smbpasswd -w password option if thats what you mean.

i'm making a ldap-add-user-script and i want to be able to set the sambaLMPassword, sambaNTPassword attributes.

but running the command listed above i can only change the, userPassword attribute.
 
  


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
deleting LDAP user...password? blink_00 Suse/Novell 3 02-21-2005 11:24 AM
samna password sync problem ddaas Linux - Software 2 01-07-2005 01:55 AM
Using an LDAP server to sync ABs? cgranade Linux - Software 0 08-09-2004 10:42 PM
NIS & Samba Password Sync? airrr Linux - Networking 0 08-14-2003 08:51 AM
samba Password sync saavik Linux - Networking 0 08-11-2003 06:30 AM


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