Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 26th August 2008, 15:34
mperreault mperreault is offline
Junior Member
Join Date: Dec 2007
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Question Samba LDAP, Webmin User password

Hello I've recently setup a Ubuntu Server 7.10: OpenLDAP + SAMBA Domain Controller..

I followed this

It's working well the Windows XP Machines will authenticate to the domain...
I plan on deploying this in a small school. I would like to create many of the younger children's accounts without a password.

I added null passwords = yes to the smb.conf file.

when I try to set an empty password with smbldap-passwd I get the message.
I cannot generate the proper hash!

So I've tried the following, where -H modifies the sambaAcctFlags, and the N flag means a password is not required.
smbldap-usermod -H[N] username

This seems to work however when I log in I get a message that the password has expired and that it must be changed.

so I tried the following where X means that the password doesn't expire
smbldap-usermod -H[NX] username

However this doesn't work..

Now I noticed that if I use webmin to Edit a Samba User I'm able to click the New Password Bullet, leave the field blank. And then check the No Password Required box. When I push save I can login as the user without a password and without the Password Expiry notice.

I would like to be able to do this from the command line because I would like to automate all the user creation. I assume it must be possible because I would assume webmin is just executing shell command in the background.

Can anyone help me with this?
Attached Images
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
Samba Ldap Problem ZenMatrix Server Operation 1 10th August 2008 08:02
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 23:40
Webmin docs missing namit Server Operation 11 5th January 2006 10:51

All times are GMT +2. The time now is 18:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.