Results 1 to 1 of 1
Thread: Adding users to samba/ldap setup
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2007
Adding users to samba/ldap setup
I've inherited a system which is using samba and ldap to authenticate users (both on the local machine, and Windows machines on the LAN)
Any advice on the best way to add users? The best I could think of was do get an existing user's ldap entry (with ldapsearch), modify it (ie change the username, uid etc) by hand, then insert it with ldapmodify.
Trouble is, there are various fields that I don't know how to create manually, eg:
sambaSID: S-1-5-21-3472792842-2593668919-3072929089-3078 sambaPrimaryGroupSID: S-1-5-21-3472792842-2593668919-3072929089-513 sambaPasswordHistory: A94CEEB6BA9DDEEF2FE5DED05CF197002C856BDE83B30CB9D9BF7A25 2FD2D1C21B36D8E835626F9D2445F4588A0C21EAE16217C671E9AD85795DC8C5666BD1B500000 00000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000