Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-04-2003, 12:10 PM   #1
LQ Newbie
Registered: Jan 2003
Posts: 9

Rep: Reputation: 0
sychronize samba and unix password at user creation

Is there any way to synchronize a unix password and a samba password when I create a user?
I know that smbpasswd synchronizes automatically if settings are right in /etc/samba/srm.conf, but that's not what I mean. That already works.
The problem is that I need to introduce new members at a high rate and it would be greatly appreciated if they do not have to fill in their password _four_ times, but only two times.

The problem is that smbpasswd will not synchronize the unix password if it doesn't already exists. So in my humble opinion, it is not possible to fill in only a password with help of smbpasswd. Of course filling in a password with the commando passwd will not help the user to login on Windows.
setting a temporary unix password and then letting smbpasswd overwrite it also seems impossible, as passwd explicitly wants input from the screen and does not accept any arguments to directly set a users password.

Who will help me out? Thanks in advance.

Old 10-10-2003, 07:34 PM   #2
LQ Newbie
Registered: Sep 2003
Location: where rainbow begins
Distribution: RH Psyche
Posts: 7

Rep: Reputation: 0
very interesting... have u got the answer yet, or any body know? Can use OpenLDAP to do this?


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
new user creation - password wonky ?? Strixy Fedora 2 10-25-2004 10:00 AM
Samba user creation with text file Skorpio Linux - Networking 1 10-02-2003 10:05 AM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
SAMBA UNIX password synchronization sewer_monkey Linux - Networking 2 10-30-2002 11:38 AM
Samba user creation bripage Linux - General 2 07-26-2002 02:03 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:56 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
Open Source Consulting | Domain Registration