search for: ldbmessage2

Displaying 6 results from an estimated 6 matches for "ldbmessage2".

Did you mean: ldbmessage
2015 Apr 10
2
samba member logon.. question.
...such, no windows tools will add them. >> but, e.g., samba-tool with --uid will: > 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 classicupgrad...
2014 Aug 05
1
samba-tool syntax error?
...File "/home/vms/devbin/lib/python2.7/site-packages/samba/netcmd/user.py", line 176, in run uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell) File "/home/vms/devbin/lib/python2.7/site-packages/samba/samdb.py", line 407, in newuser ldbmessage2.dn = ldb.Dn(self, user_dn) Since it didn't detect a syntax error, I assume there is something worse.. But I don't really know why it would fail to parse the dn string -- Any ideas? -- David Bear mobile: (602) 903-6476
2020 Oct 11
2
userou= question
...jean25': - unable to > parse dn string > File "/usr/lib/python3/dist-packages/samba/netcmd/user.py", line 395, in > run > smartcard_required=smartcard_required) > File "/usr/lib/python3/dist-packages/samba/samdb.py", line 528, in > newuser > ldbmessage2.dn = ldb.Dn(self, user_dn) > I have tried "userou='Mmbr-folder-redirection,OU='CompanyName'" and it fails with: > root at dc1:~# samba-tool user create jean25 --given-name=Jean --initials=25 > --surname=Samba --uid-number=18700 --gid-number=10000 --profile-path=\\\\...
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.
...gt; but, e.g., samba-tool with --uid will: >> 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,...
2015 Apr 10
0
samba member logon.. question.
...s 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: 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 p...