Displaying 3 results from an estimated 3 matches for "ubutest".
Did you mean:
subtest
2015 Apr 10
2
samba member logon.. question.
...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 --given-name=Tararo --surname=QueTeVi
--mail-address=tararo at wetron.es --uid=tararo --gid-number=513
User 'tararo' created successfully
luca at ubutest:~$ ldapsearch -H ldap://localhost -x -D
'CN=luca,CN=Users,DC=samba,DC=...
2015 Apr 10
0
samba member logon.. question.
...asses and can see all the users they added, but they will not
see any users that the ADUC based admin added.
Or to put it another way, Samba 4 working in AD mode is trying to be
compatible with windows AD, so Samba shouldn't add anything that windows
doesn't.
Rowland
>
> luca at ubutest:~$ sudo samba-tool user add tararo tarari
> --use-username-as-cn --given-name=Tararo --surname=QueTeVi
> --mail-address=tararo at wetron.es --uid=tararo --gid-number=513
> User 'tararo' created successfully
> luca at ubutest:~$ ldapsearch -H ldap://localhost -x -D
> 'CN=l...
2015 Apr 09
3
samba member logon.. question.
Greetings, Rowland Penny!
>>> You are using python, which to me is a very big snake, so I bash it :-D
>>> I just use these two functions in a bash script:
>>> # Finds the next useable user uidNumber or group gidNumber
>>> # Input : $1
>>> # $1 : msSFU30MaxUidNumber or msSFU30MaxGidNumber
>>> # Output : the first free uidNumber or gidNumber