[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: 
> # 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


	Harry Jede

More information about the samba mailing list