LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 03-04-2003, 01:10 PM   #1
JohanLingen
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.

Johan
 
Old 10-10-2003, 08:34 PM   #2
bleedingpegasus
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?
 
  


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


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