Displaying 4 results from an estimated 4 matches for "flag_mod_add".
2015 Apr 10
2
samba member logon.. question.
...Yes, I know, but it shouldn't!
Ok, what other schema contains the following attributes:
uidNumber
unixHomeDirectory
loginShell
gidNumber
?
> I believe it is this line in samdb.py that adds it:
> ldbmessage2["objectClass"] = ldb.MessageElement('posixAccount',
> ldb.FLAG_MOD_ADD, 'objectClass')
> If I knew how to format a patch, I would propose its removal, because
> A) I think it shouldn't be there
> B) I know it works without it
> Also, the classicupgrade shouldn't add the posix objectclasses either.
> Why shouldn't you add the posix...
2015 Apr 10
2
samba member logon.. question.
El 09/04/15 a les 18:31, Rowland Penny ha escrit:
>
> If your tools rely on the posix objectclasses being there, then they are
> broken. The posix objectclasses are auxiliaries of other AD
> objectclasses and as such, no windows tools will add them.
but, e.g., samba-tool with --uid will:
luca at ubutest:~$ sudo samba-tool user add tararo tarari
--use-username-as-cn
2015 Apr 10
0
samba member logon.. question.
...what other schema contains the following attributes:
> uidNumber
> unixHomeDirectory
> loginShell
> gidNumber
> ?
>
>> I believe it is this line in samdb.py that adds it:
>> ldbmessage2["objectClass"] = ldb.MessageElement('posixAccount',
>> ldb.FLAG_MOD_ADD, 'objectClass')
>> If I knew how to format a patch, I would propose its removal, because
>> A) I think it shouldn't be there
>> B) I know it works without it
>> Also, the classicupgrade shouldn't add the posix objectclasses either.
>> Why shouldn't...
2015 Apr 10
0
samba member logon.. question.
...f other AD
>> objectclasses and as such, no windows tools will add them.
> but, e.g., samba-tool with --uid will:
Yes, I know, but it shouldn't!
I believe it is this line in samdb.py that adds it:
ldbmessage2["objectClass"] = ldb.MessageElement('posixAccount',
ldb.FLAG_MOD_ADD, 'objectClass')
If I knew how to format a patch, I would propose its removal, because
A) I think it shouldn't be there
B) I know it works without it
Also, the classicupgrade shouldn't add the posix objectclasses either.
Why shouldn't you add the posix objectclasses ? Well con...