Hey all,

I need to create a perl script that will add Samba attributes to existing
LDAP accounts; basically, I just need to replicate what smbpasswd does in
Perl.

I've found a perl module that will create the password hashes for me, so
that part's taken care of. The one thing I'm not sure how to do is
generate the rid and PrimaryGroupID entries. Does anyone know how these
are generated? I've thought of just looking at the existing entries and
adding one to the highest each time; would that be acceptable?

Thanks for any help you guys can provide!

-- 
Nate Carlson <[EMAIL PROTECTED]>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500


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

Reply via email to