Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-21-2005, 11:33 PM   #1
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, 11:50 PM   #2
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:
Old 11-21-2005, 11:55 PM   #3
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.


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

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration