Pablo- 

>From the linux side, using samba-tool: 
samba-tool user enable <username> : this enables a specific user 
samba-tool user setpassword <username> : allows you to set a new password for a 
user 

>From the MS side, using AD tools: 
(in Computers and Users) Right click on user and click 'enable' to allow this 
account to login -- if it has a little down arrow on the icon, that means it is 
disabled, otherwise enabled. 
(in Computers and Users) Right click on user and click 'reset password' to set 
the password. 

I've noticed when creating users by uploading in LDAP data / using windows 
tools, they are disabled by default. From the linux side, they seem to be 
enabled by default. I was having trouble with the userPassword attribute 
working when transferred from a different LDAP server, so I would set one 
manually. 

Let me if you have any luck, 
-Mike Ray 

----- Original Message -----

From: "Pablo T. Virgo" <[email protected]> 
To: [email protected] 
Sent: Monday, January 28, 2013 5:21:52 PM 
Subject: [Samba] Fw: Re: Creating users via Perl Net::LDAP 

Thanks for the input Mike, 

I set the attributes, as best I could, to mirror those of another account 
created using the samba-tool per the howto. Reviewing the attributes of both 
accounts, I see nothing about them being "enabled" or "disabled." 

For the password I used "userPassword," specifically with a utf8 encoding, per 
a previous message: 
http://lists.samba.org/archive/samba/2009-April/147576.html&sa=U&ei=W_0GUejFMKKA0AGF6YDoBA&ved=0CBQQFjAA&usg=AFQjCNE1hAYmT1nKj6YcmtUJo7XqiqwagQ
 

What did you do to set a password and enable the account? 

-- 
Pablo Virgo 
System Administrator 

Solutions for Progress, Inc. 
728 South Broad Street 
Philadelphia, PA 19146 

Phone: 215-701-8075 
Fax: 215-972-8109 


-- 
Pablo Virgo 
System Administrator 

Solutions for Progress, Inc. 
728 South Broad Street 
Philadelphia, PA 19146 

Phone: 215-701-8075 
Fax: 215-972-8109 

-- 
To unsubscribe from this list go to the following URL and read the 
instructions: https://lists.samba.org/mailman/options/samba 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to