[Samba] Fwd: Migrating server
Harry Jede
walk2sun at arcor.de
Tue Mar 6 11:32:38 UTC 2018
Am Dienstag, 6. März 2018, 16:42:23 CET schrieb Rob Thoman:
> I don't get the Administrator bit
Sure but his is your fault.
> ldapsearch -Y EXTERNAL -H ldapi:/// -b dc=mydomain -s sub
> "sambasid=$SID-500" dn
The command is OK.
> SASL/EXTERNAL authentication started
> SASL username:
gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
> SASL SSF: 0
> # extended LDIF
> #
> # LDAPv3
> # base <dc=mydomain> with scope subtree
> # filter: sambasid=-500
And here you may see the result of your fault. The above command should
produce this filter:
# filter: sambasid=S-1-5-21-2631908330-1812305667-41686038-500
And this happen because you dont have set the enviroment variable "SID".
Are you a bash novize?
Go back and reread the command I have sent. Normaly I will run commands
and then cut and paste command and any output. So it should be easy to
do the same thing.
Of course sometimes the mailers we use reformat the text we write.
> # requesting: dn
> #
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 1
--
Gruss
Harry Jede
More information about the samba
mailing list