yes it needs to follow the (uid * 2) + 1000 format. yes I know mine is
wrong, its a test lab system, I don't care.
Kyle Schmitt wrote:
Adam, thanks a ton for that. To further my curiosity, do you know if
that last set of numbers (the 2006 calculated to 1000+(503*2) ) just
needs to be
Adam, thanks a ton for that. To further my curiosity, do you know if
that last set of numbers (the 2006 calculated to 1000+(503*2) ) just
needs to be unique, or if it needs to follow that pattern?
Thanks,
Kyle
On Tue, Feb 26, 2008 at 12:45 PM, Adam Williams
[EMAIL PROTECTED] wrote:
Sadique,
Thanks. That got me where I need I think. Now, to pester
further, how does one determine a users sid if one were to manually
generate an ldif to add samba users to ldap?
In the meanwhile I'm digging through the docs, but to little avail.
Thanks,
Kyle
--
To
Kyle Schmitt wrote:
Sadique,
Thanks. That got me where I need I think. Now, to pester
further, how does one determine a users sid if one were to manually
generate an ldif to add samba users to ldap?
I use the below script to add a samba user to ldap database.
#!/bin/bash
figure out your sid (net getdomainsid)
then take the posix UID of the user, multiply it by 2, then add 1000.
for example, the RID in my test lab for user with UID 503 is:
S-1-5-21-2139886109-2393431639-217723040-2006
Kyle Schmitt wrote:
Sadique,
Thanks. That got me where I need
It doesn't need sambaSamAccount as part of it's ldap entry?
I thought it was needed. Or is it only needed if there is no
corresponding unix account?
--Kyle
On Tue, Feb 26, 2008 at 11:50 AM, Sadique Puthen [EMAIL PROTECTED] wrote:
Kyle Schmitt wrote:
Sadique,
Thanks. That got
Kyle Schmitt wrote:
It doesn't need sambaSamAccount as part of it's ldap entry?
Yes, it need that objectClass. As I said, when you do smbpasswd -a
username, all those entries would get automatically added to ldap
database.
--Sadique
I thought it was needed. Or is it only needed if
Kyle Schmitt wrote:
How does one go about adding a machine account, or even a normal samba
account, on a Samba PDC with LDAP back end?
I wanted to avoid using something like smbldap-useradd, because I want
to actually understand what's going on. I'm assuming it's just some
sort of small ldif
How does one go about adding a machine account, or even a normal samba
account, on a Samba PDC with LDAP back end?
I wanted to avoid using something like smbldap-useradd, because I want
to actually understand what's going on. I'm assuming it's just some
sort of small ldif to add, like I would